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_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb b/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/VB/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/VB/program.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_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_System/system.codedom.codemethodreferenceexpression/vb/source.vb b/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/Overview/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/Overview/source.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_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/VB/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/VB/bitvector32_equals.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.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/VB/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/VB/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/VB/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/VB/nocb_baseclear.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/remarks.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/VB/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/VB/stringdictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Add Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Add/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Add Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Add/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source2.vb b/snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Clear Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo1 Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/CopyTo1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo1 Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/CopyTo1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IndexOf Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/IndexOf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/IndexOf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Insert Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Insert/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Insert Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Insert/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsFixedSize Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/IsFixedSize/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsFixedSize Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/IsFixedSize/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb b/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Item/VB/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/VB/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/VB/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/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.LastIndexOf Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/LastIndexOf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.LastIndexOf Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/LastIndexOf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.ReadOnly1 Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/ReadOnly1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.ReadOnly1 Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/ReadOnly1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Remove Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Remove/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Remove Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Remove/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Repeat Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Repeat/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Repeat Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Repeat/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Reverse/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Reverse/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse1 Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Reverse1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse1 Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Reverse1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.SetRange Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/SetRange/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.SetRange Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/SetRange/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Sort Example/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Sort/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Sort Example/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Sort/VB/source.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_2/VB/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_2/VB/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_3/VB/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_3/VB/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/VB/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/VB/arraylist_toarray.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.And Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/And/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.And Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/And/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Get Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/Get/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Get Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/Get/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Not Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/Not/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Not Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/Not/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Or Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/Or/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Or Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/Or/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source2.vb b/snippets/visualbasic/System.Collections/BitArray/Overview/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/BitArray/Overview/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Xor Example/VB/source.vb b/snippets/visualbasic/System.Collections/BitArray/Xor/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Xor Example/VB/source.vb rename to snippets/visualbasic/System.Collections/BitArray/Xor/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/VB/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/VB/collectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/VB/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/VB/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb b/snippets/visualbasic/System.Collections/Comparer/Overview/VB/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/VB/comparercultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/VB/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/VB/dictionarybase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/VB/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/VB/source2.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_Classic/classic Hashtable.Add Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/Add/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Add Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/Add/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Clear Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Contains Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/Contains/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/Contains/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/remarks.vb b/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/remarks.vb rename to snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable Example/VB/source2.vb b/snippets/visualbasic/System.Collections/Hashtable/Overview/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/Hashtable/Overview/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Remove Example/VB/source.vb b/snippets/visualbasic/System.Collections/Hashtable/Remove/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Remove Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Hashtable/Remove/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb b/snippets/visualbasic/System.Collections/ICollection/Overview/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/Overview/remarks.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_Classic/classic Queue.Clear Example/VB/source.vb b/snippets/visualbasic/System.Collections/Queue/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Queue/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/Queue/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Queue/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Enqueue Example/VB/source.vb b/snippets/visualbasic/System.Collections/Queue/Enqueue/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Enqueue Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Queue/Enqueue/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source.vb b/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source2.vb b/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue Example/VB/source.vb b/snippets/visualbasic/System.Collections/Queue/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Queue/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/VB/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/VB/readonlycollectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/VB/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/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Add Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/Add/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Add Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/Add/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Clear Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Contains Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/Contains/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Contains Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/Contains/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IndexOfKey Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/IndexOfKey/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IndexOfKey Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/IndexOfKey/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source2.vb b/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/remarks.vb b/snippets/visualbasic/System.Collections/SortedList/Overview/VB/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/remarks.vb rename to snippets/visualbasic/System.Collections/SortedList/Overview/VB/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.RemoveAt Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/RemoveAt/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.RemoveAt Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/RemoveAt/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.SetByIndex Example/VB/source.vb b/snippets/visualbasic/System.Collections/SortedList/SetByIndex/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.SetByIndex Example/VB/source.vb rename to snippets/visualbasic/System.Collections/SortedList/SetByIndex/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Clear Example/VB/source.vb b/snippets/visualbasic/System.Collections/Stack/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Stack/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.CopyTo Example/VB/source.vb b/snippets/visualbasic/System.Collections/Stack/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Stack/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source.vb b/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source2.vb b/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source2.vb rename to snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack Example/VB/source.vb b/snippets/visualbasic/System.Collections/Stack/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Stack/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Peek Example/VB/source.vb b/snippets/visualbasic/System.Collections/Stack/Peek/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Peek Example/VB/source.vb rename to snippets/visualbasic/System.Collections/Stack/Peek/VB/source.vb 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/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/northwind.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/assnattribute.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/vb/assnattribute.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.AssociationAttribute/vb/assnattribute.vbproj rename to snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/vb/assnattribute.vbproj 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/Overview/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/Overview/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/Overview/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/Overview/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/Overview/vb/vb-ColumnAttributes.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj rename to snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/Overview/vb/vb-ColumnAttributes.vbproj 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/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/inherit.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/vb/inherit.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/inherit.vbproj rename to snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/vb/inherit.vbproj 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/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/change_action.vbproj b/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/vb/change_action.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/change_action.vbproj rename to snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/vb/change_action.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq/DataContext/Overview/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/Overview/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/Overview/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/Overview/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj b/snippets/visualbasic/System.Data.Linq/DataContext/Overview/vb/DataContext.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj rename to snippets/visualbasic/System.Data.Linq/DataContext/Overview/vb/DataContext.vbproj 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/VB/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/VB/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/Overview/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/Overview/attributes.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_Classic/classic Debug.Assert Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Assert/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Assert/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Assert1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Assert1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Assert2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Assert2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Close Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Close/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Close Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Close/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Fail/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Fail/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Fail1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Fail1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.IndentLevel Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/IndentLevel/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.IndentLevel Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/IndentLevel/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Listeners Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Listeners/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Listeners Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Listeners/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteIf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteIf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteIf1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteIf1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteIf2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteIf2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteIf3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteIf3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLine/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLine/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLine1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLine1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLine2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLine2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLine3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLine3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/Overview/VB/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/Overview/VB/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/VB/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/VB/binomial.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/WriteLine/VB/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/WriteLine/VB/defaulttracelistener.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Clear Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Clear/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Clear Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Clear/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/makefile b/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/makefile rename to snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Delete1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Delete1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Delete1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Delete1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.DeleteEventSource Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/DeleteEventSource/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.DeleteEventSource Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/DeleteEventSource/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EnableRaisingEvents Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/EnableRaisingEvents/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EnableRaisingEvents Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/EnableRaisingEvents/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Entries Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Entries/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Entries Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Entries/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EntryWritten Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/EntryWritten/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EntryWritten Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/EntryWritten/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/EventLog1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/EventLog1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/EventLog2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/EventLog2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/EventLog3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/EventLog3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.GetEventLogs1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.GetEventLogs1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Log Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Log/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Log Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Log/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.MachineName Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/MachineName/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.MachineName Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/MachineName/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Source Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/Source/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Source Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/Source/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.SourceExists1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/SourceExists1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.SourceExists1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/SourceExists1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb b/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Ctors/VB/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/Ctors/VB/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_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb b/snippets/visualbasic/System.Diagnostics/InstanceData/CopyTo/VB/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/CopyTo/VB/instdatacopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb b/snippets/visualbasic/System.Diagnostics/InstanceData/KeysValues/VB/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/InstanceData/KeysValues/VB/instdatakeysvalues.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/ItemContains/VB/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/ItemContains/VB/instdatacolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/ItemContains/VB/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/ItemContains/VB/instdatacolcolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/ExistMembers/VB/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/ExistMembers/VB/perfcountercatobjcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/ExistMembers/VB/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/ExistMembers/VB/perfcountercatobjinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/ExistMembers/VB/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/ExistMembers/VB/perfcountercatstatcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/ExistMembers/VB/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/ExistMembers/VB/perfcountercatstatinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetMembers/VB/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/GetMembers/VB/perfcountercatgetcat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetMembers/VB/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/GetMembers/VB/perfcountercatgetcount.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetMembers/VB/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/GetMembers/VB/perfcountercatgetinst.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/OtherMembers/VB/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/OtherMembers/VB/perfcountercatcreate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/OtherMembers/VB/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/OtherMembers/VB/perfcountercatctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/OtherMembers/VB/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/OtherMembers/VB/perfcountercatdelete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/OtherMembers/VB/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/OtherMembers/VB/perfcountercatprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/VB/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/VB/perfcountercatcreateexist.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.EnableExited/VB/processexitedevent.vb b/snippets/visualbasic/System.Diagnostics/Process/EnableExited/VB/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/EnableExited/VB/processexitedevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Id/VB/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/VB/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Start/VB/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/VB/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/Ctor/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/twtlconwritername.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Assert/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Assert/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Assert1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Assert1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Assert2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Assert2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Fail/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Fail/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Fail1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Fail1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Flush Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Flush/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Flush Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Flush/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.IndentLevel Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/IndentLevel/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.IndentLevel Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/IndentLevel/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Listeners Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Listeners/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Listeners Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Listeners/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Write/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Write/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Write1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Write1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Write2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Write2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/Write3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/Write3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteIf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteIf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteIf1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteIf1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteIf2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteIf2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteIf3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteIf3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLine1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLine1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLine2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLine2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLine3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLine3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf1 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf1 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf2 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf2 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf3 Example/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf3 Example/VB/source.vb rename to snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf3/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb b/snippets/visualbasic/System.Diagnostics/TraceFilter/Overview/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/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb b/snippets/visualbasic/System.Diagnostics/TraceListener/CustomAttributes/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/CustomAttributes/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/VB/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/VB/module1.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_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb b/snippets/visualbasic/System.Globalization/Calendar/Addmethods/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/Addmethods/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.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb b/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/VB/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/VB/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/VB/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/VB/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/VB/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/VB/calendar.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.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.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/CompareStrIntIntStrIntInt/VB/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/CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/CompareStrIntIntStrIntIntOpt/VB/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/CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/CompareStrIntStrInt/VB/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/CompareStrIntStrInt/VB/comparestrintstrint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/CompareStrIntStrIntOpt/VB/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/CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb b/snippets/visualbasic/System.Globalization/CompareInfo/CompareStrStr/VB/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/CompareStrStr/VB/comparestrstr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/CompareStrStrOpt/VB/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/CompareStrStrOpt/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOfInt/VB/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/IndexOfInt/VB/indexofint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfIntInt/VB/indexofintint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOfIntInt/VB/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/IndexOfIntInt/VB/indexofintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffix/VB/isprefixsuffix.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefixSuffix/VB/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/IsPrefixSuffix/VB/isprefixsuffix.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefixSuffixOpt/VB/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/IsPrefixSuffixOpt/VB/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_System/system.Globalization.CompareOptions.StringSort/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/StringSort/VB/Project.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/StringSort/VB/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb b/snippets/visualbasic/System.Globalization/CompareOptions/StringSort/VB/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/StringSort/VB/compareoptions_stringsort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/Values/VB/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.Globalization/CompareOptions/Values/VB/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb b/snippets/visualbasic/System.Globalization/CompareOptions/Values/VB/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/Values/VB/compareoptions_values.vb 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/vb/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/vb/car.vbproj 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/VB/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/VB/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/CreateSpecificCulture2/VB/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/CreateSpecificCulture2/VB/createspecificculture2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vbproj b/snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vbproj rename to snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vbproj 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/getcultures.vb b/snippets/visualbasic/System.Globalization/CultureInfo/GetCultures/VB/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/GetCultures/VB/getcultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb b/snippets/visualbasic/System.Globalization/CultureInfo/GetCultures/VB/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/GetCultures/VB/getcultures3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture2/VB/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/IsNeutralCulture2/VB/neutralculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Overview/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/Overview/Change1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Parent/VB/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/VB/parentculture.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/ReadOnly/VB/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/ReadOnly/VB/yslin_cultureinfo_readonly.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/VB/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/VB/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.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/dtfi_yearmonthpattern.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/VB/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/VB/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/VB/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/VB/gregoriancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetEra/VB/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/GregorianCalendar/GetEra/VB/gregorian_getera.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/gregoriancalendar_isleapyear.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.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/VB/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/VB/hebrewcalendar_getdaysinmonth.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/hebrewcalendar_isleapyear.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.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/hijricalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb b/snippets/visualbasic/System.Globalization/IdnMapping/GetAscii/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/GetAscii/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.Eras/VB/yslin_japanesecalendar_eras.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/Eras/VB/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/JapaneseCalendar/Eras/VB/yslin_japanesecalendar_eras.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/japanesecalendar_isleapyear.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/juliancalendar_isleapyear.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/koreancalendar_isleapyear.vb 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.currencynegativepattern/vb/Project.vbproj b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/vb/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/vb/Project.vbproj 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/VB/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/VB/invariantinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/Isreadonly/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/Isreadonly/isreadonly1.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_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb b/snippets/visualbasic/System.Globalization/RegionInfo/CtorCultureName/VB/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/CtorCultureName/VB/regioninfo_ctorculturename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb b/snippets/visualbasic/System.Globalization/RegionInfo/Overview/VB/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/VB/regioninfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb b/snippets/visualbasic/System.Globalization/SortKey/Compare/VB/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/Compare/VB/sortkey_compare.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/VB/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/VB/sortkey_equals.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.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_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/taiwancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb b/snippets/visualbasic/System.Globalization/TextElementEnumerator/Summary/VB/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/Summary/VB/tee_summary.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.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/thaibuddhistcalendar_isleapyear.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.ziparchive/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/program4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program3.vb b/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program3.vb rename to snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.pipes.pipestream/vb/sample.vb b/snippets/visualbasic/System.IO.Pipes/PipeStream/Overview/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/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb b/snippets/visualbasic/System.IO.Ports/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/Overview/datareceived.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.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_System/system.io.directory.enumfiles/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/Enumfiles/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/Enumfiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles2/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/Enumfiles2/module1.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/Enumfiles2/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class1.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class5.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb b/snippets/visualbasic/System.IO/Directory/Overview/VB/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/VB/class7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Enumdirs/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/Enumdirs/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/Enumfiles/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/Enumfiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Enumfiles/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/Enumfiles/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic DirectoryInfo.Name Example/VB/source.vb b/snippets/visualbasic/System.IO/DirectoryInfo/Name/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic DirectoryInfo.Name Example/VB/source.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/Name/VB/source.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_System/system.IO.File.AllLines/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AllLines/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/AllLines/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/AllLines_Encoding/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/AllLines_Encoding/AllText_Encoding.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AllText/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/AllText/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/AllText_Encoding/AllText.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/AllText_Encoding/AllText.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_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_System/system.io.file.writeallappendall/vb/program.vb b/snippets/visualbasic/System.IO/File/Writeallappendall/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/Writeallappendall/program.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_Classic/classic FileStream.CanRead Example/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/CanRead/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.CanRead Example/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/CanRead/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.CanWrite Example/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/CanWrite/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.CanWrite Example/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/CanWrite/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.Length Example/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/Length/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.Length Example/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/Length/VB/source.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.MemoryStream/VB/memstream.vb b/snippets/visualbasic/System.IO/MemoryStream/Overview/VB/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/VB/memstream.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_Classic/classic Stream.CanWrite Example/VB/source.vb b/snippets/visualbasic/System.IO/Stream/CanWrite/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stream.CanWrite Example/VB/source.vb rename to snippets/visualbasic/System.IO/Stream/CanWrite/VB/source.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_Classic/classic Stream.Read Example/VB/source.vb b/snippets/visualbasic/System.IO/Stream/Read/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stream.Read Example/VB/source.vb rename to snippets/visualbasic/System.IO/Stream/Read/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/asyncex1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/asyncex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/example40.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/example41.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/example42.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/VB/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/VB/streamreadersample.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/Overview/VB/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/Overview/VB/example20.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/example21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/example22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/example23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/example24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/example25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb b/snippets/visualbasic/System.IO/StreamWriter/Overview/VB/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/Overview/VB/logger.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic StreamWriter.Write2 Example/VB/source.vb b/snippets/visualbasic/System.IO/StreamWriter/Write2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic StreamWriter.Write2 Example/VB/source.vb rename to snippets/visualbasic/System.IO/StreamWriter/Write2/VB/source.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.stringwriter/vb/example.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb b/snippets/visualbasic/System.IO/StringWriter/Overview/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/Overview/example6.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.Enumerable/VB/Enumerable.vb b/snippets/visualbasic/System.Linq/Enumerable/Overview/VB/Enumerable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb rename to snippets/visualbasic/System.Linq/Enumerable/Overview/VB/Enumerable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj b/snippets/visualbasic/System.Linq/Enumerable/Overview/VB/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/Overview/VB/Enumerable.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb b/snippets/visualbasic/System.Linq/Queryable/Overview/VB/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/Overview/VB/queryable.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.ctors/vb/Example1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Ctors/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/Ctors/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb b/snippets/visualbasic/System.Numerics/BigInteger/Ctors/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/Ctors/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj b/snippets/visualbasic/System.Numerics/BigInteger/Ctors/vb/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj rename to snippets/visualbasic/System.Numerics/BigInteger/Ctors/vb/Project.vbproj 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.Numerics.BigInteger.Explicit/vb/Explicit1.vb b/snippets/visualbasic/System.Numerics/BigInteger/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/Explicit/Explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.biginteger.log/vb/log1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Log/log1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.biginteger.log/vb/log1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Log/log1.vb 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.OnesComplement/vb/OnesComplement1.vb b/snippets/visualbasic/System.Numerics/BigInteger/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/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/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/OnesComplement/onescomplement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb b/snippets/visualbasic/System.Numerics/BigInteger/OperationMethods/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/OperationMethods/Multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Operators/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/Operators/Operator1.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.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.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.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.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.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.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.explicit/vb/explicit1.vb b/snippets/visualbasic/System.Numerics/Complex/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/Explicit/explicit1.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.implicit/vb/implicit1.vb b/snippets/visualbasic/System.Numerics/Complex/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/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/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/Inequality/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb b/snippets/visualbasic/System.Numerics/Complex/Log/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/Log/log1.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.phase/vb/phase1.vb b/snippets/visualbasic/System.Numerics/Complex/Phase/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/Phase/phase1.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.real/vb/real1.vb b/snippets/visualbasic/System.Numerics/Complex/Real/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/Real/real1.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.subtract/vb/subtract1.vb b/snippets/visualbasic/System.Numerics/Complex/Subtract/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/Subtract/subtract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb b/snippets/visualbasic/System.Numerics/Complex/Subtract/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/Subtract/subtract2.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.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/VB/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/VB/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/VB/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/VB/source.vb 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/VB/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/VB/source.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/VB/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/VB/source.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/source4.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/source2.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/source.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/VB/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/VB/nestedenum.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.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_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_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/VB/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/VB/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/Load2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb rename to snippets/visualbasic/System.Reflection/Assembly/Load/Load2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/load1.vb b/snippets/visualbasic/System.Reflection/Assembly/Load/load1.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/load1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/Overview/VB/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/Overview/VB/GetAssembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb b/snippets/visualbasic/System.Reflection/Assembly/Overview/VB/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/Overview/VB/assembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb b/snippets/visualbasic/System.Reflection/Assembly/Overview/VB/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/Overview/VB/codebase1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/Overview/VB/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/Overview/VB/getcallingassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb b/snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/VB/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/VB/DescrAttr.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_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_System/system.Reflection.MemberInfo.Module/VB/source.vb b/snippets/visualbasic/System.Reflection/MemberInfo/Module/VB/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/VB/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_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/VB/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/VB/hide.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb b/snippets/visualbasic/System.Reflection/MethodInfo/Getbasedefinition/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/MethodInfo/Getbasedefinition/IsOverride1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb b/snippets/visualbasic/System.Reflection/MethodInfo/Getbasedefinition/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/MethodInfo/Getbasedefinition/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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 1Arg/VB/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 1Arg/VB/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 2Arg/VB/class1.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 2Arg/VB/class1.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 1Arg/VB/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 1Arg/VB/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 2Arg/VB/class1.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 2Arg/VB/class1.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 3Arg/VB/class1.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 3Arg/VB/class1.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/VB/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/VB/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/VB/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/VB/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb b/snippets/visualbasic/System.Reflection/Module/Overview/VB/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/VB/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/VB/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/VB/class1.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/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getaccessors/vb/source.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetAccessors/source.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/VB/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/VB/source.vb 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.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_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/VB/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/VB/resxresourcereader.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/VB/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/VB/useresxdatanodes.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.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_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_System/system.resources.resourcemanager.class/vb/resourcenames.vb b/snippets/visualbasic/System.Resources/ResourceManager/Overview/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/Overview/resourcenames.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/GetEnumerator/VB/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/GetEnumerator/VB/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System.Resources/ResourceSet/GetEnumerator/VB/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/GetEnumerator/VB/getenumerator.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/VB/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/VB/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/VB/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/VB/resourcewritergenerate.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_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_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_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_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/Overview/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/Overview/source.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_System/system.runtime.interopservices.marshal.getactiveobject/vb/marshal.getactiveobject.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetActiveObject/marshal.getactiveobject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.marshal.getactiveobject/vb/marshal.getactiveobject.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetActiveObject/marshal.getactiveobject.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/VB/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/VB/marshalas.sizeparamindex.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_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_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb b/snippets/visualbasic/System.Runtime/GCSettings/Overview/lohcompactionmode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb rename to snippets/visualbasic/System.Runtime/GCSettings/Overview/lohcompactionmode1.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/source.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/Overview/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/Overview/sample.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_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.XmlDsigXPathTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/members.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/members.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/VB/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/VB/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/VB/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/VB/sample.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/VB/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/VB/class1.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/VB/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/VB/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/Overview/VB/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/Overview/VB/contosokeyedhash.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/makefile b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Overview/VB/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/Overview/VB/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb b/snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/VB/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/VB/maskgenerator.vb 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/VB/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/VB/class1.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/VB/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/Overview/VB/rsaencoder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb b/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/Overview/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/Overview/encryptor.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/VB/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/VB/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/makefile b/snippets/visualbasic/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/VB/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/makefile rename to snippets/visualbasic/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/VB/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/nameidpermissionattribute.vb b/snippets/visualbasic/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/VB/nameidpermissionattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/nameidpermissionattribute.vb rename to snippets/visualbasic/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/VB/nameidpermissionattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.EnvironmentPermission/VB/environmentpermission.vb b/snippets/visualbasic/System.Security.Permissions/EnvironmentPermission/Overview/VB/environmentpermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.EnvironmentPermission/VB/environmentpermission.vb rename to snippets/visualbasic/System.Security.Permissions/EnvironmentPermission/Overview/VB/environmentpermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/fileiopermission.vb b/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/fileiopermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/fileiopermission.vb rename to snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/fileiopermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/remarks.vb b/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/remarks.vb rename to snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb b/snippets/visualbasic/System.Security.Permissions/FileIOPermissionAttribute/Overview/VB/fileiopermissionattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb rename to snippets/visualbasic/System.Security.Permissions/FileIOPermissionAttribute/Overview/VB/fileiopermissionattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/VB/gacidentitypermission.vb b/snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/Overview/VB/gacidentitypermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/VB/gacidentitypermission.vb rename to snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/Overview/VB/gacidentitypermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/VB/gacidentitypermissionattribute.vb b/snippets/visualbasic/System.Security.Permissions/GacIdentityPermissionAttribute/Overview/VB/gacidentitypermissionattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/VB/gacidentitypermissionattribute.vb rename to snippets/visualbasic/System.Security.Permissions/GacIdentityPermissionAttribute/Overview/VB/gacidentitypermissionattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb b/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb rename to snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PermissionSetAttribute/VB/Form1.vb b/snippets/visualbasic/System.Security.Permissions/PermissionSetAttribute/Overview/VB/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PermissionSetAttribute/VB/Form1.vb rename to snippets/visualbasic/System.Security.Permissions/PermissionSetAttribute/Overview/VB/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.permissions.principalpermission/vb/remarks.vb b/snippets/visualbasic/System.Security.Permissions/PrincipalPermission/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.permissions.principalpermission/vb/remarks.vb rename to snippets/visualbasic/System.Security.Permissions/PrincipalPermission/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PublisherIdentityPermission/VB/publisheridentitypermission.vb b/snippets/visualbasic/System.Security.Permissions/PublisherIdentityPermission/Overview/VB/publisheridentitypermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PublisherIdentityPermission/VB/publisheridentitypermission.vb rename to snippets/visualbasic/System.Security.Permissions/PublisherIdentityPermission/Overview/VB/publisheridentitypermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb b/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb rename to snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb b/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb rename to snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb b/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb rename to snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb b/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb rename to snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/VB/urlidentity.vb b/snippets/visualbasic/System.Security.Permissions/UrlIdentityPermission/Overview/VB/urlidentity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/VB/urlidentity.vb rename to snippets/visualbasic/System.Security.Permissions/UrlIdentityPermission/Overview/VB/urlidentity.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ZoneIdentityPermission/VB/zoneidentity.vb b/snippets/visualbasic/System.Security.Permissions/ZoneIdentityPermission/Overview/VB/zoneidentity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ZoneIdentityPermission/VB/zoneidentity.vb rename to snippets/visualbasic/System.Security.Permissions/ZoneIdentityPermission/Overview/VB/zoneidentity.vb 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/VB/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/VB/evidence_evidence.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/VB/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/VB/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/Overview/VB/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/Overview/VB/policylevel.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/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb b/snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/VB/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/VB/allowpartiallytrustedcallersattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb b/snippets/visualbasic/System.Security/HostSecurityManager/Overview/VB/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/VB/customsecuritymanager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb b/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb rename to snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb b/snippets/visualbasic/System.Security/SecureString/Ctor/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/Ctor/Ctor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb b/snippets/visualbasic/System.Security/SecureString/Ctor/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/Ctor/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb b/snippets/visualbasic/System.Security/SecureString/Ctor/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/Ctor/ctor4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityContext.Run/VB/form1.vb b/snippets/visualbasic/System.Security/SecurityContext/Run/VB/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityContext.Run/VB/form1.vb rename to snippets/visualbasic/System.Security/SecurityContext/Run/VB/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb b/snippets/visualbasic/System.Security/SecurityElement/Overview/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/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb b/snippets/visualbasic/System.Security/SecurityException/Overview/VB/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/Overview/VB/form1.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_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_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb b/snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/VB/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/VB/regexreplace.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/vb/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/vb/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/vb/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/vb/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/vb/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/vb/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.class/vb/regex_example1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Overview/regex_example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.class/vb/regex_example1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Overview/regex_example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.class/vb/Project.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Overview/vb/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.class/vb/Project.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Overview/vb/Project.vbproj 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_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/split10.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split10.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split10.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/split3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split3.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/split7.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split7.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split7.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.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/VB/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/VB/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/GetByteCount1/VB/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/GetByteCount1/VB/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/GetByteCount2/VB/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/GetByteCount2/VB/getbytecount-string.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/GetBytes1/VB/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/GetBytes1/VB/getbytes-string-int32-int32-byte[]-int32.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/GetBytes2/VB/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/GetBytes2/VB/getbytes-char[]-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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/GetString1/VB/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/GetString1/VB/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/VB/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/VB/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/VB/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/VB/ctor.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/VB/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/VB/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/VB/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/VB/getchars-byte[]-int32-int32-char[]-int32.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/snippet.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/bigendianunicode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb b/snippets/visualbasic/System.Text/Encoding/CodePage/VB/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/CodePage/VB/codepage.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb b/snippets/visualbasic/System.Text/Encoding/Convert/VB/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/Convert/VB/convert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/Encoding/Equals/VB/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/VB/equals.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/GetBytes_CharArr/VB/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/GetBytes_CharArr/VB/getbytes_chararr.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/GetBytes_CharArrIC/VB/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/GetBytes_CharArrIC/VB/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/GetBytes_String/VB/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/GetBytes_String/VB/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/GetChars/VB/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/GetChars/VB/getchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetCharsIC/VB/getcharsic.vb b/snippets/visualbasic/System.Text/Encoding/GetCharsIC/VB/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/GetCharsIC/VB/getcharsic.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/getstring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb b/snippets/visualbasic/System.Text/Encoding/IsProps/VB/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/IsProps/VB/isprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb b/snippets/visualbasic/System.Text/Encoding/Names/VB/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/Names/VB/names.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/VB/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/VB/webname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb b/snippets/visualbasic/System.Text/EncodingInfo/Overview/VB/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/VB/encodinginfo.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_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_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_System/system.Text.StringBuilder.Constructors/VB/Form1.vb b/snippets/visualbasic/System.Text/StringBuilder/Constructors/VB/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/Constructors/VB/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb b/snippets/visualbasic/System.Text/UTF32Encoding/EncDec/VB/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/EncDec/VB/EncDec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Equals/VB/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/VB/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb b/snippets/visualbasic/System.Text/UTF32Encoding/ErrorDetection/VB/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/ErrorDetection/VB/ErrorDetection.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_CharArr/VB/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_CharArr/VB/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_String/VB/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_String/VB/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/GetChars/VB/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/GetChars/VB/GetChars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetPreamble/VB/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/GetPreamble/VB/GetPreamble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetPreamble/VB/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/GetPreamble/VB/getpreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetString/VB/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/VB/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/VB/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/VB/GetString1.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.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF7Encoding/Ctor1/VB/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/Ctor1/VB/ctor.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/Ctor2/VB/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/Ctor2/VB/ctor-boolean.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Ctor1/VB/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/Ctor1/VB/ctor.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/Ctor2/VB/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/Ctor2/VB/ctor-boolean.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/Ctor3/VB/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/Ctor3/VB/ctor-boolean-boolean.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/VB/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/VB/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/GetBytes1/VB/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/GetBytes1/VB/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/GetBytes3/VB/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/GetBytes3/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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.getstring/vb/getstring1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/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/UTF8Encoding/Getstring/getstring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Overview/VB/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/VB/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/VB/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/VB/snippet.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/VB/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/VB/charsize.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/VB/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/VB/ctor.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/Ctor2/VB/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/Ctor2/VB/ctor-boolean-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/EncDec/VB/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/EncDec/VB/encdec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/ErrorDetection/VB/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/ErrorDetection/VB/errordetection.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/GetBytes1/VB/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/GetBytes1/VB/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/GetBytes3/VB/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/GetBytes3/VB/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/VB/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/VB/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/VB/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/VB/getchars-byte[]-int32-int32-char[]-int32.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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/getpreamble-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/VB/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/VB/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/VB/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/VB/snippet.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.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.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.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/vb/continuationoptions.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/waitall.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.taskextensions/vb/unwrap.vb b/snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Overview/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/Overview/unwrap.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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/Task`1/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/VB/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/VB/koax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/VB/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/VB/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/VB/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/VB/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.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.EventWaitHandle.ctor named 5/VB/source.vb b/snippets/visualbasic/System.Threading/EventWaitHandle/Ctor named 5/VB/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 named 5/VB/source.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.Exchange Int32 Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Interlocked/Exchange Int32/VB/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/Exchange Int32/VB/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment2/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/Increment2/Increment3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment2/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/Increment2/Increment4.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/VB/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/VB/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_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.ctor named 4/VB/source.vb b/snippets/visualbasic/System.Threading/Mutex/Ctor named 4/VB/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 named 4/VB/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/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLock/IsWriterLockHeld/VB/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/IsWriterLockHeld/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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 named 3/VB/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 named 3/VB/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 named 4/VB/source.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 named 4/VB/source.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 named 5a/VB/source.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 named 5a/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb b/snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/VB/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/VB/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.Abort2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Abort2/VB/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/Abort2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/ApartmentState/VB/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/Thread/ApartmentState/VB/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/VB/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/VB/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/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Ctor/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Ctor2/VB/source.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/Ctor2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Culture/VB/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/Culture/VB/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/VB/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/VB/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_System/system.Threading.Thread.DataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/DataSlot/VB/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/DataSlot/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb b/snippets/visualbasic/System.Threading/Thread/DoNotUseDataSlots/source.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/DoNotUseDataSlots/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Domain/VB/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/Domain/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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.NamedDataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/NamedDataSlot/VB/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/NamedDataSlot/VB/source.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_System/system.Threading.Thread.Timespan/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Timespan/VB/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/Timespan/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/VB/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/VB/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/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetSetMinThreads/VB/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/GetSetMinThreads/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb b/snippets/visualbasic/System.Threading/Timer/Overview/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb b/snippets/visualbasic/System.Threading/WaitHandle/SignalAndWait/VB/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/WaitHandle/SignalAndWait/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll1/VB/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/WaitAll1/VB/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll2/VB/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/WaitAll2/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll3/VB/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/WaitAll3/VB/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny2/VB/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/WaitAny2/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny3/VB/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/WaitAny3/VB/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne1/VB/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/WaitOne1/VB/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne2/VB/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/WaitOne2/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne3/VB/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/WaitOne3/VB/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb b/snippets/visualbasic/System.Threading/WaitHandle/Waitone4/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/Waitone4/source.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_System/system.timers.timer/vb/AsyncHandlerEx1.vb b/snippets/visualbasic/System.Timers/Timer/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/Timer/Overview/AsyncHandlerEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb b/snippets/visualbasic/System.Timers/Timer/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/Timer/Overview/timer1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb b/snippets/visualbasic/System.Timers/Timer/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/Timer/Overview/timer2a.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/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/Application.myapp b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/vb/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/vb/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/SynchronizingObjectVB1.vbproj b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/vb/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/vb/SynchronizingObjectVB1.vbproj 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/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.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.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/Overview/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/Overview/TestValue1.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_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_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_System/system.AppDomainManager/VB/customAppDomainManager.vb b/snippets/visualbasic/System/AppDomainManager/Overview/VB/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/VB/customAppDomainManager.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_Classic/classic Array.BinarySearch Example/VB/source.vb b/snippets/visualbasic/System/Array/BinarySearch/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.BinarySearch Example/VB/source.vb rename to snippets/visualbasic/System/Array/BinarySearch/VB/source.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/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.Clear/vb/Project.vbproj b/snippets/visualbasic/System/Array/Clear/vb/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/vb/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb b/snippets/visualbasic/System/Array/Clone/VB/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/VB/arrayclone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.Copy1 Example/VB/source.vb b/snippets/visualbasic/System/Array/Copy1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.Copy1 Example/VB/source.vb rename to snippets/visualbasic/System/Array/Copy1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CopyTo Example/VB/source.vb b/snippets/visualbasic/System/Array/CopyTo/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CopyTo Example/VB/source.vb rename to snippets/visualbasic/System/Array/CopyTo/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CopyTo Example/VB/source2.vb b/snippets/visualbasic/System/Array/CopyTo/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CopyTo Example/VB/source2.vb rename to snippets/visualbasic/System/Array/CopyTo/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance Example/VB/source.vb b/snippets/visualbasic/System/Array/CreateInstance/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance Example/VB/source.vb rename to snippets/visualbasic/System/Array/CreateInstance/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance1 Example/VB/source.vb b/snippets/visualbasic/System/Array/CreateInstance1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance1 Example/VB/source.vb rename to snippets/visualbasic/System/Array/CreateInstance1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance2 Example/VB/source.vb b/snippets/visualbasic/System/Array/CreateInstance2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance2 Example/VB/source.vb rename to snippets/visualbasic/System/Array/CreateInstance2/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance3 Example/VB/source.vb b/snippets/visualbasic/System/Array/CreateInstance3/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.CreateInstance3 Example/VB/source.vb rename to snippets/visualbasic/System/Array/CreateInstance3/VB/source.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_Classic/classic Array.IndexOf Example/VB/source.vb b/snippets/visualbasic/System/Array/IndexOf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.IndexOf Example/VB/source.vb rename to snippets/visualbasic/System/Array/IndexOf/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.LastIndexOf Example/VB/source.vb b/snippets/visualbasic/System/Array/LastIndexOf/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.LastIndexOf Example/VB/source.vb rename to snippets/visualbasic/System/Array/LastIndexOf/VB/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_Classic/classic Array Example/VB/source.vb b/snippets/visualbasic/System/Array/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array Example/VB/source.vb rename to snippets/visualbasic/System/Array/Overview/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array Example/VB/source3.vb b/snippets/visualbasic/System/Array/Overview/VB/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array Example/VB/source3.vb rename to snippets/visualbasic/System/Array/Overview/VB/source3.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_Classic/classic Array.Reverse Example/VB/source.vb b/snippets/visualbasic/System/Array/Reverse/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.Reverse Example/VB/source.vb rename to snippets/visualbasic/System/Array/Reverse/VB/source.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_Classic/classic Array.Reverse1 Example/VB/source.vb b/snippets/visualbasic/System/Array/Reverse1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Array.Reverse1 Example/VB/source.vb rename to snippets/visualbasic/System/Array/Reverse1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb b/snippets/visualbasic/System/Array/Sort/VB/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/VB/arraysort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb b/snippets/visualbasic/System/Attribute/Equals/VB/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/VB/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/VB/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/GetCustomAttribute/VB/getcustattrparam.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb b/snippets/visualbasic/System/Attribute/GetCustomAttribute/VB/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/GetCustomAttribute/VB/getcustattrprminh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb b/snippets/visualbasic/System/Attribute/TypeId/VB/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/VB/typeid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic AttributeUsageAttribute.AttributeUsageAttribute Example/VB/source.vb b/snippets/visualbasic/System/AttributeUsageAttribute/AttributeUsageAttribute/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic AttributeUsageAttribute.AttributeUsageAttribute Example/VB/source.vb rename to snippets/visualbasic/System/AttributeUsageAttribute/AttributeUsageAttribute/VB/source.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.BitConverter.GetBytes.Others/VB/bytesbool.vb b/snippets/visualbasic/System/BitConverter/Others/VB/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/Others/VB/bytesbool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb b/snippets/visualbasic/System/BitConverter/Others/VB/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/Others/VB/byteschar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb b/snippets/visualbasic/System/BitConverter/Others/VB/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/Others/VB/bytesdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb b/snippets/visualbasic/System/BitConverter/Others/VB/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/Others/VB/bytessingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb b/snippets/visualbasic/System/BitConverter/Overview/VB/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/VB/bitconv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb b/snippets/visualbasic/System/BitConverter/Overview/VB/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/VB/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb b/snippets/visualbasic/System/BitConverter/Overview/VB/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/VB/littleend.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb b/snippets/visualbasic/System/BitConverter/Overview/VB/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/VB/networkorder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb b/snippets/visualbasic/System/BitConverter/SInts/VB/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/SInts/VB/bytesint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb b/snippets/visualbasic/System/BitConverter/SInts/VB/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/SInts/VB/bytesint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb b/snippets/visualbasic/System/BitConverter/SInts/VB/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/SInts/VB/bytesint64.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/VB/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/VB/batostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb b/snippets/visualbasic/System/BitConverter/ToString/VB/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/VB/batostringii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb b/snippets/visualbasic/System/BitConverter/UInts/VB/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/UInts/VB/bytesuint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb b/snippets/visualbasic/System/BitConverter/UInts/VB/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/UInts/VB/bytesuint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb b/snippets/visualbasic/System/BitConverter/UInts/VB/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/UInts/VB/bytesuint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb b/snippets/visualbasic/System/Boolean/Overview/VB/booleanmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb rename to snippets/visualbasic/System/Boolean/Overview/VB/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.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/VB/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/VB/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb b/snippets/visualbasic/System/Byte/ToString/VB/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/VB/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/VB/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/VB/compareto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Equals/VB/equals.vb b/snippets/visualbasic/System/Char/Equals/VB/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/VB/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue.vb b/snippets/visualbasic/System/Char/GetNumericValue/VB/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/VB/getnumericvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue1.vb b/snippets/visualbasic/System/Char/GetNumericValue/VB/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/VB/getnumericvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetUnicodeCategory/VB/getunicodecategory.vb b/snippets/visualbasic/System/Char/GetUnicodeCategory/VB/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/VB/getunicodecategory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb b/snippets/visualbasic/System/Char/IsControl/VB/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/VB/IsControl1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb b/snippets/visualbasic/System/Char/IsControl/VB/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/VB/IsControl2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb b/snippets/visualbasic/System/Char/IsDigit/VB/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/VB/isdigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb b/snippets/visualbasic/System/Char/IsLetter/VB/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/VB/isletter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb b/snippets/visualbasic/System/Char/IsLetterOrDigit/VB/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/VB/isletterordigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb b/snippets/visualbasic/System/Char/IsLower/VB/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/VB/islower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb b/snippets/visualbasic/System/Char/IsNumber/VB/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/VB/isnumber.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb b/snippets/visualbasic/System/Char/IsNumber/VB/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/VB/isnumber1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb b/snippets/visualbasic/System/Char/IsPunctuation/VB/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/VB/ispunctuation.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb b/snippets/visualbasic/System/Char/IsSeparator/VB/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/VB/isseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb b/snippets/visualbasic/System/Char/IsSeparator/VB/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/VB/isseparator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb b/snippets/visualbasic/System/Char/IsSurrogate/VB/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/VB/issurrogate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb b/snippets/visualbasic/System/Char/IsSymbol/VB/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/VB/issymbol.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb b/snippets/visualbasic/System/Char/IsWhiteSpace/VB/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/VB/iswhitespace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb b/snippets/visualbasic/System/Char/Parse/VB/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/VB/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb b/snippets/visualbasic/System/Char/ToLower/VB/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/VB/tolower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb b/snippets/visualbasic/System/Char/ToString/VB/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/VB/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_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.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.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_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_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_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_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_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_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.WriteLine/VB/WriteLine6.vb b/snippets/visualbasic/System/Console/WriteLine/VB/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/VB/WriteLine6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb b/snippets/visualbasic/System/Console/WriteLine/VB/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/VB/WriteLine7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb b/snippets/visualbasic/System/Console/WriteLine/VB/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/VB/newline1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb b/snippets/visualbasic/System/Console/WriteLine/VB/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/VB/tipcalc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb b/snippets/visualbasic/System/Console/WriteLine/VB/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/VB/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/VB/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/VB/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_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.ToString.IFormatProvider/VB/nonnumeric.vb b/snippets/visualbasic/System/Convert/IFormatProvider/VB/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/IFormatProvider/VB/nonnumeric.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_CLR_System/system.Convert.IsDBNull/vb/Form1.vb b/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb rename to snippets/visualbasic/System/Convert/IsDBNull/Form1.vb 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_CLR_System/system.Convert.IsDBNull/vb/Form1.resx b/snippets/visualbasic/System/Convert/IsDBNull/vb/Form1.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.resx rename to snippets/visualbasic/System/Convert/IsDBNull/vb/Form1.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/IsDBNull_To_NA.vbproj b/snippets/visualbasic/System/Convert/IsDBNull/vb/IsDBNull_To_NA.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/IsDBNull_To_NA.vbproj rename to snippets/visualbasic/System/Convert/IsDBNull/vb/IsDBNull_To_NA.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.resx b/snippets/visualbasic/System/Convert/IsDBNull/vb/Resources.resx similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Resources.resx rename to snippets/visualbasic/System/Convert/IsDBNull/vb/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb b/snippets/visualbasic/System/Convert/ToBase64String/ToBase64String.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb rename to snippets/visualbasic/System/Convert/ToBase64String/ToBase64String.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb b/snippets/visualbasic/System/Convert/ToBase64String/ToBase64String2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb rename to snippets/visualbasic/System/Convert/ToBase64String/ToBase64String2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb b/snippets/visualbasic/System/Convert/ToBase64String/ToBase64String3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb rename to snippets/visualbasic/System/Convert/ToBase64String/ToBase64String3.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.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.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.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.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.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.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.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/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_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.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.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/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/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb rename to snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception3.vb b/snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception3.vb rename to snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception4.vb b/snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception4.vb rename to snippets/visualbasic/System/DateTime/Argumentoutofrangeexception/datetime.tostring.argumentoutofrangeexception4.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_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.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_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_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_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_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_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_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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString4.vb rename to snippets/visualbasic/System/DateTime/ToString/ToString4.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring3.vb rename to snippets/visualbasic/System/DateTime/ToString/tostring3.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring5.vb rename to snippets/visualbasic/System/DateTime/ToString/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj b/snippets/visualbasic/System/DateTime/ToString/vb/tostring.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj rename to snippets/visualbasic/System/DateTime/ToString/vb/tostring.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic DateTime.ToString2 Example/VB/source.vb b/snippets/visualbasic/System/DateTime/ToString2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic DateTime.ToString2 Example/VB/source.vb rename to snippets/visualbasic/System/DateTime/ToString2/VB/source.vb 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_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTimeOffset/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/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/Argumentoutofrangeexception/datetimeoffset.tostring.argumentoutofrangeexception4.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.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.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.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.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.Parse/VB/parse.vb b/snippets/visualbasic/System/Decimal/Parse/VB/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/VB/parse.vb 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.Decimal.Round/vb/Round1.vb b/snippets/visualbasic/System/Decimal/Round/Round1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb rename to snippets/visualbasic/System/Decimal/Round/Round1.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round12.vb rename to snippets/visualbasic/System/Decimal/Round/Round12.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.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/VB/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/VB/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.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_Classic/classic Delegate Example/VB/source.vb b/snippets/visualbasic/System/Delegate/Overview/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Delegate Example/VB/source.vb rename to snippets/visualbasic/System/Delegate/Overview/VB/source.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/Epsilon/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/Epsilon/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.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_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/VB/doublesample.vb b/snippets/visualbasic/System/Double/Overview/VB/doublesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb rename to snippets/visualbasic/System/Double/Overview/VB/doublesample.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_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/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_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_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_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_Classic/classic Enum.ToString2 Example/VB/source.vb b/snippets/visualbasic/System/Enum/ToString2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Enum.ToString2 Example/VB/source.vb rename to snippets/visualbasic/System/Enum/ToString2/VB/source.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_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb b/snippets/visualbasic/System/Environment/GetEnvironmentVariable/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/GetEnvironmentVariable/getenvironmentvariableex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb b/snippets/visualbasic/System/Environment/Overview/VB/Vars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb rename to snippets/visualbasic/System/Environment/Overview/VB/Vars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb b/snippets/visualbasic/System/Exception/GetBaseException/VB/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/VB/getbaseexc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb b/snippets/visualbasic/System/Exception/HResult/VB/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/VB/hresult.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/example.vb b/snippets/visualbasic/System/Exception/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/example.vb rename to snippets/visualbasic/System/Exception/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/notprimeexception.vb b/snippets/visualbasic/System/Exception/Overview/notprimeexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/notprimeexception.vb rename to snippets/visualbasic/System/Exception/Overview/notprimeexception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/primenumbergenerator.vb b/snippets/visualbasic/System/Exception/Overview/primenumbergenerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/primenumbergenerator.vb rename to snippets/visualbasic/System/Exception/Overview/primenumbergenerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/rethrow1.vb b/snippets/visualbasic/System/Exception/Overview/rethrow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/rethrow1.vb rename to snippets/visualbasic/System/Exception/Overview/rethrow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/rethrow3.vb b/snippets/visualbasic/System/Exception/Overview/rethrow3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/rethrow3.vb rename to snippets/visualbasic/System/Exception/Overview/rethrow3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/usageerrors1.vb b/snippets/visualbasic/System/Exception/Overview/usageerrors1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/usageerrors1.vb rename to snippets/visualbasic/System/Exception/Overview/usageerrors1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/usageerrors2.vb b/snippets/visualbasic/System/Exception/Overview/usageerrors2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/usageerrors2.vb rename to snippets/visualbasic/System/Exception/Overview/usageerrors2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/customexception.vbproj b/snippets/visualbasic/System/Exception/Overview/vb/customexception.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.class/vb/customexception.vbproj rename to snippets/visualbasic/System/Exception/Overview/vb/customexception.vbproj 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/Overview/VB/flags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb rename to snippets/visualbasic/System/FlagsAttribute/Overview/VB/flags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb b/snippets/visualbasic/System/FlagsAttribute/Overview/VB/flags1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb rename to snippets/visualbasic/System/FlagsAttribute/Overview/VB/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.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.GC.Collect Example/VB/class1.vb b/snippets/visualbasic/System/GC/Collect/VB/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/VB/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.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.ReRegisterForFinalize Example/VB/class1.vb b/snippets/visualbasic/System/GC/ReRegisterForFinalize/VB/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/VB/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/VB/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/VB/class1.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.IConvertible/VB/iconvertible.vb b/snippets/visualbasic/System/IConvertible/Overview/VB/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/VB/iconvertible.vb 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.icustomformatter.class/vb/Project.vbproj b/snippets/visualbasic/System/ICustomFormatter/Overview/vb/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/vb/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/base1.vb b/snippets/visualbasic/System/IDisposable/Overview/base1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/base1.vb rename to snippets/visualbasic/System/IDisposable/Overview/base1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/base2.vb b/snippets/visualbasic/System/IDisposable/Overview/base2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/base2.vb rename to snippets/visualbasic/System/IDisposable/Overview/base2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/calling1.vb b/snippets/visualbasic/System/IDisposable/Overview/calling1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/calling1.vb rename to snippets/visualbasic/System/IDisposable/Overview/calling1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/calling2.vb b/snippets/visualbasic/System/IDisposable/Overview/calling2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/calling2.vb rename to snippets/visualbasic/System/IDisposable/Overview/calling2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/derived1.vb b/snippets/visualbasic/System/IDisposable/Overview/derived1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/derived1.vb rename to snippets/visualbasic/System/IDisposable/Overview/derived1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/derived2.vb b/snippets/visualbasic/System/IDisposable/Overview/derived2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/derived2.vb rename to snippets/visualbasic/System/IDisposable/Overview/derived2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/IDisposableSnippets.vbproj b/snippets/visualbasic/System/IDisposable/Overview/vb/IDisposableSnippets.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.idisposable/vb/IDisposableSnippets.vbproj rename to snippets/visualbasic/System/IDisposable/Overview/vb/IDisposableSnippets.vbproj 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.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_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_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_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_Classic/classic MarshalByRefObject.InitializeLifetimeService Example/VB/source.vb b/snippets/visualbasic/System/MarshalByRefObject/InitializeLifetimeService/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic MarshalByRefObject.InitializeLifetimeService Example/VB/source.vb rename to snippets/visualbasic/System/MarshalByRefObject/InitializeLifetimeService/VB/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_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.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/VB/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/VB/efield.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb b/snippets/visualbasic/System/Math/Exp/VB/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/VB/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/VB/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/VB/log10.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Program.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/mean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint1.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/midpoint1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint2.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/midpoint2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/mpr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/precision1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/precision2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/single1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb b/snippets/visualbasic/System/Math/Overload/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/Math/Overload/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Rounding.vbproj b/snippets/visualbasic/System/Math/Overload/vb/Rounding.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Rounding.vbproj rename to snippets/visualbasic/System/Math/Overload/vb/Rounding.vbproj 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_Classic/classic Math.Round Example/VB/source.vb b/snippets/visualbasic/System/Math/Round/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Math.Round Example/VB/source.vb rename to snippets/visualbasic/System/Math/Round/VB/source.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_Classic/classic Math.Round2 Example/VB/source.vb b/snippets/visualbasic/System/Math/Round2/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Math.Round2 Example/VB/source.vb rename to snippets/visualbasic/System/Math/Round2/VB/source.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/VB/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/VB/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_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.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.finalize/vb/finalize1.vb b/snippets/visualbasic/System/Object/Finalize/finalize1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.finalize/vb/finalize1.vb rename to snippets/visualbasic/System/Object/Finalize/finalize1.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_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_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_System/system.OperatingSystem.Clone/VB/clone.vb b/snippets/visualbasic/System/OperatingSystem/Clone/VB/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/VB/clone.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_System/system.Random.Next/VB/next.vb b/snippets/visualbasic/System/Random/Next/VB/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/Next/VB/next.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb b/snippets/visualbasic/System/Random/Next/VB/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/Next/VB/next1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next2.vb b/snippets/visualbasic/System/Random/Next/VB/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/Next/VB/next2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next3.vb b/snippets/visualbasic/System/Random/Next/VB/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/Next/VB/next3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb b/snippets/visualbasic/System/Random/Next/VB/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/Next/VB/next4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Random.NextBytes Example/VB/source.vb b/snippets/visualbasic/System/Random/NextBytes/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Random.NextBytes Example/VB/source.vb rename to snippets/visualbasic/System/Random/NextBytes/VB/source.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.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/VB/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/VB/parse_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb b/snippets/visualbasic/System/SByte/ToString/VB/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/VB/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb b/snippets/visualbasic/System/SByte/ToString/VB/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/VB/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb b/snippets/visualbasic/System/SByte/ToString/VB/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/VB/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb b/snippets/visualbasic/System/SByte/ToString/VB/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/VB/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/Epsilon/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/Epsilon/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.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/VB/singlesample.vb b/snippets/visualbasic/System/Single/Overview/VB/singlesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb rename to snippets/visualbasic/System/Single/Overview/VB/singlesample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb b/snippets/visualbasic/System/Single/Parse/VB/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/VB/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb b/snippets/visualbasic/System/Single/Parse/VB/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/VB/parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb b/snippets/visualbasic/System/Single/Parse/VB/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/VB/parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb b/snippets/visualbasic/System/Single/ToString/VB/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/VB/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb b/snippets/visualbasic/System/Single/ToString/VB/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/VB/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_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.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_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_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_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_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.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_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.Format/vb/format4.vb b/snippets/visualbasic/System/String/Format/format4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format4.vb rename to snippets/visualbasic/System/String/Format/format4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb b/snippets/visualbasic/System/String/Format/format5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb rename to snippets/visualbasic/System/String/Format/format5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb b/snippets/visualbasic/System/String/Format/format7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb rename to snippets/visualbasic/System/String/Format/format7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb b/snippets/visualbasic/System/String/Format/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/String/Format/format_paramarray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb b/snippets/visualbasic/System/String/Format/formatexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb rename to snippets/visualbasic/System/String/Format/formatexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb b/snippets/visualbasic/System/String/Format/qa3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb rename to snippets/visualbasic/System/String/Format/qa3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System/String/GetEnumerator/VB/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/VB/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb b/snippets/visualbasic/System/String/GetHashCode/VB/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/VB/gethashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/perdomain.vb b/snippets/visualbasic/System/String/GetHashCode/VB/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/VB/perdomain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable24.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable25.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable26.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/ignorable26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/indexof_c.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/indexofcii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb b/snippets/visualbasic/System/String/IndexOf/VB/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/VB/simple1.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_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_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_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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb rename to snippets/visualbasic/System/String/Join/join1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb b/snippets/visualbasic/System/String/Join/join2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb rename to snippets/visualbasic/System/String/Join/join2.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb rename to snippets/visualbasic/System/String/Join/join3.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join4.vb rename to snippets/visualbasic/System/String/Join/join4.vb 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 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb rename to snippets/visualbasic/System/String/Join/join5.vb 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_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_System/system.String.Class/vb/System.String.Class.vb b/snippets/visualbasic/System/String/Overview/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/Overview/System.String.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadLeft Example/VB/source.vb b/snippets/visualbasic/System/String/PadLeft/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadLeft Example/VB/source.vb rename to snippets/visualbasic/System/String/PadLeft/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadLeft1 Example/VB/source.vb b/snippets/visualbasic/System/String/PadLeft1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadLeft1 Example/VB/source.vb rename to snippets/visualbasic/System/String/PadLeft1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadRight Example/VB/source.vb b/snippets/visualbasic/System/String/PadRight/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadRight Example/VB/source.vb rename to snippets/visualbasic/System/String/PadRight/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadRight1 Example/VB/source.vb b/snippets/visualbasic/System/String/PadRight1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.PadRight1 Example/VB/source.vb rename to snippets/visualbasic/System/String/PadRight1/VB/source.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_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_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_Classic/classic String.Substring1 Example/VB/source.vb b/snippets/visualbasic/System/String/Substring1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic String.Substring1 Example/VB/source.vb rename to snippets/visualbasic/System/String/Substring1/VB/source.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_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_System/system.String.ToUpper/vb/ToUpperEx.vb b/snippets/visualbasic/System/String/ToUpper/ToUpperEx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.ToUpper/vb/ToUpperEx.vb rename to snippets/visualbasic/System/String/ToUpper/ToUpperEx.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.toupperinvariant/vb/toupperinvariant.vb b/snippets/visualbasic/System/String/ToUpperInvariant/toupperinvariant.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.toupperinvariant/vb/toupperinvariant.vb rename to snippets/visualbasic/System/String/ToUpperInvariant/toupperinvariant.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/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.threadstaticattribute/vb/Program.vbproj b/snippets/visualbasic/System/ThreadStaticAttribute/Overview/vb/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/vb/Program.vbproj 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.GetHashCode/VB/hashcode.vb b/snippets/visualbasic/System/TimeSpan/GetHashCode/VB/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/VB/hashcode.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.parse/vb/parse1.vb b/snippets/visualbasic/System/TimeSpan/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parse/vb/parse1.vb rename to snippets/visualbasic/System/TimeSpan/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parse/vb/parse2.vb b/snippets/visualbasic/System/TimeSpan/Parse/parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parse/vb/parse2.vb rename to snippets/visualbasic/System/TimeSpan/Parse/parse2.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.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/TimeSpan/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/TimeSpan/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/TimeSpan/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/TimeSpan/TryParse/tryparse2.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.TimeZone.Class/VB/tzclass.vb b/snippets/visualbasic/System/TimeZone/Overview/VB/tzclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone.Class/VB/tzclass.vb rename to snippets/visualbasic/System/TimeZone/Overview/VB/tzclass.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone.ToLocalTime/VB/TimeZone_ToLocalTime.vb b/snippets/visualbasic/System/TimeZone/ToLocalTime/VB/TimeZone_ToLocalTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone.ToLocalTime/VB/TimeZone_ToLocalTime.vb rename to snippets/visualbasic/System/TimeZone/ToLocalTime/VB/TimeZone_ToLocalTime.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.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.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.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_Classic/classic Type.DeclaringType Example/VB/source.vb b/snippets/visualbasic/System/Type/DeclaringType/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.DeclaringType Example/VB/source.vb rename to snippets/visualbasic/System/Type/DeclaringType/VB/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_Classic/classic Type.EmptyTypes Example/VB/source.vb b/snippets/visualbasic/System/Type/EmptyTypes/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.EmptyTypes Example/VB/source.vb rename to snippets/visualbasic/System/Type/EmptyTypes/VB/source.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_Classic/classic Type.Equals1 Example/VB/source.vb b/snippets/visualbasic/System/Type/Equals1/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.Equals1 Example/VB/source.vb rename to snippets/visualbasic/System/Type/Equals1/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.FilterName Example/VB/source.vb b/snippets/visualbasic/System/Type/FilterName/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.FilterName Example/VB/source.vb rename to snippets/visualbasic/System/Type/FilterName/VB/source.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_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_Classic/classic Type.GetConstructors Example/VB/source1.vb b/snippets/visualbasic/System/Type/GetConstructors/VB/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.GetConstructors Example/VB/source1.vb rename to snippets/visualbasic/System/Type/GetConstructors/VB/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.GetConstructors Example/VB/source2.vb b/snippets/visualbasic/System/Type/GetConstructors/VB/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.GetConstructors Example/VB/source2.vb rename to snippets/visualbasic/System/Type/GetConstructors/VB/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb b/snippets/visualbasic/System/Type/GetGenericTypeDefinition/VB/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/VB/source.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_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_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_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_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_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_System/system.Type.IsGenericParameter/VB/source.vb b/snippets/visualbasic/System/Type/IsGenericParameter/VB/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/IsGenericParameter/VB/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_Classic/classic Type.IsNotPublic Example/VB/source.vb b/snippets/visualbasic/System/Type/IsNotPublic/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.IsNotPublic Example/VB/source.vb rename to snippets/visualbasic/System/Type/IsNotPublic/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.IsSpecialName Example/VB/source.vb b/snippets/visualbasic/System/Type/IsSpecialName/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.IsSpecialName Example/VB/source.vb rename to snippets/visualbasic/System/Type/IsSpecialName/VB/source.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_System/system.Type.IsVisible/VB/source.vb b/snippets/visualbasic/System/Type/IsVisible/VB/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/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.MemberType Example/VB/source.vb b/snippets/visualbasic/System/Type/MemberType/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.MemberType Example/VB/source.vb rename to snippets/visualbasic/System/Type/MemberType/VB/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.Missing Example/VB/source.vb b/snippets/visualbasic/System/Type/Missing/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.Missing Example/VB/source.vb rename to snippets/visualbasic/System/Type/Missing/VB/source.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_Classic/classic Type.ReflectedType Example/VB/source.vb b/snippets/visualbasic/System/Type/ReflectedType/VB/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.ReflectedType Example/VB/source.vb rename to snippets/visualbasic/System/Type/ReflectedType/VB/source.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_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_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.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.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_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_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_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_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.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_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/source.vb diff --git a/snippets/visualbasic/VS_Snippets_ADO.NET/system_data_isolationlevel/vb/source.vb b/snippets/visualbasic/VS_Snippets_ADO.NET/system_data_isolationlevel/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_ADO.NET/system_data_isolationlevel/vb/source.vb rename to snippets/visualbasic/VS_Snippets_ADO.NET/system_data_isolationlevel/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Atlas/LocalizingClientResourcesWalkthrough/vb/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Atlas/LocalizingClientResourcesWalkthrough/AssemblyInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Atlas/LocalizingClientResourcesWalkthrough/vb/AssemblyInfo.vb rename to snippets/visualbasic/VS_Snippets_Atlas/LocalizingClientResourcesWalkthrough/AssemblyInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/vb/AssemblyInfo.vb b/snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/AssemblyInfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/vb/AssemblyInfo.vb rename to snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/AssemblyInfo.vb diff --git a/snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/vb/customcontrol.vb b/snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/customcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/vb/customcontrol.vb rename to snippets/visualbasic/VS_Snippets_Atlas/System.Web.UI.ScriptReference/customcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb b/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb rename to snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_claimset/vb/myauthorizationpolicy.vb b/snippets/visualbasic/VS_Snippets_CFX/c_claimset/myauthorizationpolicy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_claimset/vb/myauthorizationpolicy.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_claimset/myauthorizationpolicy.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/vb/c_customauthmgr.vb b/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/c_customauthmgr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/vb/c_customauthmgr.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/c_customauthmgr.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_custombinding/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_custombinding/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_custombinding/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_custombinding/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_customtoken/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_customtoken/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_fca/vb/fcademo.vb b/snippets/visualbasic/VS_Snippets_CFX/c_fca/fcademo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_fca/vb/fcademo.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_fca/fcademo.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_federation/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_federation/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_federation/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_federation/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb b/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/vb/readint.vb b/snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/readint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/vb/readint.vb rename to snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/readint.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/iendpointbehaviormessageinspector.vb b/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/iendpointbehaviormessageinspector.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/iendpointbehaviormessageinspector.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/iendpointbehaviormessageinspector.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/channelmanagerservice/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/clientbase/vb/clientbase.vb b/snippets/visualbasic/VS_Snippets_CFX/clientbase/clientbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/clientbase/vb/clientbase.vb rename to snippets/visualbasic/VS_Snippets_CFX/clientbase/clientbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/vb/overview.vb b/snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/overview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/vb/overview.vb rename to snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/overview.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyimporter.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyimporter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyimporter.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyimporter.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/custompolicysample/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/vb/overview.vb b/snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/overview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/vb/overview.vb rename to snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/overview.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/vb/overview.vb b/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/overview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/vb/overview.vb rename to snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/overview.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb b/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb rename to snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/freeformactivitydesigner/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb b/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb rename to snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb b/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb rename to snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/insertingbehaviors.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/insertingbehaviors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/insertingbehaviors.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/insertingbehaviors.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/interactivechannelinitializer.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/interactivechannelinitializer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/interactivechannelinitializer.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/interactivechannelinitializer.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/interceptors.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/interceptors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/interceptors.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/interceptors.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/interceptors/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/interceptors/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb b/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb rename to snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/vb/iunknownserialization.vb b/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/iunknownserialization.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/vb/iunknownserialization.vb rename to snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/iunknownserialization.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/vb/overview.vb b/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/overview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/vb/overview.vb rename to snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/overview.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/vb/knowntypeattribute_ctor1.vb b/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/knowntypeattribute_ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/vb/knowntypeattribute_ctor1.vb rename to snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/knowntypeattribute_ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb b/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb rename to snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/message/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/message/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/behaviorservice.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/behaviorservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/behaviorservice.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/behaviorservice.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/vb/dlservice.vb b/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/dlservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_deadletter/vb/dlservice.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_deadletter/dlservice.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_imperative/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_imperative/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/servicesnippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_imperative/servicesnippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/servicesnippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_imperative/servicesnippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/hostapp.vb b/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/hostapp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/hostapp.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/hostapp.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/vb/wholeenchilada.vb b/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/wholeenchilada.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_selfhost/vb/wholeenchilada.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_selfhost/wholeenchilada.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uebinding/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uebinding/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uebinding/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uebinding/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uechannels/vb/servicesnippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uechannels/servicesnippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uechannels/vb/servicesnippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uechannels/servicesnippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/samlattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/samlattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/samlattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/samlattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactions/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactions/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactions/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactions/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.names/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.names/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.names/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.names/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.names/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.names/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.names/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.names/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.session/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.session/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.session/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.session/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.session/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.session/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/sca.session/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/sca.session/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/vb/samlsecuritytokenprovider.vb b/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/samlsecuritytokenprovider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/vb/samlsecuritytokenprovider.vb rename to snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/samlsecuritytokenprovider.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vb b/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/hostapplication.vb b/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/hostapplication.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/hostapplication.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/hostapplication.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/proxycode.vb b/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/proxycode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/proxycode.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/proxycode.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/services.vb b/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/services.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/services.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/services.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb b/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb rename to snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/style_and_use/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/style_and_use/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/style_and_use/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/style_and_use/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/vb/committabletxwithsql.vb b/snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/committabletxwithsql.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/vb/committabletxwithsql.vb rename to snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/committabletxwithsql.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/vb/dependenttx.vb b/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/dependenttx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/vb/dependenttx.vb rename to snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/dependenttx.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb b/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb rename to snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/vb/txoutcome.vb b/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/txoutcome.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/tx_outcome/vb/txoutcome.vb rename to snippets/visualbasic/VS_Snippets_CFX/tx_outcome/txoutcome.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/vb/actionfilter.vb b/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/actionfilter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/vb/actionfilter.vb rename to snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/actionfilter.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet1.vb b/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet1.vb rename to snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet2.vb b/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet2.vb rename to snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet2.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplate/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplate/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplate/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplate/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplateequivalencecomparer/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplateequivalencecomparer/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplateequivalencecomparer/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplateequivalencecomparer/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplatematch/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/vb/program1.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/vb/program1.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/uritemplatetable/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/vb/mytokenauthenticator.vb b/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/mytokenauthenticator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/vb/mytokenauthenticator.vb rename to snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/mytokenauthenticator.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/program.vb b/snippets/visualbasic/VS_Snippets_CFX/webservicehost/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CFX/webservicehost/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/webservicehost/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/webservicehost/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/consolewritelineactivity.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/consolewritelineactivity.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/vb/consolewritelineactivity.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_activities_project/consolewritelineactivity.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/iorderservice.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/iorderservice.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/iorderservice.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/iorderservice.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/ioutlook.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/ioutlook.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/ioutlook.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/ioutlook.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets1.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets11.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets11.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets19.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets19.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets19.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets24.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets38.vb b/snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets38.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets38.vb rename to snippets/visualbasic/VS_Snippets_CFX/wf_samples/snippets38.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb b/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb rename to snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb b/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb rename to snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/vb/xmlserializerformat_example.vb b/snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/xmlserializerformat_example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/vb/xmlserializerformat_example.vb rename to snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/xmlserializerformat_example.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/vb/source.vb b/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb b/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb rename to snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb diff --git a/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb b/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb rename to snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoAddInAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoAddInAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoContractToViewAddInAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoContractToViewAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoContractToViewAddInAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoContractToViewAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoViewToContractAddInAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoViewToContractAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/BookInfoViewToContractAddInAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/BookInfoViewToContractAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/LibraryManagerViewToContractAddInAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/LibraryManagerViewToContractAddInAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/vb/LibraryManagerViewToContractAddInAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/LibraryManagerViewToContractAddInAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/vb/Program.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHost/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoContractToViewHostAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoContractToViewHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoContractToViewHostAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoContractToViewHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoHostAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoHostAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoViewToContractHostAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoViewToContractHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/BookInfoViewToContractHostAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/BookInfoViewToContractHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/LibraryManagerContractToViewHostAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/LibraryManagerContractToViewHostAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/vb/LibraryManagerContractToViewHostAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/LibraryManagerContractToViewHostAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1ViewToContractAddInSideAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/Calc1ViewToContractAddInSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/vb/Calc1ViewToContractAddInSideAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInSideAdapters/Calc1ViewToContractAddInSideAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/Calc1AddInView.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/vb/Calc1AddInView.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP1AddInViews/Calc1AddInView.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/ICalc1Contract.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/ICalc1Contract.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/vb/ICalc1Contract.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP1Contract/ICalc1Contract.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1ContractToViewHostSideAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/Calc1ContractToViewHostSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/vb/Calc1ContractToViewHostSideAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP1HostSideAdapters/Calc1ContractToViewHostSideAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/AddInCalcV2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/vb/AddInCalcV2.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP2AddInCalcV2/AddInCalcV2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2ContractToViewHostSideAdapter.vb b/snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/Calc2ContractToViewHostSideAdapter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/vb/Calc2ContractToViewHostSideAdapter.vb rename to snippets/visualbasic/VS_Snippets_CLR/AddInP2HostSideAdapters/Calc2ContractToViewHostSideAdapter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/vb/Sample.vb b/snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/Sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/vb/Sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/AppDomainUnloadedException/Sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ArgumentException/vb/program2.vb b/snippets/visualbasic/VS_Snippets_CLR/ArgumentException/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ArgumentException/vb/program2.vb rename to snippets/visualbasic/VS_Snippets_CLR/ArgumentException/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_ConvertAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_FindEtAl/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_FindIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_FindLastIndex/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_LastIndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_Sort2IntIntIComparer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_SortComparison/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_SortIntIntIComparer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_SortSearch/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Array_SortSearchComparer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb b/snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/24895.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/vb/24895.vb rename to snippets/visualbasic/VS_Snippets_CLR/AssemblyBuilderClass/24895.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/AssemblyClass/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/AssemblyDelaySignAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR/AssemblyName.Version/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb b/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example3.vb rename to snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb b/snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/vb/example4.vb rename to snippets/visualbasic/VS_Snippets_CLR/Asynchronous_File_IO_async/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/CodeDomHelloWorldSample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/dataprotectionsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/vb/dataprotectionsample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.DataProtectionSample/dataprotectionsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/memoryprotectionsample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/vb/memoryprotectionsample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/memoryprotectionsample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.DataReference/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedData/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb b/snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/ks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/vb/ks.vb rename to snippets/visualbasic/VS_Snippets_CLR/DateTime.Kind_Suite/ks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/vb/sls.vb b/snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/sls.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/vb/sls.vb rename to snippets/visualbasic/VS_Snippets_CLR/DateTime.ToShortLongString/sls.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/DefineDynamicAssemblyWithAttributes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/DefineManifestResource/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/vb/referenceequals.vb b/snippets/visualbasic/VS_Snippets_CLR/ECMA-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/VS_Snippets_CLR/ECMA-System.Object.ReferenceEquals/referenceequals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/vb/Composite1.vb b/snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/Composite1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/vb/Composite1.vb rename to snippets/visualbasic/VS_Snippets_CLR/Formatting.Composite/Composite1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/GCNotification/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/GCNotification/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/GCNotification/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Generic.LinkedList/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Generic.Queue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Generic.Stack/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/vb/hmacripemd160.vb b/snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/hmacripemd160.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/vb/hmacripemd160.vb rename to snippets/visualbasic/VS_Snippets_CLR/HMACRIPEMD160/hmacripemd160.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/vb/hmacsha256.vb b/snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/hmacsha256.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/vb/hmacsha256.vb rename to snippets/visualbasic/VS_Snippets_CLR/HMACSHA256/hmacsha256.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/vb/hmacsha384.vb b/snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/hmacsha384.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/vb/hmacsha384.vb rename to snippets/visualbasic/VS_Snippets_CLR/HMACSHA384/hmacsha384.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/vb/hmacsha512.vb b/snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/hmacsha512.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/vb/hmacsha512.vb rename to snippets/visualbasic/VS_Snippets_CLR/HMACSHA512/hmacsha512.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/HttpParseException/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/HttpParseException/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/HttpParseException/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/vb/CopyDir.vb b/snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/CopyDir.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/vb/CopyDir.vb rename to snippets/visualbasic/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/CopyDir.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/IO.FileInfo.Exists/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/IO.FileInfo.Exists/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/KeyedCollection2/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_AsReadOnly/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_Class/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Class/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_Class/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_ConvertAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_CopyTo/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_FindEtAl/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_IndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_LastIndexOf/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_Ranges/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_Reverse/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_SortComparison/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearch/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparer/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/List`1_SortSearchComparerRange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/MethodBuilder.MakeGenericMethod/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle.ctor/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/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/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle-ctor/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/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/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb b/snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/missingmethodexception.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/vb/missingmethodexception.vb rename to snippets/visualbasic/VS_Snippets_CLR/MissingMethodException/missingmethodexception.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Module.MethodResolve/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/vb/numberformatinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/numberformatinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/vb/numberformatinfo.vb rename to snippets/visualbasic/VS_Snippets_CLR/NumberFormatInfo/numberformatinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/NumberStyles/vb/numberstyles.vb b/snippets/visualbasic/VS_Snippets_CLR/NumberStyles/numberstyles.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/NumberStyles/vb/numberstyles.vb rename to snippets/visualbasic/VS_Snippets_CLR/NumberStyles/numberstyles.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/ObfuscateAssemblyAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/ObfuscationAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObjectX/vb/objectX.vb b/snippets/visualbasic/VS_Snippets_CLR/ObjectX/objectX.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObjectX/vb/objectX.vb rename to snippets/visualbasic/VS_Snippets_CLR/ObjectX/objectX.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/vb/obsoleteattributeex1.vb b/snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/obsoleteattributeex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/vb/obsoleteattributeex1.vb rename to snippets/visualbasic/VS_Snippets_CLR/ObsoleteAttribute/obsoleteattributeex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_CLR/ParseMethod/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ParseMethod/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_CLR/ParseMethod/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb b/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb rename to snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/example2.vb b/snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/vb/example2.vb rename to snippets/visualbasic/VS_Snippets_CLR/PropertyInfo.SetValue/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb b/snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/ripemd160.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/vb/ripemd160.vb rename to snippets/visualbasic/VS_Snippets_CLR/RIPEMD160/ripemd160.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Regex.Replace-Instance/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.Equals/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.Equals/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.GetObjectValue/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.CompilerServices.RuntimeHelpers.GetObjectValue/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetITypeInfoForType/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetLastWin32Error/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetLastWin32Error/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/SafeHandle.SafeFileHandle/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb b/snippets/visualbasic/VS_Snippets_CLR/StringInfo/stringinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/StringInfo/vb/stringinfo.vb rename to snippets/visualbasic/VS_Snippets_CLR/StringInfo/stringinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_CLR/WeakReference/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/WeakReference/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_CLR/WeakReference/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb b/snippets/visualbasic/VS_Snippets_CLR/addinP3Host/p3host.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/addinP3Host/vb/p3host.vb rename to snippets/visualbasic/VS_Snippets_CLR/addinP3Host/p3host.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/aescryptoservprovider/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/aesmanaged/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aesmanaged/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/aesmanaged/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/aessample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/aessample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/aessample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/codedomprovider.provideroptions/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/collections.arraylist.getenumerator/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/collections.arraylist.getenumerator/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/conceptual.isolatedstorage/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb b/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/vb/create1.vb rename to snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.resx/create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/createresources.vb b/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/createresources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/createresources.vb rename to snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/createresources.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/getstream.vb b/snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/getstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/vb/getstream.vb rename to snippets/visualbasic/VS_Snippets_CLR/conceptual.resources.retrieving/getstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb b/snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/ckp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/vb/ckp.vb rename to snippets/visualbasic/VS_Snippets_CLR/console.cancelkeypress/ckp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb b/snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/wl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/vb/wl.vb rename to snippets/visualbasic/VS_Snippets_CLR/console.writelineFmt1/wl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/contract.forallexample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/contractexample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/contractexample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/contractexample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb b/snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/vb/class1.vb rename to snippets/visualbasic/VS_Snippets_CLR/cryptography.dataprotector/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb b/snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/vb/class1.vb rename to snippets/visualbasic/VS_Snippets_CLR/cryptography.memoryprotector/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/ecdiffiehellmancng/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/ecdsacng/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/ecdsacng/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/ecdsacng/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/ecdsacng/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/vb/ff.vb b/snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/ff.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/vb/ff.vb rename to snippets/visualbasic/VS_Snippets_CLR/environment.FailFast/ff.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/etwtrace/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/etwtrace/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/etwtrace/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1nodata.vb b/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/module1nodata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1nodata.vb rename to snippets/visualbasic/VS_Snippets_CLR/eventsoverview/module1nodata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb b/snippets/visualbasic/VS_Snippets_CLR/eventsoverview/module1withdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/eventsoverview/vb/module1withdata.vb rename to snippets/visualbasic/VS_Snippets_CLR/eventsoverview/module1withdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/filecopydelete/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/filecopydelete/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/filecopydelete/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/generic.ReadOnlyCollection/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/keyedhashalgorithm/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR/list`1_find_methods/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.openexisting/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/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/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.openexisting/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/onexitsample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/onexitsample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/onexitsample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/onexitsample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb b/snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/snippet8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/vb/snippet8.vb rename to snippets/visualbasic/VS_Snippets_CLR/regex match, nextmatch, groups, captures/snippet8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb b/snippets/visualbasic/VS_Snippets_CLR/rfc28981/rfc28981.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/rfc28981/vb/rfc28981.vb rename to snippets/visualbasic/VS_Snippets_CLR/rfc28981/rfc28981.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module2.vb b/snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/vb/module2.vb rename to snippets/visualbasic/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/stackframesample2/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/stackframesample2/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/stackframesample2/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/stackframesample2/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR/streamreadwrite/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/vb/nd.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/nd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/vb/nd.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.glob.NFI.nativeDigits/nd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/sl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/vb/sl.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.glob.carib.saveLdml/sl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/calendar2.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/calendar2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/calendar2.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/calendar2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/pcal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/vb/pcal.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.glob.persianCal/pcal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.compare/vb/skcmp.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.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/VS_Snippets_CLR/sys.glob.sortkey.compare/skcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/ts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/vb/ts.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.glob.sortkey.tostring/ts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.glob.textinfo.clone/vb/ro.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.glob.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/VS_Snippets_CLR/sys.glob.textinfo.clone/ro.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/edCvt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/vb/edCvt.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.EncoderDecoder.convert/edCvt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/fallDecExc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/vb/fallDecExc.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecExc/fallDecExc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/vb/fallDecRpl.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/fallDecRpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/vb/fallDecRpl.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackDecRpl/fallDecRpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/fallEncExc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/vb/fallEncExc.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncExc/fallEncExc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/fallEncRpl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/vb/fallEncRpl.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.fallbackEncRpl/fallEncRpl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/genFishRegex.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/genFishRegex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/genFishRegex.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/genFishRegex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/useFishRegex.vb b/snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/useFishRegex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/vb/useFishRegex.vb rename to snippets/visualbasic/VS_Snippets_CLR/sys.txt.rgxCompInfo/useFishRegex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/thread.sleep/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/thread.sleep/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/thread.sleep/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/thread.sleep/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR/thread.sleep_timespan/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/vbprovider.provideroptions/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR/windowsidentity impersonation2/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/x509certificate2/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509certificate2/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509certificate2/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/remarks.vb b/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/remarks.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509chaintest/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb b/snippets/visualbasic/VS_Snippets_CLR/x509chaintest/x509chaintest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509chaintest/vb/x509chaintest.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509chaintest/x509chaintest.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb b/snippets/visualbasic/VS_Snippets_CLR/x509store2/storenames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/storenames1.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509store2/storenames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb b/snippets/visualbasic/VS_Snippets_CLR/x509store2/x509store2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509store2/vb/x509store2.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509store2/x509store2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR/x509storename/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR/x509storename/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR/x509storename/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR/x509storename/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb b/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.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/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/cancelthreads.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/DateStart1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/DateStart1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/action.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/action.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/Action1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/Action1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/action2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/action2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Action3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Action3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Action4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Action4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/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/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/hashtable_example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/iordereddictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/ienumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/ienumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/Conversion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/Conversion.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/MinValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/MinValue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/Constructors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/Constructors.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/Methods3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/Operators.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/Operators.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/Properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/Properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/Syntax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/Syntax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/Type.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/Type.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Func1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Func1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/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/VS_Snippets_CLR_System/system.Func~2/Func2_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Func3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/Func3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Func4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Func4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Func5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Func5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/EqualsExample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/EqualsExample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/searchoption.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/searchoption.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/touch.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/touch.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Application.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Application.Designer.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Form1.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Form1.Designer.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Form1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/vb/Form1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/vb/Form1.Designer.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/vb/Form1.Designer.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/vb/Form1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/vb/Form1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wf2/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/vb/Application.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/Application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/vb/Application.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/Application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/vb/MainWindow.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/MainWindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/vb/MainWindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf1/MainWindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/vb/Application.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/Application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/vb/Application.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/Application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/vb/MainWindowDispatcher.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/MainWindowDispatcher.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/vb/MainWindowDispatcher.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Invalidoperationexception.threading.wpf2/MainWindowDispatcher.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/ILookup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/ILookup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/BigInteger_Examples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/Implicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/System.Numeric.BigInteger.Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/System.Numeric.BigInteger.ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/System.Numeric.BigInteger.TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicateex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicateex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicateex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/predicateex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/cmpcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/cmpcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/ewcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/ewcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/vb/Example2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/vb/Example2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/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/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/Constructors2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/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/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/constructors1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/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/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/classexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/classexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/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/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/System.TimeSpan.FromMinutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/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/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/System.TimeZone2.AdjustmentRule.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/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/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/System.TimeZone2.BestPractices.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/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/VS_Snippets_CLR_System/system.TimeZone2.Conversions/System.TimeZone2.Conversions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/convertdt2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/convertdt2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/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/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/System.TimeZone2.CreateTimeZone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetAmbiguousTimeOffsets/vb/System.TimeZone2.GetAmbiguousTimeOffsets.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.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/VS_Snippets_CLR_System/system.TimeZone2.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/VS_Snippets_CLR_System/system.TimeZone2.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/VS_Snippets_CLR_System/system.TimeZone2.GetUtcOffset/System.TimeZone2.GetUtcOffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/HasSameRules.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/HasSameRules.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/IsDaylightSavingTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/IsDaylightSavingTime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/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/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/System.TimeZone2.TransitionTime.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/TimeZoneNotFoundException.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/TimeZoneNotFoundException.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/exists3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/findall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/findall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/trueforall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/trueforall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/trueforall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/trueforall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/blockingcoll.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/blockingcoll.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/concdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/concdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/concqueue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/concqueue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/concstack_range.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/concstack_single.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/iprodcon.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/iprodcon.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/orderablepartitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/orderablepartitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/partitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/partitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.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/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/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/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/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/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR_System/system.collections.generic.list.contains/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/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/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR_System/system.collections.generic.list.sort/Sort1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR_System/system.collections.generic.list.sort/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/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/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/comparisont1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/comparisont1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/viewtextfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/viewtextfile.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/foregroundcolor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/foregroundcolor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/todecimal3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/tostring7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/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/VS_Snippets_CLR_System/system.convert.tostring2/tostring_obj30.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/ctorexample9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.decimal.ctor/ctor2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.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/VS_Snippets_CLR_System/system.decimal.operators.explicit/tosbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.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/VS_Snippets_CLR_System/system.decimal.operators.explicit/tosingle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/addition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/addition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/decrement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/decrement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/decrement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/decrement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/division1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/division1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/equality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/equality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/greaterthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/increment1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/increment1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/increment2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/increment2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/inequality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/lessthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/modulus1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/modulus1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/osinfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/osinfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/ct.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/ct.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.guid.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.guid.ctor/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/vb/App.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/App.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/vb/App.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/App.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/vb/MainPage.xaml.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/MainPage.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/vb/MainPage.xaml.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.invalidoperationexception.threading.uwp/MainPage.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/observer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/observer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/provider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/provider.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.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/VS_Snippets_CLR_System/system.lazy`1.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/eq.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/eq.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/gvod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/gvod.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/ts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/ts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/tarow.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/tarow.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/gut.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.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/VS_Snippets_CLR_System/system.nullable~1.hasvalue/hasvalue2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/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/VS_Snippets_CLR_System/system.obsoleteattribute.message/obsoleteattribute_message.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/getvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/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/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/Operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/parseex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/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/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/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/VS_Snippets_CLR_System/system.securityexception.class/se_ex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/ewci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/ewci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/iocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/iocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/liocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/liocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/swci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/swci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/cancel1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/cancel1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/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/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/foreach1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/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/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/rangepart.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/break1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/break1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/stop1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/stop1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.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/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/continuewhenall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.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/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/continuewhenall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/run3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/run4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/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/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/startnew3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/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/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/fromresult1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/Run11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/Run28.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/Run7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/Run9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/run2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/run3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/run3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/run4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/run4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/run5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/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/VS_Snippets_CLR_System/system.threading.tasks.task.run/run6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/taskcompletionsource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/taskcompletionsource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/threadlocal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/threadlocal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/Subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/Subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/operators1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/createntuple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/createntuple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/ctor8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/ctor8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.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/VS_Snippets_CLR_System/system.tuple`1.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.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/VS_Snippets_CLR_System/system.tuple`2.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.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/VS_Snippets_CLR_System/system.tuple`2.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.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/VS_Snippets_CLR_System/system.tuple`2.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.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/VS_Snippets_CLR_System/system.tuple`2.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.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/VS_Snippets_CLR_System/system.tuple`2.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.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/VS_Snippets_CLR_System/system.tuple`3.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.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/VS_Snippets_CLR_System/system.tuple`3.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.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/VS_Snippets_CLR_System/system.tuple`3.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.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/VS_Snippets_CLR_System/system.tuple`3.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.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/VS_Snippets_CLR_System/system.tuple`3.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.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/VS_Snippets_CLR_System/system.tuple`4.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.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/VS_Snippets_CLR_System/system.tuple`5.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.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/VS_Snippets_CLR_System/system.tuple`7.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/octuple1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/octuple1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.compareto/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.compareto/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.item1/rest.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.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/VS_Snippets_CLR_System/system.tuple`8.tostring/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/isnestedfamilyandassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/isnestedfamilyandassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/fullname1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/fullname1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/rev.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb rename to snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/rev.vb diff --git a/snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/vb/FxCop.Reliability.ReliabilityContract.vb b/snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/FxCop.Reliability.ReliabilityContract.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/vb/FxCop.Reliability.ReliabilityContract.vb rename to snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/FxCop.Reliability.ReliabilityContract.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqNTier/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/Module1.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/Module1.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqSprox/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/northwind-sprox.vb b/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/northwind-sprox.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/northwind-sprox.vb rename to snippets/visualbasic/VS_Snippets_Data/DLinqSprox/northwind-sprox.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/XPathXMLExamples/vb/xpathexpression.addsort.vb b/snippets/visualbasic/VS_Snippets_Data/XPathXMLExamples/xpathexpression.addsort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/XPathXMLExamples/vb/xpathexpression.addsort.vb rename to snippets/visualbasic/VS_Snippets_Data/XPathXMLExamples/xpathexpression.addsort.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlconvert.newverify/vb/xmlconvertnewverify.vb b/snippets/visualbasic/VS_Snippets_Data/xmlconvert.newverify/xmlconvertnewverify.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlconvert.newverify/vb/xmlconvertnewverify.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlconvert.newverify/xmlconvertnewverify.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/constants.vb b/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/constants.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/constants.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/constants.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/form1.designer.vb b/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/form1.designer.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/xmlhelpermethods.vb b/snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/xmlhelpermethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/vb/xmlhelpermethods.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlprocessingapp/xmlhelpermethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Data/xmlschematype/vb/getbuiltinsimpletype.vb b/snippets/visualbasic/VS_Snippets_Data/xmlschematype/getbuiltinsimpletype.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Data/xmlschematype/vb/getbuiltinsimpletype.vb rename to snippets/visualbasic/VS_Snippets_Data/xmlschematype/getbuiltinsimpletype.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/default.aspx.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/default.aspx.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/default.aspx.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/default.aspx.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.objects.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.objects.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.objects.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.objects.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.svc.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.svc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/northwind.svc.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/northwind.svc.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/orderitems.svc.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/orderitems.svc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/orderitems.svc.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/orderitems.svc.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/clientcredentials.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentials.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/clientcredentials.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/clientcredentialslogin.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/clientcredentialslogin.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/clientcredentialslogin.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customeraddress.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customeraddress.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customeraddress.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customeraddress.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders2.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders2.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorders2.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorders2.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerordersasync.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerordersasync.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerordersasync.xaml.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/customerorderscustom.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderscustom2.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf2.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf3.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/customerorderswpf3.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/customerorderswpf3.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwind.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/northwind.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/program.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/program.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/program.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/salesorders.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/salesorders.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/salesorders.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/default.aspx.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/default.aspx.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/default.aspx.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/default.aspx.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.designer.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.designer.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.svc.vb b/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.svc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.svc.vb rename to snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.svc.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/importandexport/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Misc/importandexport/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/importandexport/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Misc/importandexport/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/vb/courseandspeed.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/courseandspeed.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/vb/courseandspeed.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/courseandspeed.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/vb/GetLocationDataAsync.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/GetLocationDataAsync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/vb/GetLocationDataAsync.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/GetLocationDataAsync.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/vb/GetLocationDataSync.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/GetLocationDataSync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/vb/GetLocationDataSync.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/GetLocationDataSync.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/vb/GetLocationDataSyncHandleUnknown.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/GetLocationDataSyncHandleUnknown.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/vb/GetLocationDataSyncHandleUnknown.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/GetLocationDataSyncHandleUnknown.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/vb/GetLocationDataUpdateOnce.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/GetLocationDataUpdateOnce.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/vb/GetLocationDataUpdateOnce.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/GetLocationDataUpdateOnce.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/vb/locationevent.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/locationevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/vb/locationevent.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/locationevent.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/vb/ShowStatusUpdates.vb b/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/ShowStatusUpdates.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/vb/ShowStatusUpdates.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/ShowStatusUpdates.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/vb/source.vb b/snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/vb/source.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/vb/source.vb b/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/vb/source.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/vb/source.vb b/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/vb/source.vb rename to snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/source.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl/vb/10_returnavalue.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl/10_returnavalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl/vb/10_returnavalue.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl/10_returnavalue.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/vb/continuationstate.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/continuationstate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/vb/continuationstate.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/continuationstate.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/flatten2.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/flatten2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/flatten2.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/flatten2.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/handlemethod2.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/handlemethod2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/handlemethod2.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/handlemethod2.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/taskexceptions.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/taskexceptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/taskexceptions.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/taskexceptions.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/taskexceptions2.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/taskexceptions2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/vb/taskexceptions2.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_exceptions/taskexceptions2.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factories_vb.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factories_vb.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factories_vb.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factories_vb.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factoriestresult.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factoriestresult.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factoriestresult.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factoriestresult.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/vb/module2.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/vb/module2.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/vb/Application.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/Application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/vb/Application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/Application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/vb/MainWindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/MainWindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/vb/MainWindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpl_synccontext/MainWindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb b/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb rename to snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb b/snippets/visualbasic/VS_Snippets_Remoting/NCLListener/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLListener/vb/sample.vb rename to snippets/visualbasic/VS_Snippets_Remoting/NCLListener/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb b/snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/mail.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/vb/mail.vb rename to snippets/visualbasic/VS_Snippets_Remoting/NCLMailSync/mail.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb b/snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/mailasync.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/vb/mailasync.vb rename to snippets/visualbasic/VS_Snippets_Remoting/NclMailASync/mailasync.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb b/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/dnsnewmethods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb rename to snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/dnsnewmethods.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb b/snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/ScopeWithSQL.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/vb/ScopeWithSQL.vb rename to snippets/visualbasic/VS_Snippets_Remoting/TransactionScope/ScopeWithSQL.vb diff --git a/snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/vb/source.vb b/snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/vb/source.vb rename to snippets/visualbasic/VS_Snippets_Remoting/XmlTextAttribute/source.vb diff --git a/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb b/snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/callerinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/vb/callerinfo.vb rename to snippets/visualbasic/VS_Snippets_VBCSharp/csProgGuideAttributes/callerinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/vb/TextControlDesigner.vb b/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/TextControlDesigner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/vb/TextControlDesigner.vb rename to snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/TextControlDesigner.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/CustomHtmlTextAreaRenderAttributes/vb/custom_htmltextarea_renderattributes.vb b/snippets/visualbasic/VS_Snippets_WebNet/CustomHtmlTextAreaRenderAttributes/custom_htmltextarea_renderattributes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/CustomHtmlTextAreaRenderAttributes/vb/custom_htmltextarea_renderattributes.vb rename to snippets/visualbasic/VS_Snippets_WebNet/CustomHtmlTextAreaRenderAttributes/custom_htmltextarea_renderattributes.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/HtmlSelectBuilder/vb/source.vb b/snippets/visualbasic/VS_Snippets_WebNet/HtmlSelectBuilder/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/HtmlSelectBuilder/vb/source.vb rename to snippets/visualbasic/VS_Snippets_WebNet/HtmlSelectBuilder/source.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/HttpUtility_ParseQueryString/vb/httputility_parsequerystring.vb b/snippets/visualbasic/VS_Snippets_WebNet/HttpUtility_ParseQueryString/httputility_parsequerystring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/HttpUtility_ParseQueryString/vb/httputility_parsequerystring.vb rename to snippets/visualbasic/VS_Snippets_WebNet/HttpUtility_ParseQueryString/httputility_parsequerystring.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/vb/SampleConfigurationBuilder.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/SampleConfigurationBuilder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/vb/SampleConfigurationBuilder.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/SampleConfigurationBuilder.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/vb/ProductModelProductDescription.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/ProductModelProductDescription.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/vb/ProductModelProductDescription.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/ProductModelProductDescription.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpApplication1/vb/source.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpApplication1/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpApplication1/vb/source.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpApplication1/source.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpContext.User/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpContext.User/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpContext.User/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpContext.User/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpRequest_AnonymousID/vb/global_asax.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpRequest_AnonymousID/global_asax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpRequest_AnonymousID/vb/global_asax.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpRequest_AnonymousID/global_asax.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpResponse.Write/vb/systemwebhttpresponsewrite.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpResponse.Write/systemwebhttpresponsewrite.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpResponse.Write/vb/systemwebhttpresponsewrite.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.HttpResponse.Write/systemwebhttpresponsewrite.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ChtmlTextWriter_Sample4/vb/chtmltextwriter.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ChtmlTextWriter_Sample4/chtmltextwriter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ChtmlTextWriter_Sample4/vb/chtmltextwriter.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ChtmlTextWriter_Sample4/chtmltextwriter.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ClientScriptManager4/vb/resource.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ClientScriptManager4/resource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ClientScriptManager4/vb/resource.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.ClientScriptManager4/resource.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page.AsyncTimeout/vb/page_asynctask.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page.AsyncTimeout/page_asynctask.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page.AsyncTimeout/vb/page_asynctask.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page.AsyncTimeout/page_asynctask.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_Overview/vb/pageexample.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_Overview/pageexample.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_Overview/vb/pageexample.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_Overview/pageexample.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_VerifyRenderingInServerForm/vb/testlinkbutton.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_VerifyRenderingInServerForm/testlinkbutton.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_VerifyRenderingInServerForm/vb/testlinkbutton.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.Page_VerifyRenderingInServerForm/testlinkbutton.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstance/vb/templateinstance.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstance/templateinstance.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstance/vb/templateinstance.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstance/templateinstance.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstanceAttribute/vb/templateinstanceattribute.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstanceAttribute/templateinstanceattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstanceAttribute/vb/templateinstanceattribute.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.TemplateInstanceAttribute/templateinstanceattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.VerificationAttribute/vb/VerificationAttributeExample.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.VerificationAttribute/VerificationAttributeExample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.VerificationAttribute/vb/VerificationAttributeExample.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.VerificationAttribute/VerificationAttributeExample.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.ContextCreating/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.ContextCreating/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.ContextCreating/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.ContextCreating/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Deleting/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Deleting/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Deleting/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Deleting/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Insert/vb/Default2.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Insert/Default2.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Insert/vb/Default2.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Insert/Default2.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Inserting/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Inserting/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Inserting/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Inserting/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Update/vb/Default3.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Update/Default3.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Update/vb/Default3.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Update/Default3.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Updating/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Updating/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Updating/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSource.Updating/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/vb/Default3.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/Default3.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/vb/Default3.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/Default3.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/vb/default2.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/default2.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/vb/default2.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceSelectEventArgs/default2.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceStatusEventArgs.TotalRowCount/vb/Default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceStatusEventArgs.TotalRowCount/Default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceStatusEventArgs.TotalRowCount/vb/Default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebControls.LinqDataSourceStatusEventArgs.TotalRowCount/Default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebResourceAttribute/vb/WebResourceAttribute.vb b/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebResourceAttribute/WebResourceAttribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebResourceAttribute/vb/WebResourceAttribute.vb rename to snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.WebResourceAttribute/WebResourceAttribute.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl2/vb/templatedataboundcontrol.vb b/snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl2/templatedataboundcontrol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl2/vb/templatedataboundcontrol.vb rename to snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl2/templatedataboundcontrol.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl3/vb/customrepeater.vb b/snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl3/customrepeater.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl3/vb/customrepeater.vb rename to snippets/visualbasic/VS_Snippets_WebNet/TemplatedDataBoundControl3/customrepeater.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/vb/simplecontrolwithfilename.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/simplecontrolwithfilename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/vb/simplecontrolwithfilename.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/simplecontrolwithfilename.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/vb/simplecontrolwithfilename.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/simplecontrolwithfilename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/vb/simplecontrolwithfilename.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/simplecontrolwithfilename.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/vb/simplecontrolwithfilename.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/simplecontrolwithfilename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/vb/simplecontrolwithfilename.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/simplecontrolwithfilename.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/vb/connectionszonesample.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/connectionszonesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/vb/connectionszonesample.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/connectionszonesample.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/secreteditorpart.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/secreteditorpart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/secreteditorpart.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/secreteditorpart.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/vb/birthdaypart.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/birthdaypart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/vb/birthdaypart.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/birthdaypart.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/vb/prettypartmanager.vb b/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/prettypartmanager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/vb/prettypartmanager.vb rename to snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/prettypartmanager.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/vb/dynamicdatadynamichyperlink.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/dynamicdatadynamichyperlink.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/vb/dynamicdatadynamichyperlink.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/dynamicdatadynamichyperlink.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/vb/global.asax.vb b/snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/global.asax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/vb/global.asax.vb rename to snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/global.asax.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/queryextendercustomfiltering/vb/queryextendercustomfiltering.vb b/snippets/visualbasic/VS_Snippets_WebNet/queryextendercustomfiltering/queryextendercustomfiltering.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/queryextendercustomfiltering/vb/queryextendercustomfiltering.vb rename to snippets/visualbasic/VS_Snippets_WebNet/queryextendercustomfiltering/queryextendercustomfiltering.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/usingconfigurationcollectionelement.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/usingconfigurationcollectionelement.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/usingconfigurationcollectionelement.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/usingconfigurationcollectionelement.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/vb/configurationuserlevel.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/configurationuserlevel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/vb/configurationuserlevel.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/configurationuserlevel.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/vb/dynamicfilter.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/dynamicfilter.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/vb/dynamicfilter.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/dynamicfilter.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/vb/list.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/list.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/vb/list.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/list.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/awltpartiall2sclasses.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/awltpartiall2sclasses.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/awltpartiall2sclasses.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/awltpartiall2sclasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/queryablefilterrepeater.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/queryablefilterrepeater.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/queryablefilterrepeater.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/queryablefilterrepeater.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/vb/sampleclass.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/sampleclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/vb/sampleclass.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.htmlencode/sampleclass.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/vb/sampleclass.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/sampleclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/vb/sampleclass.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.mappath/sampleclass.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/vb/sampleclass.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/sampleclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/vb/sampleclass.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urldecode/sampleclass.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/vb/sampleclass.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/sampleclass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/vb/sampleclass.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.httpserverutility.urlencode/sampleclass.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/vb/default.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/default.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/vb/default.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/default.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/vb/product.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/product.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/vb/product.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/product.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/vb/showproducts.aspx.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/showproducts.aspx.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/vb/showproducts.aspx.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.ui.databinder.eval/showproducts.aspx.vb diff --git a/snippets/visualbasic/VS_Snippets_WebNet/system.web.util.requestvalidator/vb/requestvalidator.vb b/snippets/visualbasic/VS_Snippets_WebNet/system.web.util.requestvalidator/requestvalidator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WebNet/system.web.util.requestvalidator/vb/requestvalidator.vb rename to snippets/visualbasic/VS_Snippets_WebNet/system.web.util.requestvalidator/requestvalidator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/vb/Program.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/mpkcs_SignedCMS/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/CompletedEventArgs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/vb/CompletedEventArgs.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/CompletedEventArgs.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/CompletedEventHandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/vb/CompletedEventHandler.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/CompletedEventHandler.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/ConnectionOptions-9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/vb/ConnectionOptions-9.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/ConnectionOptions-9.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/ConnectionOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/vb/ConnectionOptions.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions/ConnectionOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/vb/ConnectionOptions_Authentication.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authentication/ConnectionOptions_Authentication.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/vb/ConnectionOptions_Authority.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Authority/ConnectionOptions_Authority.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/vb/ConnectionOptions_Impersonation.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Impersonation/ConnectionOptions_Impersonation.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/vb/ConnectionOptions_Locale.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_Locale/ConnectionOptions_Locale.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/vb/ConnectionOptions_Username.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/ConnectionOptions_Username.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/EnumerationOptions-10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/vb/EnumerationOptions-10.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/EnumerationOptions-10.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/EnumerationOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/vb/EnumerationOptions.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions/EnumerationOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/vb/EnumerationOptions_BlockSize.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_EnumerationOptions_BlockSize/EnumerationOptions_BlockSize.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/vb/EnumerationOptions_DirectRead.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_EnumerationOptions_DirectRead/EnumerationOptions_DirectRead.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/vb/EnumerationOptions_EnumerateDeep.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/EnumerationOptions_EnumerateDeep.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/EventArrivedEventArgs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/vb/EventArrivedEventArgs.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/EventArrivedEventArgs.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/EventArrivedEventHandler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/vb/EventArrivedEventHandler.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/EventArrivedEventHandler.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/EventQuery-1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/vb/EventQuery-1.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-1/EventQuery-1.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/EventQuery-2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/vb/EventQuery-2.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery-2/EventQuery-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/EventQuery.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/vb/EventQuery.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventQuery/EventQuery.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/vb/EventWatcherOptions-3.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/EventWatcherOptions-3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/vb/EventWatcherOptions-3.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/EventWatcherOptions-3.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/EventWatcherOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/vb/EventWatcherOptions.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/EventWatcherOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/vb/EventWatcherOptions_BlockSize.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/EventWatcherOptions_BlockSize.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/InstrumentationType.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/vb/InstrumentationType.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InstrumentationType/InstrumentationType.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/vb/InvokeMethodOptions-1.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/InvokeMethodOptions-1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/vb/InvokeMethodOptions-1.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/InvokeMethodOptions-1.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/vb/InvokeMethodOptions-2.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/InvokeMethodOptions-2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/vb/InvokeMethodOptions-2.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/InvokeMethodOptions-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/vb/InvokeMethodOptions.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/InvokeMethodOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/vb/InvokeMethodOptions.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/InvokeMethodOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/vb/ManagementBaseObject_ClassPath.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_ClassPath/ManagementBaseObject_ClassPath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/vb/ManagementBaseObject_GetPropertyQualifierValue.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyQualifierValue/ManagementBaseObject_GetPropertyQualifierValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/vb/ManagementBaseObject_GetPropertyValue.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetPropertyValue/ManagementBaseObject_GetPropertyValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/vb/ManagementBaseObject_GetQualifierValue.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetQualifierValue/ManagementBaseObject_GetQualifierValue.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/vb/ManagementBaseObject_GetText.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_GetText/ManagementBaseObject_GetText.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/vb/ManagementBaseObject_Item.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Item/ManagementBaseObject_Item.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/vb/ManagementBaseObject_Properties.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Properties/ManagementBaseObject_Properties.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/vb/ManagementBaseObject_Qualifiers.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_Qualifiers/ManagementBaseObject_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/vb/ManagementBaseObject_SystemProperties.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/ManagementBaseObject_SystemProperties.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/vb/ManagementClass-M.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/ManagementClass-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/vb/ManagementClass-M.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-M/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/ManagementClass-M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/vb/ManagementClass-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/ManagementClass-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/vb/ManagementClass-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S/ManagementClass-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/vb/ManagementClass-S_O.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/ManagementClass-S_S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/vb/ManagementClass.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/ManagementClass.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/vb/ManagementClass.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass/ManagementClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/vb/ManagementClass_CreateInstance.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_CreateInstance/ManagementClass_CreateInstance.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/vb/ManagementClass_Derivation.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_Derivation/ManagementClass_Derivation.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Derive/vb/ManagementClass_Derive.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/ManagementClass_GetInstances-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/vb/ManagementClass_GetInstances-M.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/ManagementClass_GetInstances-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances/vb/ManagementClass_GetInstances.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/ManagementClass_GetRelatedClasses-7.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/vb/ManagementClass_GetRelatedClasses.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses/ManagementClass_GetRelatedClasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelationshipClasses/vb/ManagementClass_GetRelationshipClasses.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/ManagementClass_GetStronglyTypedClassCode-2.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/vb/ManagementClass_GetStronglyTypedClassCode-3.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/ManagementClass_GetStronglyTypedClassCode-3.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/vb/ManagementClass_GetSubclasses-E.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/ManagementClass_GetSubclasses-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/vb/ManagementClass_GetSubclasses.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses/ManagementClass_GetSubclasses.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/vb/ManagementClass_Methods.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_Methods/ManagementClass_Methods.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/vb/ManagementClass_Path.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/ManagementClass_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/vb/ManagementDateTimeConverter_ToDateTime.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDateTime/ManagementDateTimeConverter_ToDateTime.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/vb/ManagementDateTimeConverter_ToDmtfDateTime.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfDateTime/ManagementDateTimeConverter_ToDmtfDateTime.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/vb/ManagementDateTimeConverter_ToDmtfTimeInterval.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToDmtfTimeInterval/ManagementDateTimeConverter_ToDmtfTimeInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/vb/ManagementDateTimeConverter_ToTimeSpan.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/ManagementDateTimeConverter_ToTimeSpan.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/vb/ManagementEventWatcher-E.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/ManagementEventWatcher-E.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/vb/ManagementEventWatcher-E.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/ManagementEventWatcher-E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/vb/ManagementEventWatcher-M_E.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/ManagementEventWatcher-M_E_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/vb/ManagementEventWatcher-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/ManagementEventWatcher-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/vb/ManagementEventWatcher-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/ManagementEventWatcher-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/vb/ManagementEventWatcher-S_S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/ManagementEventWatcher-S_S_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/ManagementEventWatcher.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/vb/ManagementEventWatcher.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/ManagementEventWatcher.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/vb/ManagementEventWatcher_Options.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Options/ManagementEventWatcher_Options.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/vb/ManagementEventWatcher_Query.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Query/ManagementEventWatcher_Query.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/vb/ManagementEventWatcher_Scope.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Scope/ManagementEventWatcher_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/vb/ManagementEventWatcher_Stop.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_Stop/ManagementEventWatcher_Stop.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/vb/ManagementEventWatcher_WaitForNextEvent.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/ManagementEventWatcher_WaitForNextEvent.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/vb/ManagementObject-M.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/ManagementObject-M.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/vb/ManagementObject-M.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-M/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/ManagementObject-M_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/vb/ManagementObject-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/ManagementObject-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/vb/ManagementObject-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S/ManagementObject-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/vb/ManagementObject-S_O.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/ManagementObject-S_S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/vb/ManagementObject.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/ManagementObject.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/vb/ManagementObject.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject/ManagementObject.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/vb/ManagementObjectEnumerator.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/ManagementObjectEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/vb/ManagementObjectEnumerator.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/ManagementObjectEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/vb/ManagementObjectSearcher-M_O.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/ManagementObjectSearcher-M_O_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/vb/ManagementObjectSearcher-O.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/ManagementObjectSearcher-O.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/vb/ManagementObjectSearcher-O.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/ManagementObjectSearcher-O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/vb/ManagementObjectSearcher-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/ManagementObjectSearcher-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/vb/ManagementObjectSearcher-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/ManagementObjectSearcher-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/vb/ManagementObjectSearcher-S_S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/ManagementObjectSearcher-S_S_E.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/vb/ManagementObjectSearcher_Get.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Get/ManagementObjectSearcher_Get.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/vb/ManagementObjectSearcher_Scope.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/ManagementObjectSearcher_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/vb/ManagementObject_GetMethod-M.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/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/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/ManagementObject_GetMethod-M.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/vb/ManagementObject_GetMethod.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/ManagementObject_GetMethod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/vb/ManagementObject_GetMethod.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/ManagementObject_GetMethod.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/vb/ManagementObject_GetRelated-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/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/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/ManagementObject_GetRelated-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated/vb/ManagementObject_GetRelated.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/ManagementObject_InvokeMethod-S_O.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/vb/ManagementObject_Options.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObject_Options/ManagementObject_Options.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/ManagementObject_Path.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/vb/ManagementObject_Path.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/ManagementObject_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/vb/ManagementObject_Scope.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObject_Scope/ManagementObject_Scope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/ManagementOperationObserver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/vb/ManagementOperationObserver.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/ManagementOperationObserver.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/vb/ManagementOperationObserver_Completed.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_Completed/ManagementOperationObserver_Completed.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/vb/ManagementOperationObserver_ObjectReady.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/ManagementOperationObserver_ObjectReady.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/vb/ManagementPath-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/ManagementPath-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/vb/ManagementPath-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath-S/ManagementPath-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/vb/ManagementPath.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/ManagementPath.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/vb/ManagementPath.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath/ManagementPath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/vb/ManagementPath_ClassName.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_ClassName/ManagementPath_ClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/vb/ManagementPath_IsClass.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_IsClass/ManagementPath_IsClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/vb/ManagementPath_IsInstance.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_IsInstance/ManagementPath_IsInstance.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/vb/ManagementPath_NamespacePath.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_NamespacePath/ManagementPath_NamespacePath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/vb/ManagementPath_Path.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_Path/ManagementPath_Path.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/vb/ManagementPath_RelativePath.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_RelativePath/ManagementPath_RelativePath.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/vb/ManagementPath_Server.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/ManagementPath_Server.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/vb/ManagementQuery.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/ManagementQuery.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/vb/ManagementQuery.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/ManagementQuery.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/vb/ManagementScope-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/ManagementScope-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/vb/ManagementScope-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S/ManagementScope-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/vb/ManagementScope-S_C.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/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/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/ManagementScope-S_C.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/vb/ManagementScope.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/ManagementScope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/vb/ManagementScope.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope/ManagementScope.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/vb/ManagementScope_Connect.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/ManagementScope_Connect.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/vb/MethodData.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/MethodData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/vb/MethodData.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData/MethodData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/vb/MethodDataCollection.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/MethodDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/vb/MethodDataCollection.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataCollection/MethodDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/vb/MethodDataEnumerator.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/MethodDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/vb/MethodDataEnumerator.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/MethodDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/vb/MethodData_InParameters.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_MethodData_InParameters/MethodData_InParameters.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Name/vb/MethodData_Name.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_MethodData_Name/MethodData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/vb/MethodData_OutParameters.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_MethodData_OutParameters/MethodData_OutParameters.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/vb/MethodData_Qualifiers.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_MethodData_Qualifiers/MethodData_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/vb/PropertyData.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/PropertyData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/vb/PropertyData.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData/PropertyData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/vb/PropertyDataCollection.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/PropertyDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/vb/PropertyDataCollection.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/PropertyDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/vb/PropertyDataCollection_Item.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/PropertyDataCollection_Item.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/vb/PropertyDataEnumerator.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/PropertyDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/vb/PropertyDataEnumerator.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/PropertyDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Name/vb/PropertyData_Name.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_PropertyData_Name/PropertyData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/vb/PropertyData_Qualifiers.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_PropertyData_Qualifiers/PropertyData_Qualifiers.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Type/vb/PropertyData_Type.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_PropertyData_Type/PropertyData_Type.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_PropertyData_Value/vb/PropertyData_Value.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_PropertyData_Value/PropertyData_Value.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/vb/QualifierData.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/QualifierData.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/vb/QualifierData.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData/QualifierData.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/vb/QualifierDataCollection.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/QualifierDataCollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/vb/QualifierDataCollection.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/QualifierDataCollection.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/vb/QualifierDataEnumerator.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/QualifierDataEnumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/vb/QualifierDataEnumerator.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/QualifierDataEnumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Name/vb/QualifierData_Name.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_QualifierData_Name/QualifierData_Name.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_QualifierData_Value/vb/QualifierData_Value.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_QualifierData_Value/QualifierData_Value.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/vb/RelatedObjectQuery_RelatedClass.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelatedClass/RelatedObjectQuery_RelatedClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/vb/RelatedObjectQuery_RelationshipClass.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/RelatedObjectQuery_RelationshipClass.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/vb/RelationshipQuery-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/RelationshipQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/vb/RelationshipQuery-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/RelationshipQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/vb/SelectQuery-B_S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/SelectQuery-B_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/vb/SelectQuery-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/SelectQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/vb/SelectQuery-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S/SelectQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/vb/SelectQuery-S_S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/SelectQuery-S_S_S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/vb/SelectQuery_ClassName.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_SelectQuery_ClassName/SelectQuery_ClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/vb/SelectQuery_QueryString.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/SelectQuery_QueryString.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/vb/WqlEventQuery-S.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/WqlEventQuery-S.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/vb/WqlEventQuery-S.vb rename to snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/WqlEventQuery-S.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/vb/WqlEventQuery-S_T.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_Condition/WqlEventQuery_Condition.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/vb/WqlEventQuery_EventClassName.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_EventClassName/WqlEventQuery_EventClassName.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/vb/WqlEventQuery_GroupByPropertyList.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupByPropertyList/WqlEventQuery_GroupByPropertyList.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/vb/WqlEventQuery_GroupWithinInterval.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_GroupWithinInterval/WqlEventQuery_GroupWithinInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/vb/WqlEventQuery_HavingCondition.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_HavingCondition/WqlEventQuery_HavingCondition.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/vb/WqlEventQuery_QueryString.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_QueryString/WqlEventQuery_QueryString.vb diff --git a/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/vb/WqlEventQuery_WithinInterval.vb b/snippets/visualbasic/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/WqlEventQuery_WithinInterval.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Clipboard/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/System.Windows.Forms.Control.IsInputKey/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewComboBoxObjectBinding/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/fillcolumns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/vb/fillcolumns.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewFillColumnsDemo/fillcolumns.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/misc2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/vb/misc2.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewMisc2/misc2.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/sizingscenarios.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/vb/sizingscenarios.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSizingScenarios/sizingscenarios.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/VirtualMode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/vb/VirtualMode.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ListView.VirtualMode/VirtualMode.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/hvtsctoolstrip.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/vb/hvtsctoolstrip.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.MainToolStripExample/hvtsctoolstrip.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/vb/Form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripButton/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/vb/Form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.ToolStripToolTip/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/System.Windows.Forms.WebBrowser.ObjectForScripting/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb b/snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/ToolStripRadioButtonMenuItem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/vb/ToolStripRadioButtonMenuItem.vb rename to snippets/visualbasic/VS_Snippets_Winforms/ToolStripRadioButtonMenuItem/ToolStripRadioButtonMenuItem.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/TreeViewMisc/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb b/snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/WebBrowserMisc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/vb/WebBrowserMisc.vb rename to snippets/visualbasic/VS_Snippets_Winforms/WebBrowserMisc/WebBrowserMisc.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/keyeventargs.suppresskeypress/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb b/snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/vb/module1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/splitcontainertabstop/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/form1.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.designer.vb rename to snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.combobox.datasource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.designer.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/form1.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.control.mousecapturechanged/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.control.previewkeydown/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.control.selectnextcontrol/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.methodinvoker/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/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/VS_Snippets_Winforms/system.windows.forms.textbox.autocompletecustomsource/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb b/snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/vb/form1.vb rename to snippets/visualbasic/VS_Snippets_Winforms/system.windows.forms.toolstripcontainer2/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/adventureworkslt2008dataset.designer.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/adventureworkslt2008dataset.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/adventureworkslt2008dataset.designer.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid1/adventureworkslt2008dataset.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid1/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/window1.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid1/window1.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid1/vb/window1.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid1/window1.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/adventureworkslt2008dataset.designer.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/adventureworkslt2008dataset.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/adventureworkslt2008dataset.designer.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/adventureworkslt2008dataset.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/window1.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/vb/window1.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_customcolumns/window1.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/adventureworkslt2008dataset.designer.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/adventureworkslt2008dataset.designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/adventureworkslt2008dataset.designer.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/adventureworkslt2008dataset.designer.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/window1.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/window1.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/vb/window1.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_frozencolumn/window1.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/window1.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/window1.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/vb/window1.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/datagrid_validation/window1.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/dragdropsnippets/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/shell_taskbaritemsample/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/toucheventssample/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/touchframesample/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/touchframesample/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/touchframesample/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/touchframesample/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/touchframesample/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/touchframesample/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/touchframesample/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/touchframesample/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/vb/mainwindow.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/mainwindow.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/vb/mainwindow.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/wpfcustomdictionary/mainwindow.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/vb/application.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/application.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/vb/application.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/application.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/vb/page1.xaml.vb b/snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/page1.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/vb/page1.xaml.vb rename to snippets/visualbasic/VS_Snippets_Wpf/xbapbrowserinterop/page1.xaml.vb diff --git a/xml/Microsoft.CSharp/CSharpCodeProvider.xml b/xml/Microsoft.CSharp/CSharpCodeProvider.xml index 57e8a2c63ef..e51776ee1f0 100644 --- a/xml/Microsoft.CSharp/CSharpCodeProvider.xml +++ b/xml/Microsoft.CSharp/CSharpCodeProvider.xml @@ -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/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.VisualBasic/VBCodeProvider.xml b/xml/Microsoft.VisualBasic/VBCodeProvider.xml index 7a53b07affa..e25ebc9cf1b 100644 --- a/xml/Microsoft.VisualBasic/VBCodeProvider.xml +++ b/xml/Microsoft.VisualBasic/VBCodeProvider.xml @@ -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/VS_Snippets_CLR/vbprovider.provideroptions/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/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml b/xml/Microsoft.Win32.SafeHandles/SafeFileHandle.xml index 5e47503b09b..8fe17bf5c2f 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/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeFileHandle/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/VS_Snippets_CLR/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..13438ac3dd9 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/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle/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/VS_Snippets_CLR/Microsoft.Win32.SafeHandles.SafeWaitHandle-ctor/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryKey.xml b/xml/Microsoft.Win32/RegistryKey.xml index 06be1b59a9f..09a8dfc3f2c 100644 --- a/xml/Microsoft.Win32/RegistryKey.xml +++ b/xml/Microsoft.Win32/RegistryKey.xml @@ -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/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/source.vb" id="Snippet1"::: ]]> diff --git a/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml b/xml/Microsoft.Win32/RegistryKeyPermissionCheck.xml index c271f9718f2..d1937cd97ab 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/VS_Snippets_CLR/RegistryKey.OpenSubKey_PermCheck/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Activities/NativeActivity`1.xml b/xml/System.Activities/NativeActivity`1.xml index 9ad27e34b4d..517d1657d66 100644 --- a/xml/System.Activities/NativeActivity`1.xml +++ b/xml/System.Activities/NativeActivity`1.xml @@ -29,7 +29,7 @@ The following code sample demonstrates creating a class that inherits from . This example is from the [How to: Create an Activity](/dotnet/framework/windows-workflow-foundation/how-to-create-an-activity) step of the [Getting Started Tutorial [.NET Framework 4.5]](/dotnet/framework/windows-workflow-foundation/getting-started-tutorial). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/cfx_wf_gettingstarted/cs/readint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/vb/readint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/cfx_wf_gettingstarted/readint.vb" id="Snippet1"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInController.xml b/xml/System.AddIn.Hosting/AddInController.xml index 3cfe7e33056..b0d3780db3a 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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/AddInCollectionPipelineHost/Program.vb" id="Snippet6"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInProcess.xml b/xml/System.AddIn.Hosting/AddInProcess.xml index 03d9777e427..5213db262fe 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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet10"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInSecurityLevel.xml b/xml/System.AddIn.Hosting/AddInSecurityLevel.xml index 21c211f2e04..237a20256e9 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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet5"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInSegmentType.xml b/xml/System.AddIn.Hosting/AddInSegmentType.xml index d158124de49..678e2ff0a7d 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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet11"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInStore.xml b/xml/System.AddIn.Hosting/AddInStore.xml index 9ed400cb1e7..e55b04f0107 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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet3"::: ]]> diff --git a/xml/System.AddIn.Hosting/AddInToken.xml b/xml/System.AddIn.Hosting/AddInToken.xml index e1a3aadfa29..61207989ac5 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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet7"::: ]]> diff --git a/xml/System.AddIn.Hosting/PipelineStoreLocation.xml b/xml/System.AddIn.Hosting/PipelineStoreLocation.xml index d81696bcc14..4d92603af8d 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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet4"::: ]]> diff --git a/xml/System.AddIn.Hosting/QualificationDataItem.xml b/xml/System.AddIn.Hosting/QualificationDataItem.xml index 7dbceb4a742..646f5d61659 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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/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/VS_Snippets_CLR/addinP3Host/p3host.vb" id="Snippet12"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml b/xml/System.AddIn.Pipeline/AddInAdapterAttribute.xml index 074c0072f49..f1099af11bc 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/VS_Snippets_CLR/AddInP1AddInSideAdapters/Calc1ViewToContractAddInSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml b/xml/System.AddIn.Pipeline/AddInBaseAttribute.xml index 2a3eb8319fc..162126d156c 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/VS_Snippets_CLR/AddInP1AddInViews/Calc1AddInView.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/AddInContractAttribute.xml b/xml/System.AddIn.Pipeline/AddInContractAttribute.xml index ed6478a3147..8097d716c24 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/VS_Snippets_CLR/AddInP1Contract/ICalc1Contract.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/CollectionAdapters.xml b/xml/System.AddIn.Pipeline/CollectionAdapters.xml index 466148d5f9f..32aed1ea86f 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/VS_Snippets_CLR/AddInCollectionPipelineAddInSideAdapter/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/VS_Snippets_CLR/AddInCollectionPipelineHostSideAdapter/LibraryManagerContractToViewHostAdapter.vb" id="Snippet4"::: ]]> diff --git a/xml/System.AddIn.Pipeline/ContractHandle.xml b/xml/System.AddIn.Pipeline/ContractHandle.xml index 079829d71c6..152dd12ffd4 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/VS_Snippets_CLR/AddInP2HostSideAdapters/Calc2ContractToViewHostSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml b/xml/System.AddIn.Pipeline/HostAdapterAttribute.xml index f43ca69af2b..22489643771 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/VS_Snippets_CLR/AddInP1HostSideAdapters/Calc1ContractToViewHostSideAdapter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml b/xml/System.AddIn.Pipeline/QualificationDataAttribute.xml index 685546564ea..18105ce7e21 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/VS_Snippets_CLR/AddInP2AddInCalcV2/AddInCalcV2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.AddIn/AddInAttribute.xml b/xml/System.AddIn/AddInAttribute.xml index c61e8a6d95f..f344f894a73 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/VS_Snippets_CLR/AddInP2AddInCalcV2/AddInCalcV2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom.Compiler/CodeDomProvider.xml b/xml/System.CodeDom.Compiler/CodeDomProvider.xml index d7a63227804..edd66fd5532 100644 --- a/xml/System.CodeDom.Compiler/CodeDomProvider.xml +++ b/xml/System.CodeDom.Compiler/CodeDomProvider.xml @@ -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/VS_Snippets_CLR/codedomprovider.provideroptions/program.vb" id="Snippet1"::: ]]> @@ -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/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.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/TempFileCollection.xml b/xml/System.CodeDom.Compiler/TempFileCollection.xml index 373890e2364..cc2e5ebb392 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/VB/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/VB/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeAttributeArgument.xml b/xml/System.CodeDom/CodeAttributeArgument.xml index 9d92196d3fb..a9124250bf8 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/CodeAttributeDeclaration.xml b/xml/System.CodeDom/CodeAttributeDeclaration.xml index fdd00a51158..9c6fe9ce5d7 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/CodeCommentStatement.xml b/xml/System.CodeDom/CodeCommentStatement.xml index 29d32ef78e8..9459b31ec0f 100644 --- a/xml/System.CodeDom/CodeCommentStatement.xml +++ b/xml/System.CodeDom/CodeCommentStatement.xml @@ -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/VS_Snippets_CLR/CodeDomHelloWorldSample/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/VS_Snippets_CLR/CodeDomHelloWorldSample/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberMethod.xml b/xml/System.CodeDom/CodeMemberMethod.xml index 25292bab9dd..ecb7c27bfb7 100644 --- a/xml/System.CodeDom/CodeMemberMethod.xml +++ b/xml/System.CodeDom/CodeMemberMethod.xml @@ -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/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.CodeDom/CodeMethodReferenceExpression.xml b/xml/System.CodeDom/CodeMethodReferenceExpression.xml index c06ba7c32ce..37d9df3f243 100644 --- a/xml/System.CodeDom/CodeMethodReferenceExpression.xml +++ b/xml/System.CodeDom/CodeMethodReferenceExpression.xml @@ -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/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetTypeMember.xml b/xml/System.CodeDom/CodeSnippetTypeMember.xml index fded0f96297..1cacc8cc609 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/VS_Snippets_CLR/CodeDom_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/VS_Snippets_CLR/CodeDom_GenerateCodeFromMember/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/BlockingCollection`1.xml b/xml/System.Collections.Concurrent/BlockingCollection`1.xml index 11bbef1ddba..5d1affa397e 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/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/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/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/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/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/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/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/blockingcoll.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml index a0c246cd7bf..5b6da12d3d3 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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/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/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/concdictionary.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml b/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml index dfc4bbb74c3..16aae05bdf3 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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/concqueue.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentStack`1.xml b/xml/System.Collections.Concurrent/ConcurrentStack`1.xml index 87f6075ac65..c51bb2cdb8d 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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/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/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/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..7febb32ee99 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/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/iprodcon.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml b/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml index 33c373cd71f..ec60abb908b 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/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/orderablepartitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/Partitioner`1.xml b/xml/System.Collections.Concurrent/Partitioner`1.xml index 564869a121f..599b8ae848f 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/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/partitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/Comparer`1.xml b/xml/System.Collections.Generic/Comparer`1.xml index a8a11d394f3..4c716adb14b 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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Collections.Generic/EqualityComparer`1.xml b/xml/System.Collections.Generic/EqualityComparer`1.xml index a6fd6ebfb41..6d7fc12452b 100644 --- a/xml/System.Collections.Generic/EqualityComparer`1.xml +++ b/xml/System.Collections.Generic/EqualityComparer`1.xml @@ -76,24 +76,24 @@ The type of objects to compare. Provides a base class for implementations of the generic interface. - generic interface for use with collection classes such as the generic class, or with methods such as . - -The property checks whether type `T` implements the generic interface and, if so, returns an that invokes the implementation of the method. Otherwise, it returns an , as provided by `T`. - -In .NET 8 and later versions, we recommend using the method to create instances of this type. - -## Examples - The following example creates a dictionary collection of objects of type `Box` with an equality comparer. Two boxes are considered equal if their dimensions are the same. It then adds the boxes to the collection. - - The dictionary is recreated with an equality comparer that defines equality in a different way: Two boxes are considered equal if their volumes are the same. - - :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/EqualityComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb" id="Snippet1"::: - + generic interface for use with collection classes such as the generic class, or with methods such as . + +The property checks whether type `T` implements the generic interface and, if so, returns an that invokes the implementation of the method. Otherwise, it returns an , as provided by `T`. + +In .NET 8 and later versions, we recommend using the method to create instances of this type. + +## Examples + The following example creates a dictionary collection of objects of type `Box` with an equality comparer. Two boxes are considered equal if their dimensions are the same. It then adds the boxes to the collection. + + The dictionary is recreated with an equality comparer that defines equality in a different way: Two boxes are considered equal if their volumes are the same. + + :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/EqualityComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/program.vb" id="Snippet1"::: + ]]> @@ -180,7 +180,7 @@ In .NET 8 and later versions, we recommend using the The delegate to use to implement the method. - The delegate to use to implement the method. + The delegate to use to implement the method. If no delegate is supplied, calls to the resulting comparer's will throw . Creates an by using the specified delegates as the implementation of the comparer's and methods. The new comparer. @@ -238,23 +238,23 @@ In .NET 8 and later versions, we recommend using the Returns a default equality comparer for the type specified by the generic argument. The default instance of the class for type . - property checks whether type `T` implements the interface and, if so, returns an that uses that implementation. Otherwise, it returns an that uses the overrides of and provided by `T`. - - - -## Examples - The following example creates a collection that contains elements of the `Box` type and then searches it for a box matching another box by calling the `FindFirst` method, twice. - - The first search does not specify any equality comparer, which means `FindFirst` uses to determine equality of boxes. That in turn uses the implementation of the method in the `Box` class. Two boxes are considered equal if their dimensions are the same. - - The second search specifies an equality comparer (`BoxEqVolume`) that defines equality by volume. Two boxes are considered equal if their volumes are the same. - - :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/EqualityComparerT/Default/program.cs" interactive="try-dotnet"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb"::: - + property checks whether type `T` implements the interface and, if so, returns an that uses that implementation. Otherwise, it returns an that uses the overrides of and provided by `T`. + + + +## Examples + The following example creates a collection that contains elements of the `Box` type and then searches it for a box matching another box by calling the `FindFirst` method, twice. + + The first search does not specify any equality comparer, which means `FindFirst` uses to determine equality of boxes. That in turn uses the implementation of the method in the `Box` class. Two boxes are considered equal if their dimensions are the same. + + The second search specifies an equality comparer (`BoxEqVolume`) that defines equality by volume. Two boxes are considered equal if their volumes are the same. + + :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/EqualityComparerT/Default/program.cs" interactive="try-dotnet"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/program.vb"::: + ]]> @@ -327,11 +327,11 @@ In .NET 8 and later versions, we recommend using the if the specified objects are equal; otherwise, . - method is reflexive, symmetric, and transitive. That is, it returns `true` if used to compare an object with itself; `true` for two objects `x` and `y` if it is `true` for `y` and `x`; and `true` for two objects `x` and `z` if it is `true` for `x` and `y` and also `true` for `y` and `z`. - + method is reflexive, symmetric, and transitive. That is, it returns `true` if used to compare an object with itself; `true` for two objects `x` and `y` if it is `true` for `y` and `x`; and `true` for two objects `x` and `z` if it is `true` for `x` and `y` and also `true` for `y` and `z`. + ]]> @@ -449,13 +449,13 @@ In .NET 8 and later versions, we recommend using the if the specified objects are equal; otherwise, . - method, so `obj` must be cast to the type specified by the generic argument `T` of the current instance. If it cannot be cast to `T`, an is thrown. - - Comparing `null` is allowed and does not generate an exception. - + method, so `obj` must be cast to the type specified by the generic argument `T` of the current instance. If it cannot be cast to `T`, an is thrown. + + Comparing `null` is allowed and does not generate an exception. + ]]> @@ -509,17 +509,17 @@ In .NET 8 and later versions, we recommend using the Returns a hash code for the specified object. A hash code for the specified object. - method, so `obj` must be a type that can be cast to the type specified by the generic type argument `T` of the current instance. - + method, so `obj` must be a type that can be cast to the type specified by the generic type argument `T` of the current instance. + ]]> - The type of is a reference type and is . - - -or- - + The type of is a reference type and is . + + -or- + is of a type that cannot be cast to type . diff --git a/xml/System.Collections.Generic/HashSet`1.xml b/xml/System.Collections.Generic/HashSet`1.xml index df120c11c30..49c99e12425 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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_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/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/Program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Generic/ICollection`1.xml b/xml/System.Collections.Generic/ICollection`1.xml index d56f0aecafc..bfaa062319d 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/VS_Snippets_CLR_System/system.collections.generic.boxexamples/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IComparer`1.xml b/xml/System.Collections.Generic/IComparer`1.xml index f6e03250ee1..e058ace6e76 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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/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/VS_Snippets_CLR_System/system.collections.generic.boxcompare/program.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerable`1.xml b/xml/System.Collections.Generic/IEnumerable`1.xml index 8c705ff5d85..9e1cf1c7d03 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/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/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/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerator`1.xml b/xml/System.Collections.Generic/IEnumerator`1.xml index 3e8508aeb95..451294d6aaa 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/VS_Snippets_CLR_System/system.collections.generic.boxexamples/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Generic/IEqualityComparer`1.xml b/xml/System.Collections.Generic/IEqualityComparer`1.xml index 1c769c8504d..a4f7995d14d 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/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/LinkedList`1.xml b/xml/System.Collections.Generic/LinkedList`1.xml index 7e1a3812fad..df957b1e7c2 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/VS_Snippets_CLR/Generic.LinkedList/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/List`1.xml b/xml/System.Collections.Generic/List`1.xml index 956b7817b9a..2cdc364c9b8 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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR/List`1_AsReadOnly/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/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR/List`1_AsReadOnly/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/VS_Snippets_CLR/List`1_SortSearch/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/VS_Snippets_CLR/List`1_SortSearchComparer/source.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/VS_Snippets_CLR/List`1_SortSearchComparerRange/source.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/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/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/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR/List`1_ConvertAll/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/VS_Snippets_CLR/List`1_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/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/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/VS_Snippets_CLR/List`1_FindEtAl/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/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/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/VS_Snippets_CLR/list`1_find_methods/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/VS_Snippets_CLR/list`1_find_methods/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/VS_Snippets_CLR/list`1_find_methods/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/VS_Snippets_CLR/list`1_find_methods/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/VS_Snippets_CLR/list`1_find_methods/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/Action/Overview_PrintExample/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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR/List`1_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/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_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/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_FindEtAl/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/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR/List`1_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/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR/List`1_SortSearch/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/VS_Snippets_CLR/List`1_SortSearchComparer/source.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/VS_Snippets_CLR_System/system.collections.generic.list.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/VS_Snippets_CLR/List`1_SortComparison/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/VS_Snippets_CLR/List`1_SortSearchComparerRange/source.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/VS_Snippets_CLR/List`1_Ranges/source.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/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/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/VS_Snippets_CLR/List`1_Class/source.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/VS_Snippets_CLR/List`1_FindEtAl/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/Queue`1.xml b/xml/System.Collections.Generic/Queue`1.xml index 8cdbaae207d..d0a71cb878a 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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/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/VS_Snippets_CLR/Generic.Queue/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/SortedSet`1.xml b/xml/System.Collections.Generic/SortedSet`1.xml index 1bb24d3b44d..52425f963a4 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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/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/VS_Snippets_CLR_System/system.collections.generic.sortedset/program.vb" id="Snippet4"::: diff --git a/xml/System.Collections.Generic/Stack`1.xml b/xml/System.Collections.Generic/Stack`1.xml index 9a57f63105a..020988d9416 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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/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/VS_Snippets_CLR/Generic.Stack/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.ObjectModel/KeyedCollection`2.xml b/xml/System.Collections.ObjectModel/KeyedCollection`2.xml index de6541996cc..de9917f7ab2 100644 --- a/xml/System.Collections.ObjectModel/KeyedCollection`2.xml +++ b/xml/System.Collections.ObjectModel/KeyedCollection`2.xml @@ -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/VS_Snippets_CLR/KeyedCollection2/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/VS_Snippets_CLR/KeyedCollection2/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/VS_Snippets_CLR/KeyedCollection2/source.vb" id="Snippet1"::: Example 2 @@ -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/VS_Snippets_CLR/KeyedCollection2/source.vb" id="Snippet1"::: Example 2 @@ -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/VS_Snippets_CLR/KeyedCollection2/source.vb" id="Snippet1"::: Example 2 @@ -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/VS_Snippets_CLR/KeyedCollection2/source.vb" id="Snippet1"::: Example 2 diff --git a/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml b/xml/System.Collections.ObjectModel/ReadOnlyCollection`1.xml index 78a705d87d4..3cae9c7ca9e 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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/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/VS_Snippets_CLR/generic.ReadOnlyCollection/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/BitVector32.xml b/xml/System.Collections.Specialized/BitVector32.xml index 22dd3aff7c7..fdba6076601 100644 --- a/xml/System.Collections.Specialized/BitVector32.xml +++ b/xml/System.Collections.Specialized/BitVector32.xml @@ -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/VB/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/IOrderedDictionary.xml b/xml/System.Collections.Specialized/IOrderedDictionary.xml index 41af70b606b..d26d8f32583 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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/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/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/iordereddictionary.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml b/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml index 7e4c940d430..d8ef54a43ea 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/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/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/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/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..6017898388d 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/VB/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/Overview.BaseAdd/VB/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/Overview.BaseClear/VB/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/Overview.BaseGet/VB/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/Overview.BaseGetAll/VB/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/Overview.BaseGetAll/VB/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/Overview.BaseGet/VB/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/Overview.BaseHasKeys/VB/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/VB/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/VB/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/Overview.BaseSet/VB/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/VB/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/VB/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/VB/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..3ffc46bc555 100644 --- a/xml/System.Collections.Specialized/StringDictionary.xml +++ b/xml/System.Collections.Specialized/StringDictionary.xml @@ -487,7 +487,7 @@ This method uses the collection's objects' and diff --git a/xml/System.Collections/ArrayList.xml b/xml/System.Collections/ArrayList.xml index 7ec51290172..b6724b78af5 100644 --- a/xml/System.Collections/ArrayList.xml +++ b/xml/System.Collections/ArrayList.xml @@ -137,7 +137,7 @@ The following example shows how to create and initialize an and how to display its values. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -491,7 +491,7 @@ This method is an `O(1)` operation. The following code example shows how to add elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Add/VB/source.vb" id="Snippet1"::: ]]> @@ -579,7 +579,7 @@ This method is an `O(1)` operation. The following code example shows how to add elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Add/VB/source.vb" id="Snippet1"::: ]]> @@ -678,7 +678,7 @@ This method is an `O(1)` operation. The following code example shows how to use to locate a specific object in the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/BinarySearch/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source.vb" id="Snippet1"::: ]]> @@ -767,7 +767,7 @@ This method is an `O(1)` operation. The following example creates an of colored animals. The provided performs the string comparison for the binary search. The results of both an iterative search and a binary search are displayed. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/BinarySearch/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.BinarySearch1 Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/BinarySearch1/VB/source2.vb" id="Snippet2"::: ]]> @@ -1009,7 +1009,7 @@ This method is an `O(1)` operation. The following code example shows how to trim the unused portions of the and how to clear the values of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -1235,7 +1235,7 @@ This method uses the collection's objects' and into a one-dimensional . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -1322,7 +1322,7 @@ This method uses the collection's objects' and into a one-dimensional . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/CopyTo/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/CopyTo1/VB/source.vb" id="Snippet1"::: ]]> @@ -1412,7 +1412,7 @@ This method uses the collection's objects' and into a one-dimensional . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/CopyTo/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.CopyTo1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/CopyTo1/VB/source.vb" id="Snippet1"::: ]]> @@ -1580,7 +1580,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsFixedSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsFixedSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsFixedSize/VB/source.vb" id="Snippet1"::: ]]> @@ -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/VS_Snippets_CLR/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/VS_Snippets_CLR/collections.arraylist.getenumerator/program.vb" id="Snippet1"::: ]]> @@ -1915,7 +1915,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/SetRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.SetRange Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/SetRange/VB/source.vb" id="Snippet1"::: ]]> @@ -2018,7 +2018,7 @@ This method uses the collection's objects' and @@ -2096,7 +2096,7 @@ This method uses the collection's objects' and @@ -2178,7 +2178,7 @@ This method uses the collection's objects' and @@ -2272,7 +2272,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Insert/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Insert Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Insert/VB/source.vb" id="Snippet1"::: ]]> @@ -2365,7 +2365,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Insert/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Insert Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Insert/VB/source.vb" id="Snippet1"::: ]]> @@ -2455,7 +2455,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsFixedSize/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsFixedSize Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsFixedSize/VB/source.vb" id="Snippet1"::: ]]> @@ -2527,7 +2527,7 @@ This method uses the collection's objects' and and how to determine if an is read-only. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.ReadOnly1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/ReadOnly1/VB/source.vb" id="Snippet1"::: ]]> @@ -2598,14 +2598,14 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. The following code example shows how to synchronize an , determine if an is synchronized and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source.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/VB/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/VB/source2.vb" id="Snippet2"::: ]]> @@ -2785,7 +2785,7 @@ This method uses the collection's objects' and @@ -2863,7 +2863,7 @@ This method uses the collection's objects' and @@ -2945,7 +2945,7 @@ This method uses the collection's objects' and @@ -3039,7 +3039,7 @@ This method uses the collection's objects' and and how to determine if an is read-only. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/ReadOnly/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.ReadOnly1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/ReadOnly1/VB/source.vb" id="Snippet1"::: ]]> @@ -3192,7 +3192,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Remove Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Remove/VB/source.vb" id="Snippet1"::: ]]> @@ -3276,7 +3276,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Remove Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Remove/VB/source.vb" id="Snippet1"::: ]]> @@ -3362,7 +3362,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Remove Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Remove/VB/source.vb" id="Snippet1"::: ]]> @@ -3461,7 +3461,7 @@ This method uses the collection's objects' and with the same value. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Repeat/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Repeat Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Repeat/VB/source.vb" id="Snippet1"::: ]]> @@ -3538,7 +3538,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Reverse/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Reverse/VB/source.vb" id="Snippet1"::: ]]> @@ -3610,7 +3610,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Reverse/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Reverse1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Reverse1/VB/source.vb" id="Snippet1"::: ]]> @@ -3692,7 +3692,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/SetRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.SetRange Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/SetRange/VB/source.vb" id="Snippet1"::: ]]> @@ -3780,7 +3780,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Sort/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Sort Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Sort/VB/source.vb" id="Snippet1"::: ]]> @@ -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_2/VB/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_3/VB/arraylist_sort3.vb" id="Snippet1"::: ]]> @@ -4031,14 +4031,14 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb" id="Snippet2"::: This method is an `O(1)` operation. The following code example shows how to synchronize an , determine if an is synchronized and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -4112,7 +4112,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb" id="Snippet2"::: This method is an `O(1)` operation. @@ -4187,7 +4187,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -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/VB/arraylist_toarray.vb" id="Snippet1"::: ]]> @@ -4410,7 +4410,7 @@ This method uses the collection's objects' and and how to clear the values of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic ArrayList.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Clear/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/BitArray.xml b/xml/System.Collections/BitArray.xml index 8290a60923c..4eb332b063b 100644 --- a/xml/System.Collections/BitArray.xml +++ b/xml/System.Collections/BitArray.xml @@ -96,7 +96,7 @@ The following code example shows how to create and initialize a and how to print out its values. :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -497,7 +497,7 @@ The following code example shows how to perform the bitwise AND operation between two objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/And/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.And Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/And/VB/source.vb" id="Snippet1"::: ]]> @@ -625,7 +625,7 @@ The following code example shows how to copy a into a one-dimensional . :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -752,7 +752,7 @@ The following code example shows how to set and get specific elements in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Get/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Get Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Get/VB/source.vb" id="Snippet1"::: ]]> @@ -1004,7 +1004,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/BitArray/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Overview/VB/source2.vb" id="Snippet2"::: This method is an `O(1)` operation. @@ -1238,7 +1238,7 @@ The current is updated and returned. The following code example shows how to apply NOT to a . :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Not/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Not Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Not/VB/source.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ The current is updated and returned. The following code example shows how to perform the OR operation between two objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Or/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Or Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Or/VB/source.vb" id="Snippet1"::: ]]> @@ -1419,7 +1419,7 @@ The current is updated and returned. The following code example shows how to set and get specific elements in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Get/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Get Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Get/VB/source.vb" id="Snippet1"::: ]]> @@ -1486,7 +1486,7 @@ The current is updated and returned. The following code example shows how to set and get specific elements in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Get/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Get Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Get/VB/source.vb" id="Snippet1"::: ]]> @@ -1547,7 +1547,7 @@ The current is updated and returned. The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Overview/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1765,7 +1765,7 @@ This member is an explicit interface member implementation. It can be used only The following code example shows how to perform the XOR operation between two objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/BitArray/Xor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic BitArray.Xor Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/BitArray/Xor/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/CollectionBase.xml b/xml/System.Collections/CollectionBase.xml index 3d3a347664b..db2fcd3a1a9 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/collectionbase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/Comparer.xml b/xml/System.Collections/Comparer.xml index bca396229f4..28d8d6bb215 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/VB/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/VB/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/VB/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/VB/comparercultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryBase.xml b/xml/System.Collections/DictionaryBase.xml index 4d84b5f2204..f2b3e98ff47 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/dictionarybase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryEntry.xml b/xml/System.Collections/DictionaryEntry.xml index e9c5040d126..add7df7a613 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"::: ]]> diff --git a/xml/System.Collections/Hashtable.xml b/xml/System.Collections/Hashtable.xml index 5cbacd7c9ee..4bcb5357553 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/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/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/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/hashtable_example.vb" id="Snippet00"::: :::code language="powershell" source="~/snippets/powershell/VS_Snippets_CLR_System/system.collections.hashtable.class/ps/hashtable.ps1" id="Snippet00"::: ]]> @@ -1786,7 +1786,7 @@ Each element is a key/value pair stored in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Add/VB/source.vb" id="Snippet1"::: ]]> @@ -1872,7 +1872,7 @@ Each element is a key/value pair stored in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -2091,7 +2091,7 @@ This method uses the collection's objects' and contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -2166,7 +2166,7 @@ This method uses the collection's objects' and contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -2242,7 +2242,7 @@ This method uses the collection's objects' and contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -2322,7 +2322,7 @@ This method uses the collection's objects' and into a one-dimensional . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -2553,7 +2553,7 @@ This method uses the collection's objects' and and `foreach` to enumerate the contents of a . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/GetEnumerator/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Overview/VB/source2.vb" id="Snippet2"::: ]]> @@ -2977,7 +2977,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/remarks.vb" id="Snippet2"::: @@ -2985,7 +2985,7 @@ This method uses the collection's objects' and , determine if a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -3374,7 +3374,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.Remove Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Remove/VB/source.vb" id="Snippet1"::: ]]> @@ -3450,7 +3450,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/remarks.vb" id="Snippet2"::: This method is an `O(1)` operation. @@ -3460,7 +3460,7 @@ This method uses the collection's objects' and , determine if a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -3530,7 +3530,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Hashtable.IsSynchronized Example/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/IsSynchronized/VB/remarks.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/ICollection.xml b/xml/System.Collections/ICollection.xml index 123f5d76202..a280f4c7941 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/Overview/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/Overview/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/Overview/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerable.xml b/xml/System.Collections/IEnumerable.xml index 1f4ff636f56..b8ec4536afa 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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/ienumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerator.xml b/xml/System.Collections/IEnumerator.xml index 44a0a5e28a9..92accf75172 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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/ienumerator.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IList.xml b/xml/System.Collections/IList.xml index aa26790de39..303404a0d0f 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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/Program.vb" id="Snippet02"::: ]]> diff --git a/xml/System.Collections/IStructuralComparable.xml b/xml/System.Collections/IStructuralComparable.xml index 9947daa7eab..673fd962950 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/VS_Snippets_CLR_System/system.tuple`6.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/VS_Snippets_CLR_System/system.tuple`6.compareto/compareto2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IStructuralEquatable.xml b/xml/System.Collections/IStructuralEquatable.xml index 64736e71d38..435e3604d13 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/Queue.xml b/xml/System.Collections/Queue.xml index 0d210bf6695..14b64f8e118 100644 --- a/xml/System.Collections/Queue.xml +++ b/xml/System.Collections/Queue.xml @@ -117,7 +117,7 @@ This class implements a queue as a circular array. Objects stored in a and how to print out its values. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -426,7 +426,7 @@ This class implements a queue as a circular array. Objects stored in a . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -614,7 +614,7 @@ This method uses the collection's objects' and into a one-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -748,7 +748,7 @@ This method uses the collection's objects' and , remove elements from the , or view the element at the beginning of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/Dequeue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Enqueue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/Enqueue/VB/source.vb" id="Snippet1"::: ]]> @@ -817,7 +817,7 @@ This method uses the collection's objects' and , remove elements from the , or view the element at the beginning of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/Dequeue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Enqueue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/Enqueue/VB/source.vb" id="Snippet1"::: ]]> @@ -952,12 +952,12 @@ This method uses the collection's objects' and during the entire enumeration. Retrieving the value of this property is an `O(1)` operation. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source2.vb" id="Snippet2"::: The following example shows how to synchronize a , determine if a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -1023,7 +1023,7 @@ This method uses the collection's objects' and , remove elements from the , or view the element at the beginning of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/Dequeue/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.Enqueue Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/Enqueue/VB/source.vb" id="Snippet1"::: ]]> @@ -1092,12 +1092,12 @@ This method uses the collection's objects' and during the entire enumeration. This method is an `O(1)` operation. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source2.vb" id="Snippet2"::: The following example shows how to synchronize a , determine if a is synchronized and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -1164,7 +1164,7 @@ This method uses the collection's objects' and during the entire enumeration. Retrieving the value of this property is an `O(1)` operation. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/IsSynchronized/VB/source2.vb" id="Snippet2"::: ]]> @@ -1228,7 +1228,7 @@ This method uses the collection's objects' and into a one-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Collections/Queue/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Queue.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Queue/CopyTo/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/ReadOnlyCollectionBase.xml b/xml/System.Collections/ReadOnlyCollectionBase.xml index f40aa9aab08..f952c4d527c 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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 ea1b15f5809..460880e08fd 100644 --- a/xml/System.Collections/SortedList.xml +++ b/xml/System.Collections/SortedList.xml @@ -114,7 +114,7 @@ A element can be accessed by its key, like 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. Rather, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Overview/VB/remarks.vb" id="Snippet2"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from, not writing to, the collection. @@ -124,7 +124,7 @@ A element can be accessed by its key, like The following code example shows how to create and initialize a object and how to print out its keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -677,7 +677,7 @@ A element can be accessed by its key, like The following code example shows how to add elements to a object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Add/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Add Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Add/VB/source.vb" id="Snippet1"::: ]]> @@ -819,7 +819,7 @@ A element can be accessed by its key, like The following code example shows how to trim the unused portions of a object and how to clear the values of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -956,7 +956,7 @@ This method uses the collection's objects' and object contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -1029,7 +1029,7 @@ This method uses the collection's objects' and object contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -1102,7 +1102,7 @@ This method uses the collection's objects' and object contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Contains/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Contains Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Contains/VB/source.vb" id="Snippet1"::: ]]> @@ -1177,7 +1177,7 @@ This method uses the collection's objects' and object into a one-dimensional object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -1316,7 +1316,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/GetByIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb" id="Snippet1"::: ]]> @@ -1454,7 +1454,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/GetByIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb" id="Snippet1"::: ]]> @@ -1521,7 +1521,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/GetByIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb" id="Snippet1"::: ]]> @@ -1589,7 +1589,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/GetByIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.GetByIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/GetByIndex/VB/source.vb" id="Snippet1"::: ]]> @@ -1658,7 +1658,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IndexOfKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IndexOfKey Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IndexOfKey/VB/source.vb" id="Snippet1"::: ]]> @@ -1731,7 +1731,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IndexOfKey/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IndexOfKey Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IndexOfKey/VB/source.vb" id="Snippet1"::: ]]> @@ -1914,14 +1914,14 @@ This method uses the collection's objects' and property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. The following code example shows how to synchronize a object, determine whether a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -2141,7 +2141,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/RemoveAt/VB/source.vb" id="Snippet1"::: ]]> @@ -2215,7 +2215,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Remove/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.RemoveAt Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/RemoveAt/VB/source.vb" id="Snippet1"::: ]]> @@ -2289,7 +2289,7 @@ This method uses the collection's objects' and object. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/SetByIndex/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.SetByIndex Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/SetByIndex/VB/source.vb" id="Snippet1"::: ]]> @@ -2357,14 +2357,14 @@ This method uses the collection's objects' and property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source2.vb" id="Snippet2"::: This method is an `O(1)` operation. The following code example shows how to synchronize a object, determine whether a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -2431,7 +2431,7 @@ This method uses the collection's objects' and property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -2568,7 +2568,7 @@ This method uses the collection's objects' and object and how to clear its values. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic SortedList.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/Clear/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/Stack.xml b/xml/System.Collections/Stack.xml index e6e4664d771..0728042aaea 100644 --- a/xml/System.Collections/Stack.xml +++ b/xml/System.Collections/Stack.xml @@ -103,7 +103,7 @@ If is less than the capacity of the sta The following example shows how to create and add values to a Stack and how to display its values. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -345,7 +345,7 @@ If is less than the capacity of the sta The following example shows how to clear the values of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ This method tests for equality by passing the `obj` argument to the into a one-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/CopyTo/VB/source.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ This method tests for equality by passing the `obj` argument to the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -742,7 +742,7 @@ This method tests for equality by passing the `obj` argument to the , determine if a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -806,7 +806,7 @@ This method tests for equality by passing the `obj` argument to the , remove elements from the , or view the element at the top of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/Peek/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Peek Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/Peek/VB/source.vb" id="Snippet1"::: ]]> @@ -873,7 +873,7 @@ This method tests for equality by passing the `obj` argument to the , remove elements from the , or view the element at the top of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/Peek/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Peek Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/Peek/VB/source.vb" id="Snippet1"::: ]]> @@ -942,7 +942,7 @@ This method tests for equality by passing the `obj` argument to the , remove elements from the , or view the element at the top of the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/Peek/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.Peek Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/Peek/VB/source.vb" id="Snippet1"::: ]]> @@ -1005,7 +1005,7 @@ This method tests for equality by passing the `obj` argument to the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source2.vb" id="Snippet2"::: This method is an `O(1)` operation. @@ -1015,7 +1015,7 @@ This method tests for equality by passing the `obj` argument to the , determine if a is synchronized, and use a synchronized . :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source.vb" id="Snippet1"::: ]]> @@ -1077,7 +1077,7 @@ This method tests for equality by passing the `obj` argument to the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/IsSynchronized/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.IsSynchronized Example/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/IsSynchronized/VB/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1141,7 +1141,7 @@ This method tests for equality by passing the `obj` argument to the into a one-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Collections/Stack/CopyTo/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stack.CopyTo Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Stack/CopyTo/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Composition.Hosting/AssemblyCatalog.xml b/xml/System.ComponentModel.Composition.Hosting/AssemblyCatalog.xml index ecdde18395e..08fa396ada1 100644 --- a/xml/System.ComponentModel.Composition.Hosting/AssemblyCatalog.xml +++ b/xml/System.ComponentModel.Composition.Hosting/AssemblyCatalog.xml @@ -50,7 +50,7 @@ The following code demonstrates the common scenario of an application creating an to parse its own assembly. This is a straightforward way to load parts contained in a single project into the Managed Extensibility Framework (MEF). :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Composition.Hosting/CompositionContainer.xml b/xml/System.ComponentModel.Composition.Hosting/CompositionContainer.xml index dfafed73166..ff56ddcd3e4 100644 --- a/xml/System.ComponentModel.Composition.Hosting/CompositionContainer.xml +++ b/xml/System.ComponentModel.Composition.Hosting/CompositionContainer.xml @@ -62,7 +62,7 @@ In the following example, a object is initialized with a catalog and is used to fill the imports of a part. This example uses the Attributed Programming Model. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer/module1.vb" id="Snippet1"::: ]]> @@ -374,7 +374,7 @@ In this simple example, three parts are created and added to the , and one part is retrieved to show that all imports have been filled. This example uses the Attributed Programming Model. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition.Hosting/CompositionContainer/Compose/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.compositioncontainer.compose/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Composition.Hosting/DirectoryCatalog.xml b/xml/System.ComponentModel.Composition.Hosting/DirectoryCatalog.xml index a9a3299eee9..781cab0570b 100644 --- a/xml/System.ComponentModel.Composition.Hosting/DirectoryCatalog.xml +++ b/xml/System.ComponentModel.Composition.Hosting/DirectoryCatalog.xml @@ -55,12 +55,12 @@ The following example creates a object that searches the directory the application runs from for parts. It uses a simple import to test the catalog. To fulfill this import, a DLL in the directory must have a matching export, as illustrated in the second code block. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/consoleapplication7/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.directorycatalog/vb/consoleapplication8/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.directorycatalog/consoleapplication8/module1.vb" id="Snippet1"::: To create the matching export, the following code must be in a DLL file. To create a DLL file in Visual Studio, add a new project of the type "Class Library" to your solution, and place this code in it. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition.Hosting/DirectoryCatalog/classlibrary1/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.directorycatalog/vb/classlibrary1/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/composition.directorycatalog/classlibrary1/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ComponentModel.Composition/ExportAttribute.xml b/xml/System.ComponentModel.Composition/ExportAttribute.xml index de1434167e9..32c01d0af1d 100644 --- a/xml/System.ComponentModel.Composition/ExportAttribute.xml +++ b/xml/System.ComponentModel.Composition/ExportAttribute.xml @@ -47,7 +47,7 @@ The following example shows three classes decorated with the , and three imports that match them. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/importandexport/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/importandexport/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel.Composition/ImportAttribute.xml b/xml/System.ComponentModel.Composition/ImportAttribute.xml index 51d14abf06c..8d8f23fb0be 100644 --- a/xml/System.ComponentModel.Composition/ImportAttribute.xml +++ b/xml/System.ComponentModel.Composition/ImportAttribute.xml @@ -45,7 +45,7 @@ The following example shows three classes with members decorated with the , and three exports that match them. :::code language="csharp" source="~/snippets/csharp/System.ComponentModel.Composition/ExportAttribute/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/importandexport/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/importandexport/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ComponentModel/BackgroundWorker.xml b/xml/System.ComponentModel/BackgroundWorker.xml index 56488f51a5e..e9aaf559fa3 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/VS_Snippets_Winforms/system.componentmodel.backgroundworkersimple/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. diff --git a/xml/System.Configuration/ConfigurationBuilder.xml b/xml/System.Configuration/ConfigurationBuilder.xml index 33b082ec451..2510a76cd56 100644 --- a/xml/System.Configuration/ConfigurationBuilder.xml +++ b/xml/System.Configuration/ConfigurationBuilder.xml @@ -32,7 +32,7 @@ The following example shows how to implement a simple ConfigurationBuilder to read Environment variables: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/CS/SampleConfigurationBuilder.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/vb/SampleConfigurationBuilder.vb"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Configuration.ConfigurationBuilder/SampleConfigurationBuilder.vb"::: The following example is an excerpt of the configuration file as it applies to the previous example. This applies environment variables to the appSettings configuration and makes those values available under . diff --git a/xml/System.Configuration/ConfigurationElementCollection.xml b/xml/System.Configuration/ConfigurationElementCollection.xml index 6f18cf7a554..91df3594cd4 100644 --- a/xml/System.Configuration/ConfigurationElementCollection.xml +++ b/xml/System.Configuration/ConfigurationElementCollection.xml @@ -63,12 +63,12 @@ The first example consists of three classes: `UrlsSection`, `UrlsCollection` and `UrlConfigElement`. The `UrlsSection` class uses the to define a custom configuration section. This section contains a URL collection (defined by the `UrlsCollection` class) of URL elements (defined by the `UrlConfigElement` class). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet1"::: This second code example uses the classes specified before. You combine these two examples in a console application project. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/usingconfigurationcollectionelement.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/usingconfigurationcollectionelement.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/usingconfigurationcollectionelement.vb" id="Snippet31"::: When you run the console application, an instance of the `UrlsSection` class is created and the following configuration elements are generated in the application configuration file: @@ -293,7 +293,7 @@ The following code example shows how to override the method and how to call it from an `Add` method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet2"::: ]]> @@ -443,7 +443,7 @@ The following code example shows how to call the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet3"::: ]]> @@ -508,7 +508,7 @@ The following code example shows how to call the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet8"::: ]]> @@ -570,7 +570,7 @@ The following code example shows how to call the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet9"::: ]]> @@ -701,7 +701,7 @@ ## Examples The following code example shows how to call the method. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet10"::: ]]> @@ -798,7 +798,7 @@ The following code example shows how to call the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet3"::: ]]> @@ -952,7 +952,7 @@ The following code example shows how to get the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet5"::: ]]> @@ -1092,7 +1092,7 @@ The following code example shows how to override the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet6"::: ]]> @@ -1310,7 +1310,7 @@ The following code example shows how to override method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationelementcollection/cs/customcollectionsection.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/vb/customcollectionsection.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationelementcollection/customcollectionsection.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Configuration/ConfigurationUserLevel.xml b/xml/System.Configuration/ConfigurationUserLevel.xml index 9ec8d386c50..017095bd696 100644 --- a/xml/System.Configuration/ConfigurationUserLevel.xml +++ b/xml/System.Configuration/ConfigurationUserLevel.xml @@ -46,7 +46,7 @@ The following example shows how to use the enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.configuration.configurationuserlevel/cs/configurationuserlevel.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/vb/configurationuserlevel.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.configuration.configurationuserlevel/configurationuserlevel.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/AssociationAttribute.xml b/xml/System.Data.Linq.Mapping/AssociationAttribute.xml index 8791ed5ab65..3c1618698fb 100644 --- a/xml/System.Data.Linq.Mapping/AssociationAttribute.xml +++ b/xml/System.Data.Linq.Mapping/AssociationAttribute.xml @@ -34,7 +34,7 @@ ## 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"::: ]]> @@ -137,7 +137,7 @@ ## 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"::: ]]> @@ -177,7 +177,7 @@ ## 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"::: ]]> @@ -263,7 +263,7 @@ ## 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"::: ]]> @@ -310,7 +310,7 @@ ## 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..74fc521b897 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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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.Mapping/ResultTypeAttribute.xml b/xml/System.Data.Linq.Mapping/ResultTypeAttribute.xml index 06c02b62d54..9f8f12211c5 100644 --- a/xml/System.Data.Linq.Mapping/ResultTypeAttribute.xml +++ b/xml/System.Data.Linq.Mapping/ResultTypeAttribute.xml @@ -97,7 +97,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/IMultipleResults/Overview/northwind-sprox.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/northwind-sprox.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/northwind-sprox.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/TableAttribute.xml b/xml/System.Data.Linq.Mapping/TableAttribute.xml index 3bf727f0eba..debe8a05123 100644 --- a/xml/System.Data.Linq.Mapping/TableAttribute.xml +++ b/xml/System.Data.Linq.Mapping/TableAttribute.xml @@ -93,7 +93,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/TableAttribute/Overview/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqCustomize/Module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/UpdateCheck.xml b/xml/System.Data.Linq.Mapping/UpdateCheck.xml index 42d4a62151c..2703a2aa858 100644 --- a/xml/System.Data.Linq.Mapping/UpdateCheck.xml +++ b/xml/System.Data.Linq.Mapping/UpdateCheck.xml @@ -25,7 +25,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/UpdateCheck/Overview/northwind.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/vb/northwind.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.mapping.updatecheck/northwind.vb" id="Snippet1"::: ]]> 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/ChangeConflictCollection.xml b/xml/System.Data.Linq/ChangeConflictCollection.xml index feff2f2ed6f..62d1886a852 100644 --- a/xml/System.Data.Linq/ChangeConflictCollection.xml +++ b/xml/System.Data.Linq/ChangeConflictCollection.xml @@ -40,7 +40,7 @@ In the following example that retrieves information about objects in conflict, `db.ChangeConflicts` represents the collection of those objects. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeConflictCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/ChangeConflictException.xml b/xml/System.Data.Linq/ChangeConflictException.xml index 14530539ecb..f34dadd9a9e 100644 --- a/xml/System.Data.Linq/ChangeConflictException.xml +++ b/xml/System.Data.Linq/ChangeConflictException.xml @@ -26,7 +26,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeConflictCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/ConflictMode.xml b/xml/System.Data.Linq/ConflictMode.xml index b04be2487f4..03b4a0d0b58 100644 --- a/xml/System.Data.Linq/ConflictMode.xml +++ b/xml/System.Data.Linq/ConflictMode.xml @@ -29,7 +29,7 @@ db.SubmitChanges(ConflictMode.FailOnFirstConflict); ``` :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ConflictMode/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/DataContext.xml b/xml/System.Data.Linq/DataContext.xml index 993d4488130..2289cd54ad9 100644 --- a/xml/System.Data.Linq/DataContext.xml +++ b/xml/System.Data.Linq/DataContext.xml @@ -180,7 +180,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeConflictCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb" id="Snippet1"::: ]]> @@ -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/Overview/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/Overview/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/Overview/Module1.vb" id="Snippet1"::: ]]> @@ -594,7 +594,7 @@ db.ExecuteCommand("UPDATE Products SET QuantityPerUnit = {0} WHERE ProductID = { The following example opens a connection and passes a SQL `UPDATE` command to the SQL engine. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/ExecuteCommand/Program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/vb/Module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqCommunicatingWithDatabase/Module1.vb" id="Snippet3"::: ]]> @@ -953,7 +953,7 @@ Next ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/GetChangeSet/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/Module1.vb" id="Snippet2"::: ]]> @@ -1002,7 +1002,7 @@ Next ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/GetChangeSet/Program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/vb/Module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqDebuggingSupport/Module1.vb" id="Snippet3"::: ]]> @@ -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/Overview/Module1.vb" id="Snippet2"::: ]]> @@ -1403,7 +1403,7 @@ Next ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ConflictMode/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.conflictmodeenumeration/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/DataLoadOptions.xml b/xml/System.Data.Linq/DataLoadOptions.xml index 7dfa2e5efa5..b15b6034ce6 100644 --- a/xml/System.Data.Linq/DataLoadOptions.xml +++ b/xml/System.Data.Linq/DataLoadOptions.xml @@ -86,7 +86,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataLoadOptions/AssociateWith/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ In the following example, the inner loop iterates only over those `Orders` that have not been shipped today. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataLoadOptions/AssociateWith/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb" id="Snippet1"::: ]]> @@ -187,7 +187,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataLoadOptions/AssociateWith/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ In the following example, all the `Orders` for all the `Customers` who are located in London are retrieved when the query is executed. As a result, successive access to the `Orders` property on a `Customer` object does not trigger a new database query. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataLoadOptions/AssociateWith/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.dataloadoptions/module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Data.Linq/IMultipleResults.xml b/xml/System.Data.Linq/IMultipleResults.xml index 0d0c5e9c8a9..b25307e42f8 100644 --- a/xml/System.Data.Linq/IMultipleResults.xml +++ b/xml/System.Data.Linq/IMultipleResults.xml @@ -40,7 +40,7 @@ else if(@shape = 2) ``` :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/IMultipleResults/Overview/northwind-sprox.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/northwind-sprox.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/northwind-sprox.vb" id="Snippet4"::: ]]> @@ -83,7 +83,7 @@ else if(@shape = 2) ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/IMultipleResults/Overview/Program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/Module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/Module1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Data.Linq/ISingleResult`1.xml b/xml/System.Data.Linq/ISingleResult`1.xml index 5975c2cca51..beddcd47658 100644 --- a/xml/System.Data.Linq/ISingleResult`1.xml +++ b/xml/System.Data.Linq/ISingleResult`1.xml @@ -53,7 +53,7 @@ END ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/IMultipleResults/Overview/northwind-sprox.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/vb/northwind-sprox.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqSprox/northwind-sprox.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/MemberChangeConflict.xml b/xml/System.Data.Linq/MemberChangeConflict.xml index 5bf4073f22b..6fee1689137 100644 --- a/xml/System.Data.Linq/MemberChangeConflict.xml +++ b/xml/System.Data.Linq/MemberChangeConflict.xml @@ -26,7 +26,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.memberchangeconflict/module1.vb" id="Snippet1"::: ]]> @@ -247,17 +247,17 @@ The following example overwrites current values with values from the database. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet1"::: The following example shows how to swap the original value with the values retrieved from the database. No current value is modified. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet2"::: The following example keeps the current values that have been changed, but updates the other values with database values. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Data.Linq/ObjectChangeConflict.xml b/xml/System.Data.Linq/ObjectChangeConflict.xml index b2652c8226c..c17f0b4ffc0 100644 --- a/xml/System.Data.Linq/ObjectChangeConflict.xml +++ b/xml/System.Data.Linq/ObjectChangeConflict.xml @@ -28,7 +28,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeConflictCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.objectchangeconflict/module1.vb" id="Snippet1"::: ]]> @@ -214,17 +214,17 @@ The following example overwrites current values with values from the database. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet1"::: The following example shows how to swap the original value with the values retrieved from the database. No current value is modified. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet2"::: The following example keeps the current values that have been changed, but updates the other values with database values. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Data.Linq/RefreshMode.xml b/xml/System.Data.Linq/RefreshMode.xml index 0f0677fce2e..43334794b58 100644 --- a/xml/System.Data.Linq/RefreshMode.xml +++ b/xml/System.Data.Linq/RefreshMode.xml @@ -27,17 +27,17 @@ The following example overwrites current values with values from the database. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet1"::: The following example shows how to swap the original value with the values retrieved from the database. No current value is modified. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet2"::: The following example keeps the current values that have been changed, but updates the other values with database values. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/MemberChangeConflict/Resolve/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.refreshmode/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Data.Linq/Table`1.xml b/xml/System.Data.Linq/Table`1.xml index a419c9e8dfb..8b54c2849f5 100644 --- a/xml/System.Data.Linq/Table`1.xml +++ b/xml/System.Data.Linq/Table`1.xml @@ -268,7 +268,7 @@ End Using ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/Attach/Program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb" id="Snippet4"::: ]]> @@ -384,17 +384,17 @@ End Using The following example shows how you can update an `Order` object on a different instance. The example assumes that you have a connection to a database and have made a LINQ to SQL file for it (in this case, the Northwind sample database). :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/Attach/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb" id="Snippet1"::: In the following example, an entity object to be attached has a foreign key relation with another object and is stored in the cache but not attached. When you call , the `ChangeProcessor` adds an `Insert` operation for all the foreign key objects. This is a side-effect when an entity instance is re-used in a different instance. For this reason, LINQ to SQL does not support re-use of objects. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/Attach/Program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb" id="Snippet7"::: The following example shows a scenario in which Customer A has canceled all orders and Customer B has taken ownership of them. You can attach all orders of Customer A at the same time. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/Attach/Program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/vb/Module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/DLinqNTier/Module1.vb" id="Snippet3"::: ]]> @@ -534,7 +534,7 @@ db.SubmitChanges() ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/DeleteOnSubmit/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/module1.vb" id="Snippet3"::: ]]> @@ -733,7 +733,7 @@ db.SubmitChanges() ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/TableTEntity/DeleteOnSubmit/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Data/system.data.linq.table/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Odbc/OdbcDataReader.xml b/xml/System.Data.Odbc/OdbcDataReader.xml index 1de53056ca9..33eecb4634c 100644 --- a/xml/System.Data.Odbc/OdbcDataReader.xml +++ b/xml/System.Data.Odbc/OdbcDataReader.xml @@ -1492,7 +1492,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/odbcdatareader_getvalues/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/odbcdatareader_getvalues/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.OleDb/OleDbDataReader.xml b/xml/System.Data.OleDb/OleDbDataReader.xml index 19aa6def502..b9b97ac6433 100644 --- a/xml/System.Data.OleDb/OleDbDataReader.xml +++ b/xml/System.Data.OleDb/OleDbDataReader.xml @@ -1468,7 +1468,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/oledbdatareader_getvalues/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/oledbdatareader_getvalues/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Services.Client/DataServiceCollection`1.xml b/xml/System.Data.Services.Client/DataServiceCollection`1.xml index d46f1b6a4c5..9ec91458b16 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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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..6c179898dc4 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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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..e8f7f4a25c1 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/VS_Snippets_Misc/astoria_northwind_client/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..b640badf92c 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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/source.vb" id="Snippetcountallcustomers"::: ]]> diff --git a/xml/System.Data.Services.Client/EntityChangedParams.xml b/xml/System.Data.Services.Client/EntityChangedParams.xml index 8c004e00fbb..220c114f42a 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/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom.xaml" id="Snippetwpfdatabindingcustomxaml"::: ]]> diff --git a/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml b/xml/System.Data.Services.Client/EntityCollectionChangedParams.xml index 862a87d61d2..e9e0d6e752d 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/VS_Snippets_Misc/astoria_northwind_client/customerorderscustom.xaml.vb" id="Snippetwpfdatabindingcustom"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/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/VS_Snippets_Misc/astoria_northwind_client/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..c63472e8b0d 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/VS_Snippets_Misc/astoria_northwind_client/source.vb" id="Snippetgetcustomerspaged"::: ]]> diff --git a/xml/System.Data.Services.Common/EntityPropertyMappingAttribute.xml b/xml/System.Data.Services.Common/EntityPropertyMappingAttribute.xml index d7f84e4e408..c55ff8c5113 100644 --- a/xml/System.Data.Services.Common/EntityPropertyMappingAttribute.xml +++ b/xml/System.Data.Services.Common/EntityPropertyMappingAttribute.xml @@ -35,7 +35,7 @@ In the following example, both properties of the `Order` type are mapped to existing feed elements. The `Product` property of the `Item` type is mapped to a custom feed attribute in a separate namespace. :::code language="csharp" source="~/snippets/csharp/System.Data.Services.Common/EntityPropertyMappingAttribute/Overview/orderitems.svc.cs" id="Snippetcustomiqueryablefeeds"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/vb/orderitems.svc.vb" id="Snippetcustomiqueryablefeeds"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_custom_feeds/orderitems.svc.vb" id="Snippetcustomiqueryablefeeds"::: The previous example returns the following result for the URI `http://myservice/OrderItems.svc/Orders(0)?$expand=Items`. diff --git a/xml/System.Data.Services/DataServiceConfiguration.xml b/xml/System.Data.Services/DataServiceConfiguration.xml index 39cc60885d1..b4d10036e78 100644 --- a/xml/System.Data.Services/DataServiceConfiguration.xml +++ b/xml/System.Data.Services/DataServiceConfiguration.xml @@ -27,7 +27,7 @@ This example shows the code-behind page for a Northwind-based data service, with access granted to selected entity sets. :::code language="csharp" source="~/snippets/csharp/System.Data.Services/DataServiceConfiguration/Overview/northwind.svc.cs" id="Snippetnorthwindservicefull"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.svc.vb" id="Snippetnorthwindservicefull"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.svc.vb" id="Snippetnorthwindservicefull"::: ]]> @@ -408,7 +408,7 @@ This example shows the code-behind page for a Northwind-based data service, with access granted to selected entity sets. :::code language="csharp" source="~/snippets/csharp/System.Data.Services/DataServiceConfiguration/Overview/northwind.svc.cs" id="Snippetnorthwindservicefull"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/vb/northwind.svc.vb" id="Snippetnorthwindservicefull"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/astoria_quickstart_service/northwind.svc.vb" id="Snippetnorthwindservicefull"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlConnection.xml b/xml/System.Data.SqlClient/SqlConnection.xml index d5ebe239892..fe295bf48ec 100644 --- a/xml/System.Data.SqlClient/SqlConnection.xml +++ b/xml/System.Data.SqlClient/SqlConnection.xml @@ -1411,7 +1411,7 @@ The is similar to ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/sqlconnection_createcommand/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/sqlconnection_createcommand/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlConnectionStringBuilder.xml b/xml/System.Data.SqlClient/SqlConnectionStringBuilder.xml index cc5b4b59a18..d8f6a78b469 100644 --- a/xml/System.Data.SqlClient/SqlConnectionStringBuilder.xml +++ b/xml/System.Data.SqlClient/SqlConnectionStringBuilder.xml @@ -1827,7 +1827,7 @@ This property corresponds to the "Integrated Security" and "trusted_connection" The following example shows how to set . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/dataworks sqlconnectionstringbuilder.password.2/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlDataReader.xml b/xml/System.Data.SqlClient/SqlDataReader.xml index 8a4fc695f9a..a529ad853bb 100644 --- a/xml/System.Data.SqlClient/SqlDataReader.xml +++ b/xml/System.Data.SqlClient/SqlDataReader.xml @@ -3371,7 +3371,7 @@ Boolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Float, Guid, Int Call this method to check for null column values before calling the typed get methods (for example, , , and so on) to avoid raising an error. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/sqldatareader_isdbnull/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/sqldatareader_isdbnull/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlParameterCollection.xml b/xml/System.Data.SqlClient/SqlParameterCollection.xml index 1cceff0c6c3..cab667772f3 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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/Overview/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/VS_Snippets_CLR_System/system.Collections.IList_Implementation/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/Overview/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/Overview/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data/DataTableExtensions.xml b/xml/System.Data/DataTableExtensions.xml index e4478539c76..cde2c9e2828 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.Data/IDataReader.xml b/xml/System.Data/IDataReader.xml index ff0f01b17a4..e592078fbc8 100644 --- a/xml/System.Data/IDataReader.xml +++ b/xml/System.Data/IDataReader.xml @@ -338,7 +338,7 @@ Returns if the executed command returned no resultset, o By default, the data reader is positioned on the first result. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/idatareader_nextresult/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/idatareader_nextresult/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data/IsolationLevel.xml b/xml/System.Data/IsolationLevel.xml index d973897cef3..fb05415c247 100644 --- a/xml/System.Data/IsolationLevel.xml +++ b/xml/System.Data/IsolationLevel.xml @@ -155,7 +155,7 @@ When using , if you do not set diff --git a/xml/System.Device.Location/CivicAddress.xml b/xml/System.Device.Location/CivicAddress.xml index 30713449cae..f48fcf132f0 100644 --- a/xml/System.Device.Location/CivicAddress.xml +++ b/xml/System.Device.Location/CivicAddress.xml @@ -31,12 +31,12 @@ The following example shows how to resolve a from a location synchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet1"::: The following example shows how to resolve a from a location asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The following example uses to check the that is returned from before the civic address is printed out. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet2"::: ]]> @@ -427,7 +427,7 @@ The following example uses to check the that is returned from before the civic address is printed out. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Device.Location/CivicAddressResolver.xml b/xml/System.Device.Location/CivicAddressResolver.xml index cdc7fabbe1e..4454473fe80 100644 --- a/xml/System.Device.Location/CivicAddressResolver.xml +++ b/xml/System.Device.Location/CivicAddressResolver.xml @@ -31,12 +31,12 @@ The following program shows how to call to resolve a civic address synchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet1"::: The following program shows how to call to resolve a civic address asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet1"::: ]]> @@ -108,7 +108,7 @@ CivicAddressResolver resolver = new CivicAddressResolver(); The following program demonstrates how to call to resolve a civic address synchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following program shows how to call to resolve a civic address asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following program shows how to call to resolve a civic address asynchronously. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Device.Location/GeoCoordinate.xml b/xml/System.Device.Location/GeoCoordinate.xml index f8a27388450..229b7f04b7d 100644 --- a/xml/System.Device.Location/GeoCoordinate.xml +++ b/xml/System.Device.Location/GeoCoordinate.xml @@ -243,7 +243,7 @@ The following example prints the and properties of the current location's . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/Course/courseandspeed.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/vb/courseandspeed.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/courseandspeed.vb" id="Snippet2"::: ]]> @@ -459,7 +459,7 @@ The following code example verifies whether the that corresponds to a location is before printing out its latitude and longitude. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/IsUnknown/getlocationdatasynchandleunknown.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/vb/GetLocationDataSyncHandleUnknown.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/GetLocationDataSyncHandleUnknown.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ The following example prints the latitude and longitude values that are obtained from a . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/Latitude/locationevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/vb/locationevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/locationevent.vb" id="Snippet1"::: ]]> @@ -545,7 +545,7 @@ The following example prints the latitude and longitude values that are obtained from a . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/Latitude/locationevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/vb/locationevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/locationevent.vb" id="Snippet1"::: ]]> @@ -654,7 +654,7 @@ The following example prints the and properties of the current location's . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/Course/courseandspeed.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/vb/courseandspeed.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.courseandspeed/courseandspeed.vb" id="Snippet2"::: ]]> @@ -720,7 +720,7 @@ The following code example verifies whether the that corresponds to a location is before printing out its latitude and longitude. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/IsUnknown/getlocationdatasynchandleunknown.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/vb/GetLocationDataSyncHandleUnknown.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasynchandleunknown/GetLocationDataSyncHandleUnknown.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Device.Location/GeoCoordinateWatcher.xml b/xml/System.Device.Location/GeoCoordinateWatcher.xml index 80e30440828..d478643c6f0 100644 --- a/xml/System.Device.Location/GeoCoordinateWatcher.xml +++ b/xml/System.Device.Location/GeoCoordinateWatcher.xml @@ -62,12 +62,12 @@ The following program shows how to create a and start acquiring data by using an initialization timeout. The code then prints the coordinates of the location, if known. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Overview/getlocationdatasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/vb/GetLocationDataSync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/GetLocationDataSync.vb" id="Snippet1"::: The following program shows how to receive continuous location updates by subscribing to events. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Overview/getlocationdataasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/vb/GetLocationDataAsync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/GetLocationDataAsync.vb" id="Snippet1"::: ]]> @@ -395,7 +395,7 @@ The following program shows how to subscribe to continuous updates from events. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Overview/getlocationdataasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/vb/GetLocationDataAsync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataasync/GetLocationDataAsync.vb" id="Snippet1"::: ]]> @@ -515,7 +515,7 @@ In the following example, the property of the property is saved in a object. The latitude and longitude fields of the are printed if they are known. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Overview/getlocationdatasync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/vb/GetLocationDataSync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/GetLocationDataSync.vb" id="Snippet2"::: ]]> @@ -556,7 +556,7 @@ The following example shows how to handle the first event. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinate/Latitude/locationevent.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/vb/locationevent.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.locationevent1/locationevent.vb" id="Snippet1"::: ]]> @@ -619,7 +619,7 @@ The following program handles the first location update that occurs after is called. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Start/getlocationdataupdateonce.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/vb/GetLocationDataUpdateOnce.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdataupdateonce/GetLocationDataUpdateOnce.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ The following example handles events and prints a message based on the . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Status/showstatusupdates.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/vb/ShowStatusUpdates.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/ShowStatusUpdates.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ The following example demonstrates how to handle events. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Status/showstatusupdates.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/vb/ShowStatusUpdates.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/ShowStatusUpdates.vb" id="Snippet1"::: ]]> @@ -929,7 +929,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates how to call . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Overview/getlocationdatasync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/vb/GetLocationDataSync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.getlocationdatasync1/GetLocationDataSync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Device.Location/GeoPositionStatus.xml b/xml/System.Device.Location/GeoPositionStatus.xml index 0c7b49874b3..fe161a83901 100644 --- a/xml/System.Device.Location/GeoPositionStatus.xml +++ b/xml/System.Device.Location/GeoPositionStatus.xml @@ -21,7 +21,7 @@ The following example shows how to handle events and print out the current . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/GeoCoordinateWatcher/Status/showstatusupdates.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/vb/ShowStatusUpdates.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.showstatusupdates/ShowStatusUpdates.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Device.Location/ICivicAddressResolver.xml b/xml/System.Device.Location/ICivicAddressResolver.xml index f7c215ef1cb..36f772ad46f 100644 --- a/xml/System.Device.Location/ICivicAddressResolver.xml +++ b/xml/System.Device.Location/ICivicAddressResolver.xml @@ -52,7 +52,7 @@ The following example shows how to call . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddresssync.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/vb/resolvecivicaddresssync.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddresssync/resolvecivicaddresssync.vb" id="Snippet1"::: ]]> @@ -90,7 +90,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to call . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet2"::: ]]> @@ -121,7 +121,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example demonstrates how to call and handle the event. :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Device.Location/ResolveAddressCompletedEventArgs.xml b/xml/System.Device.Location/ResolveAddressCompletedEventArgs.xml index d781bdf556c..df3abe001bd 100644 --- a/xml/System.Device.Location/ResolveAddressCompletedEventArgs.xml +++ b/xml/System.Device.Location/ResolveAddressCompletedEventArgs.xml @@ -22,7 +22,7 @@ The following example shows how to use the . :::code language="csharp" source="~/snippets/csharp/System.Device.Location/CivicAddress/Overview/resolvecivicaddressasync.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/vb/resolvecivicaddressasync.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.device.location.resolvecivicaddressasync/resolvecivicaddressasync.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml index 167ac9c5dfb..a67e4142e95 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/VB/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/VB/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/VB/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/VB/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/VB/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics.Contracts/Contract.xml b/xml/System.Diagnostics.Contracts/Contract.xml index b098bd1ff8b..a7fac2134b3 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/VS_Snippets_CLR/contractexample/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/VS_Snippets_CLR/contract.forallexample/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/VS_Snippets_CLR/contract.forallexample/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/VS_Snippets_CLR/contractexample/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/VS_Snippets_CLR/contractexample/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..ffb107a1752 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/VS_Snippets_CLR/contractexample/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/VS_Snippets_CLR/contractexample/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml b/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml index db02c0292be..35a42c039a0 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/Overview/attributes.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventAttribute.xml b/xml/System.Diagnostics.Tracing/EventAttribute.xml index db964c2e1ad..3ca8ee06055 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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/program.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventKeywords.xml b/xml/System.Diagnostics.Tracing/EventKeywords.xml index 29fab0b6b91..c78e51eda67 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/VS_Snippets_CLR/etwtrace/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventLevel.xml b/xml/System.Diagnostics.Tracing/EventLevel.xml index 1bead810854..9c4145da67a 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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/program.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventOpcode.xml b/xml/System.Diagnostics.Tracing/EventOpcode.xml index 643449d6e2a..5aef5c7c967 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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventSource.xml b/xml/System.Diagnostics.Tracing/EventSource.xml index b31d562844c..2569dd0a17c 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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR/etwtrace/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/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/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/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/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/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventTask.xml b/xml/System.Diagnostics.Tracing/EventTask.xml index 46a581f36ac..7e302d99398 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/VS_Snippets_CLR/etwtrace/program.vb" id="Snippet4"::: ]]> 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/Debug.xml b/xml/System.Diagnostics/Debug.xml index 76e70b78f5c..c15df07cf6a 100644 --- a/xml/System.Diagnostics/Debug.xml +++ b/xml/System.Diagnostics/Debug.xml @@ -110,7 +110,7 @@ For .NET Framework apps, you can set the to indicate the beginning and end of a program's execution. The example also uses and to distinguish the tracing output. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ For .NET Framework apps, you can change the behavior of the to confirm that the index value is valid. If it is not valid, outputs the call stack. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Assert/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Assert/VB/source.vb" id="Snippet1"::: ]]> @@ -438,7 +438,7 @@ For .NET Framework apps, you can change the behavior of the outputs a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Assert/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Assert1/VB/source.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ For .NET Framework apps, you can change the behavior of the outputs two messages. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Assert/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Assert2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Assert2/VB/source.vb" id="Snippet1"::: ]]> @@ -908,7 +908,7 @@ For .NET Framework apps, you can also set the named `myTextListener`. `myTextListener` uses a called `myOutputWriter` to write to a file named `TestFile.txt`. The example creates the file, stream, and text writer, writes one line of text to the file, and then flushes and closes the output. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Close Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Close/VB/source.vb" id="Snippet1"::: ]]> @@ -1006,12 +1006,12 @@ The following example creates a method to print a message during exception handling. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Fail/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Fail/VB/source.vb" id="Snippet1"::: You can also use the method in a switch statement. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Fail/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Fail/VB/source.vb" id="Snippet2"::: ]]> @@ -1101,12 +1101,12 @@ The following example uses the method to The following example uses the method to print a message during exception handling. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Fail/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Fail1/VB/source.vb" id="Snippet1"::: You can also use the method in a switch statement. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Fail/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Fail1 Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Fail1/VB/source.vb" id="Snippet2"::: ]]> @@ -1180,7 +1180,7 @@ You can also use the method in a switch The following example creates a named `myTextListener`. `myTextListener` uses a called `myFileStream` to write to a file named `TestFile.txt`. The example creates the stream, opens the file if it exists or creates a new one, writes one line of text to the file, and then flushes and closes the output. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Close Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Close/VB/source.vb" id="Snippet1"::: ]]> @@ -1249,7 +1249,7 @@ The following example creates a property represents the numbe The following example sets the indent level and emits debugging messages. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Indent/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.IndentLevel Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/IndentLevel/VB/source.vb" id="Snippet1"::: This example produces the following output: @@ -1457,7 +1457,7 @@ For .NET Framework apps, you can also set the that outputs to the console screen. The code then adds the new listener to the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Listeners/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Listeners Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Listeners/VB/source.vb" id="Snippet1"::: ]]> @@ -1691,7 +1691,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -1871,7 +1871,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -1958,7 +1958,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -2045,7 +2045,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -2215,7 +2215,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs a message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteIf/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteIf1/VB/source.vb" id="Snippet1"::: ]]> @@ -2316,7 +2316,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteIf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteIf/VB/source.vb" id="Snippet1"::: ]]> @@ -2497,7 +2497,7 @@ The following example creates a named `gen Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteIf/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteIf3/VB/source.vb" id="Snippet1"::: ]]> @@ -2602,7 +2602,7 @@ The following example creates a named `gen Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteIf/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteIf2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteIf2/VB/source.vb" id="Snippet1"::: ]]> @@ -2713,7 +2713,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the name of the object on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLine/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLine1/VB/source.vb" id="Snippet1"::: ]]> @@ -2797,7 +2797,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLine/VB/source.vb" id="Snippet1"::: ]]> @@ -2884,7 +2884,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLine/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLine3/VB/source.vb" id="Snippet1"::: ]]> @@ -3058,7 +3058,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message and the `category` on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLine/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLine2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLine2/VB/source.vb" id="Snippet1"::: ]]> @@ -3225,7 +3225,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the name of the object on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLineIf/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf1/VB/source.vb" id="Snippet1"::: ]]> @@ -3327,7 +3327,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLineIf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf/VB/source.vb" id="Snippet1"::: ]]> @@ -3507,7 +3507,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLineIf/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf3/VB/source.vb" id="Snippet1"::: ]]> @@ -3612,7 +3612,7 @@ The following example creates a named `gen Then, if the is set to `Verbose`, the example outputs the second error message and the `category` on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Debug/WriteLineIf/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Debug.WriteLineIf2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Debug/WriteLineIf2/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml b/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml index 585fc2356c7..6e9c70d8694 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/Overview/VB/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerBrowsableState.xml b/xml/System.Diagnostics/DebuggerBrowsableState.xml index 43300c598b6..3b00355e78e 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/Overview/VB/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerDisplayAttribute.xml b/xml/System.Diagnostics/DebuggerDisplayAttribute.xml index abffb2f1703..24765b17caa 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/Overview/VB/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/Overview/VB/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/Overview/VB/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml b/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml index 27a06033dd9..72de831cf5a 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/Overview/VB/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/Overview/VB/module1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Diagnostics/DefaultTraceListener.xml b/xml/System.Diagnostics/DefaultTraceListener.xml index 339dc0a1cfc..85e139cf2ba 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/Overview.WriteLine/VB/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/Overview.WriteLine/VB/defaulttracelistener.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/EventLog.xml b/xml/System.Diagnostics/EventLog.xml index e7bf915f077..ec44d97a9af 100644 --- a/xml/System.Diagnostics/EventLog.xml +++ b/xml/System.Diagnostics/EventLog.xml @@ -129,7 +129,7 @@ > You must run this application as an administrator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -279,7 +279,7 @@ The following example reads entries in the event log, "myNewLog", on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/EventLog1/VB/source.vb" id="Snippet1"::: ]]> @@ -356,7 +356,7 @@ The following example reads entries in the event log, "myNewLog", on the computer "myServer". :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/EventLog2/VB/source.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ The following example writes an entry to an event log, "MyNewLog", on the local computer, using the source "MySource". :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EventLog3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/EventLog3/VB/source.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ > Because Application, System, Security, and other non-custom logs can contain crucial information; be sure to specify a custom log before executing this example code. This example deletes the custom log `myNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Clear/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Clear Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Clear/VB/source.vb" id="Snippet1"::: ]]> @@ -924,7 +924,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -1058,7 +1058,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` on the computer `MyServer`, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/CreateEventSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.SourceExists1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/SourceExists1/VB/source.vb" id="Snippet1"::: ]]> @@ -1177,7 +1177,7 @@ SVC_UPDATE.EXE > More than one source might write to an event log. Before deleting a custom log, make sure there are no other sources writing to that log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Delete/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.DeleteEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/DeleteEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -1259,7 +1259,7 @@ SVC_UPDATE.EXE > More than one source might write to an event log. Before deleting a custom log, make sure there are no other sources writing to that log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Delete/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Delete1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Delete1/VB/source.vb" id="Snippet1"::: ]]> @@ -1359,7 +1359,7 @@ SVC_UPDATE.EXE > More than one source might write to an event log. Before deleting a custom log, make sure there are no other sources writing to that log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Delete/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.DeleteEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/DeleteEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -1435,7 +1435,7 @@ SVC_UPDATE.EXE > More than one source might write to an event log. Before deleting a custom log, make sure there are no other sources writing to that log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Delete/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Delete1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Delete1/VB/source.vb" id="Snippet1"::: ]]> @@ -1572,7 +1572,7 @@ SVC_UPDATE.EXE The following example handles an event. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/EnableRaisingEvents/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EnableRaisingEvents Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/EnableRaisingEvents/VB/source.vb" id="Snippet1"::: ]]> @@ -1695,7 +1695,7 @@ SVC_UPDATE.EXE The following example reads entries in the event log, "MyNewLog", on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Entries/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Entries Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Entries/VB/source.vb" id="Snippet1"::: ]]> @@ -1759,7 +1759,7 @@ SVC_UPDATE.EXE The following example handles an entry written event. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/EntryWritten/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.EntryWritten Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/EntryWritten/VB/source.vb" id="Snippet1"::: ]]> @@ -2033,7 +2033,7 @@ SVC_UPDATE.EXE The following example gets a list of logs on the computer "myServer". It then outputs the name of each log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/GetEventLogs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.GetEventLogs1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/GetEventLogs1/VB/source.vb" id="Snippet1"::: ]]> @@ -2146,7 +2146,7 @@ SVC_UPDATE.EXE The following example reads entries in the event log, "NewEventLog", on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Log/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Log Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Log/VB/source.vb" id="Snippet1"::: ]]> @@ -2274,7 +2274,7 @@ SVC_UPDATE.EXE > More than one source might write to an event log. Before deleting a custom log, make sure there are no other sources writing to that log. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Delete/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.DeleteEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/DeleteEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -2356,7 +2356,7 @@ SVC_UPDATE.EXE The following example reads entries in the event log, "NewEventLog", on a specified computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/MachineName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.MachineName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/MachineName/VB/source.vb" id="Snippet1"::: ]]> @@ -2950,7 +2950,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Source/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Source Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Source/VB/source.vb" id="Snippet1"::: ]]> @@ -3039,7 +3039,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Source/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.Source Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/Source/VB/source.vb" id="Snippet1"::: ]]> @@ -3123,7 +3123,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` on the computer `MyServer`, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/CreateEventSource/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.SourceExists1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/SourceExists1/VB/source.vb" id="Snippet1"::: ]]> @@ -3287,7 +3287,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.CreateEventSource Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/CreateEventSource/VB/source.vb" id="Snippet1"::: ]]> @@ -3396,7 +3396,7 @@ SVC_UPDATE.EXE The following example writes a warning entry to an event log, "MyNewLog", on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry2/VB/source.vb" id="Snippet1"::: ]]> @@ -3493,7 +3493,7 @@ SVC_UPDATE.EXE The following example creates the source `MySource` if it does not already exist, and writes an entry to the event log `MyNewLog`. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry1/VB/source.vb" id="Snippet1"::: ]]> @@ -3707,7 +3707,7 @@ SVC_UPDATE.EXE The following example writes a warning entry to an event log, "MyNewLog", on the local computer. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventLog/WriteEntry/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic EventLog.WriteEntry3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventLog/WriteEntry3/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/EventSchemaTraceListener.xml b/xml/System.Diagnostics/EventSchemaTraceListener.xml index 3eb87370d79..a24fa987a2e 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/Overview.Ctors/VB/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/Overview.Ctors/VB/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/Overview.Ctors/VB/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/Overview.Ctors/VB/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/Overview.Ctors/VB/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/InstanceData.xml b/xml/System.Diagnostics/InstanceData.xml index 208c658b11c..b00a0d46d7c 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/CopyTo/VB/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/CopyTo/VB/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/CopyTo/VB/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/CopyTo/VB/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/CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollection.xml b/xml/System.Diagnostics/InstanceDataCollection.xml index c11745ce253..e5a7e4b7e62 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/InstanceData/KeysValues/VB/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/ItemContains/VB/instdatacolitemcontains.vb" id="Snippet2"::: ]]> @@ -202,7 +202,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/CopyTo/VB/instdatacopyto.vb" id="Snippet4"::: ]]> @@ -252,7 +252,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/CopyTo/VB/instdatacopyto.vb" id="Snippet4"::: ]]> @@ -305,7 +305,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/ItemContains/VB/instdatacolitemcontains.vb" id="Snippet2"::: ]]> @@ -355,7 +355,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/InstanceData/KeysValues/VB/instdatakeysvalues.vb" id="Snippet3"::: ]]> @@ -399,7 +399,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/InstanceData/KeysValues/VB/instdatakeysvalues.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollectionCollection.xml b/xml/System.Diagnostics/InstanceDataCollectionCollection.xml index b17712a1f19..f2617da8ff1 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/InstanceData/KeysValues/VB/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/ItemContains/VB/instdatacolcolitemcontains.vb" id="Snippet2"::: ]]> @@ -202,7 +202,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/CopyTo/VB/instdatacopyto.vb" id="Snippet5"::: ]]> @@ -257,7 +257,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/ItemContains/VB/instdatacolcolitemcontains.vb" id="Snippet2"::: ]]> @@ -307,7 +307,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/InstanceData/KeysValues/VB/instdatakeysvalues.vb" id="Snippet4"::: ]]> @@ -351,7 +351,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/InstanceData/KeysValues/VB/instdatakeysvalues.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/PerformanceCounterCategory.xml b/xml/System.Diagnostics/PerformanceCounterCategory.xml index 5ce488d353d..15ffd3ac501 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/VB/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/OtherMembers/VB/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/OtherMembers/VB/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/OtherMembers/VB/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/OtherMembers/VB/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/OtherMembers/VB/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/ExistMembers/VB/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/ExistMembers/VB/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/ExistMembers/VB/perfcountercatstatcountexists.vb" id="Snippet8"::: ]]> @@ -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/OtherMembers/VB/perfcountercatcreate.vb" id="Snippet2"::: ]]> @@ -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/OtherMembers/VB/perfcountercatdelete.vb" id="Snippet6"::: ]]> @@ -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/GetMembers/VB/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/GetMembers/VB/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/GetMembers/VB/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/GetMembers/VB/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/GetMembers/VB/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/ExistMembers/VB/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/ExistMembers/VB/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/ExistMembers/VB/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/OtherMembers/VB/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/CopyTo/VB/instdatacopyto.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 248185ee78e..d5d46e8fea9 100644 --- a/xml/System.Diagnostics/Process.xml +++ b/xml/System.Diagnostics/Process.xml @@ -970,7 +970,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 @@ -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/VB/program.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/VS_Snippets_CLR/onexitsample/program.vb" id="Snippet1"::: ]]> @@ -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/VB/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/StackFrame.xml b/xml/System.Diagnostics/StackFrame.xml index 7a0fef805fe..8033180bb15 100644 --- a/xml/System.Diagnostics/StackFrame.xml +++ b/xml/System.Diagnostics/StackFrame.xml @@ -78,7 +78,7 @@ 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/VS_Snippets_CLR/stackframesample2/program.vb" id="Snippet1"::: The following example demonstrates the use of the members of the class. diff --git a/xml/System.Diagnostics/Stopwatch.xml b/xml/System.Diagnostics/Stopwatch.xml index c66defde220..0b27f013b9e 100644 --- a/xml/System.Diagnostics/Stopwatch.xml +++ b/xml/System.Diagnostics/Stopwatch.xml @@ -86,7 +86,7 @@ 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/VB/source.vb" id="Snippet1"::: The following example demonstrates the use of the class to calculate performance data. @@ -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/VB/source.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/VB/source.vb" id="Snippet1"::: ]]> @@ -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/VB/source.vb" id="Snippet1"::: ]]> @@ -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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/TextWriterTraceListener.xml b/xml/System.Diagnostics/TextWriterTraceListener.xml index 495dfd0b8e2..f393a02962c 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/VB/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/VB/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/VB/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/VB/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/VB/twtlconstringname.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/Trace.xml b/xml/System.Diagnostics/Trace.xml index 6aea8fb4087..778e81e767a 100644 --- a/xml/System.Diagnostics/Trace.xml +++ b/xml/System.Diagnostics/Trace.xml @@ -98,7 +98,7 @@ In .NET Framework apps, you can set the to indicate the beginning and the end of a program's execution. The example also uses the and methods to distinguish the tracing output. For a more complete example of the use of , see [How to: Add Trace Statements to Application Code](/dotnet/framework/debug-trace-profile/how-to-add-trace-statements-to-application-code). :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Overview/VB/source.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ For .NET Framework apps, you can change the behavior of the to verify the index value is valid. If it is not valid, the outputs the call stack. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Assert/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Assert/VB/source.vb" id="Snippet1"::: ]]> @@ -325,7 +325,7 @@ For .NET Framework apps, you can change the behavior of the outputs a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Assert/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Assert1/VB/source.vb" id="Snippet1"::: ]]> @@ -429,7 +429,7 @@ For .NET Framework apps, you can change the behavior of the outputs a message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Assert/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Assert2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Assert2/VB/source.vb" id="Snippet1"::: ]]> @@ -570,7 +570,7 @@ For .NET Framework apps, you can change the behavior of the named `myTextListener`. `myTextListener` uses a called `myOutputWriter` to write to a file named `TestFile.txt`. The example creates the file, stream and text writer, writes one line of text to the file, and then flushes and closes the output. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Flush Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Flush/VB/source.vb" id="Snippet1"::: ]]> @@ -721,12 +721,12 @@ For .NET Framework apps, you can change the behavior of the method to print a message during exception handling. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Fail/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Fail/VB/source.vb" id="Snippet1"::: You can also use the method in a switch statement. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Fail/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Fail/VB/source.vb" id="Snippet2"::: ]]> @@ -811,12 +811,12 @@ For .NET Framework apps, you can change the behavior of the method to print a message during exception handling. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Fail/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Fail1/VB/source.vb" id="Snippet1"::: You can also use the method in a switch statement. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Fail/source1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Fail1 Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Fail1/VB/source.vb" id="Snippet2"::: ]]> @@ -886,7 +886,7 @@ For .NET Framework apps, you can change the behavior of the named `myTextListener`. `myTextListener` uses a called `myOutputWriter` to write to a file named `TestFile.txt`. The example creates the file, stream and text writer, writes one line of text to the file, and then flushes and closes the output. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Flush Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Flush/VB/source.vb" id="Snippet1"::: ]]> @@ -951,7 +951,7 @@ For .NET Framework apps, you can change the behavior of the that outputs to the console screen. The code then adds the new listener to the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Listeners/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Listeners Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Listeners/VB/source.vb" id="Snippet1"::: ]]> @@ -1793,7 +1793,7 @@ End of list of errors The following example increments and decrements the indent level and emits tracing messages. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Indent/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.IndentLevel Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/IndentLevel/VB/source.vb" id="Snippet1"::: This example produces the following output: @@ -1954,7 +1954,7 @@ End of list of errors Then, if the is set to `Verbose`, the example outputs a message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Write/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Write1/VB/source.vb" id="Snippet1"::: ]]> @@ -2039,7 +2039,7 @@ End of list of errors Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. A line terminator follows the second message. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -2128,7 +2128,7 @@ End of list of errors Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Write/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Write3/VB/source.vb" id="Snippet1"::: ]]> @@ -2217,7 +2217,7 @@ End of list of errors Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Write/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Write2/VB/source.vb" id="Snippet1"::: ]]> @@ -2310,7 +2310,7 @@ End of list of errors Then, if the is set to `Verbose`, the example outputs a message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteIf/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteIf1/VB/source.vb" id="Snippet1"::: ]]> @@ -2409,7 +2409,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteIf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteIf/VB/source.vb" id="Snippet1"::: ]]> @@ -2512,7 +2512,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteIf/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteIf3/VB/source.vb" id="Snippet1"::: ]]> @@ -2615,7 +2615,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Error` or higher, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteIf/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteIf2/VB/source.vb" id="Snippet1"::: ]]> @@ -2721,7 +2721,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the name of the object on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLine1/VB/source.vb" id="Snippet1"::: ]]> @@ -2801,7 +2801,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Write Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Write/VB/source.vb" id="Snippet1"::: ]]> @@ -2885,7 +2885,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLine/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLine3/VB/source.vb" id="Snippet1"::: ]]> @@ -2969,7 +2969,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the second error message and the `category` on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLine/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLine2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLine2/VB/source.vb" id="Snippet1"::: ]]> @@ -3062,7 +3062,7 @@ Trace.WriteIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range"); Then, if the is set to `Verbose`, the example outputs the name of the object on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLineIf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf1 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf1/VB/source.vb" id="Snippet1"::: ]]> @@ -3161,7 +3161,7 @@ Trace.WriteLineIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range") Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteIf/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteIf Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteIf/VB/source.vb" id="Snippet1"::: ]]> @@ -3264,7 +3264,7 @@ Trace.WriteLineIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range") Then, if the is set to `Verbose`, the example outputs the second error message on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLineIf/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf3 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf3/VB/source.vb" id="Snippet1"::: ]]> @@ -3367,7 +3367,7 @@ Trace.WriteLineIf(mySwitch.TraceError, "aNumber = " + aNumber + " out of range") Then, if the is set to `Verbose`, the example outputs the second error message and the `category` on the same line as the first message. The second message is followed by a line terminator. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/WriteLineIf/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.WriteLineIf2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/WriteLineIf2/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/TraceFilter.xml b/xml/System.Diagnostics/TraceFilter.xml index b3679294cc9..ea47f76e043 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/Overview/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/TraceListener.xml b/xml/System.Diagnostics/TraceListener.xml index a99c4ed2bb6..7005177f722 100644 --- a/xml/System.Diagnostics/TraceListener.xml +++ b/xml/System.Diagnostics/TraceListener.xml @@ -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/CustomAttributes/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/TraceListenerCollection.xml b/xml/System.Diagnostics/TraceListenerCollection.xml index c1d4f100e24..4d28c3c4f65 100644 --- a/xml/System.Diagnostics/TraceListenerCollection.xml +++ b/xml/System.Diagnostics/TraceListenerCollection.xml @@ -79,7 +79,7 @@ The following example creates a that writes to the console screen. The code then adds the new listener to the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/Trace/Listeners/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Trace.Listeners Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/Trace/Listeners/VB/source.vb" id="Snippet1"::: ]]> 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..b460a836277 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/VB/module1.vb" id="Snippet1"::: ]]> 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.Globalization/Calendar.xml b/xml/System.Globalization/Calendar.xml index 4445d3c53f6..a3a22b7e74f 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/VB/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/Addmethods/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/VB/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/JapaneseCalendar/Eras/VB/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/VB/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/VB/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/VB/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/Overview_Compare/VB/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/Overview_Compare/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/Overview_Compare/VB/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/VB/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/Overview.GetWeekOfYear/VB/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/Overview.GetWeekOfYear/VB/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/VB/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/Overview_Compare/VB/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/Overview_Compare/VB/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/Overview_Compare/VB/calendar_compare.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..24a718d56de 100644 --- a/xml/System.Globalization/CharUnicodeInfo.xml +++ b/xml/System.Globalization/CharUnicodeInfo.xml @@ -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"::: @@ -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"::: @@ -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. @@ -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. diff --git a/xml/System.Globalization/CompareInfo.xml b/xml/System.Globalization/CompareInfo.xml index c4bafbcadb2..7dd39eb1632 100644 --- a/xml/System.Globalization/CompareInfo.xml +++ b/xml/System.Globalization/CompareInfo.xml @@ -206,7 +206,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/CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: The following example demonstrates calling the method. @@ -218,7 +218,7 @@ 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,7 +364,7 @@ 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/CompareStrStrOpt/VB/comparestrstropt.vb" id="Snippet1"::: The following example demonstrates calling the method. @@ -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/CompareStrIntStrInt/VB/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/CompareStrIntStrIntOpt/VB/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/CompareStrIntIntStrIntInt/VB/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/CompareStrIntIntStrIntIntOpt/VB/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/CompareStrStr/VB/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/CompareStrStr/VB/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/VB/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/VB/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/VB/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/IndexOfInt/VB/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/VB/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/VB/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/IndexOfInt/VB/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/VB/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/IndexOfInt/VB/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/VB/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/VB/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/IndexOfInt/VB/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/VB/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/VB/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/VB/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/VB/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/IsPrefixSuffixOpt/VB/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/IsPrefixSuffixOpt/VB/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/IndexOfInt/VB/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/IndexOfInt/VB/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/IndexOfInt/VB/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/IndexOfInt/VB/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"::: diff --git a/xml/System.Globalization/CompareOptions.xml b/xml/System.Globalization/CompareOptions.xml index 795f416e9be..2e121eb22f0 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/Values/VB/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/StringSort/VB/compareoptions_stringsort.vb"::: ]]> diff --git a/xml/System.Globalization/CultureAndRegionInfoBuilder.xml b/xml/System.Globalization/CultureAndRegionInfoBuilder.xml index f011368654d..d346d224a77 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"::: ]]> @@ -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/VS_Snippets_CLR/sys.glob.carib.saveLdml/sl.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/VS_Snippets_CLR/sys.glob.carib.saveLdml/sl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CultureInfo.xml b/xml/System.Globalization/CultureInfo.xml index 8dc23575fda..9e58cd6e9d3 100644 --- a/xml/System.Globalization/CultureInfo.xml +++ b/xml/System.Globalization/CultureInfo.xml @@ -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/Overview/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/VB/yslin_cultureinfo_clone.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/CreateSpecificCulture2/VB/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/VS_Snippets_CLR_System/system.globalization.cultureTypes/ct.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ If `name` is , the constr The following example demonstrates how to change the and of the current thread. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CurrentCulture/currentculture.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vb" id="Snippet11"::: ]]> The property is set to . @@ -1039,7 +1039,7 @@ The following example demonstrates how to change the and of the current thread. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CurrentCulture/currentculture.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CurrentCulture2/VB/currentculture.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CurrentCulture2/VB/currentculture.vb" id="Snippet11"::: ]]> The property is set to . @@ -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/VB/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/GetCultures/VB/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/GetCultures/VB/getcultures.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/GetCultures/VB/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/GetCultures/VB/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/IsNeutralCulture2/VB/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/ReadOnly/VB/yslin_cultureinfo_readonly.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/GetCultures/VB/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/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> The property is set to null. @@ -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/VB/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/ReadOnly/VB/yslin_cultureinfo_readonly.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/GetCultures/VB/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/GetCultures/VB/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..2bec9fe08c5 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/VS_Snippets_CLR_System/system.globalization.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/GetCultures/VB/getcultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/DateTimeFormatInfo.xml b/xml/System.Globalization/DateTimeFormatInfo.xml index 234a0541d34..5f1007993a2 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/VB/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/GregorianCalendar/GetEra/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/dtfi_yearmonthpattern.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/EastAsianLunisolarCalendar.xml b/xml/System.Globalization/EastAsianLunisolarCalendar.xml index 536fa199ff8..bb53a4528bb 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/Addmethods/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/Addmethods/add1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Globalization/GregorianCalendar.xml b/xml/System.Globalization/GregorianCalendar.xml index 0f1b4f17728..a5616283b2b 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/GregorianCalendar/GetEra/VB/gregorian_getera.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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/gregoriancalendar_getdaysinyear.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/VB/gregoriancalendar_getmonthsinyear.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/VB/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/VB/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/VB/gregoriancalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HebrewCalendar.xml b/xml/System.Globalization/HebrewCalendar.xml index 0b1f7398ff9..3ce35b864cc 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/hebrewcalendar_getdaysinmonth.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/VB/hebrewcalendar_getmonthsinyear.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/VB/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/VB/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/VB/hebrewcalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HijriCalendar.xml b/xml/System.Globalization/HijriCalendar.xml index 08181997f29..7c8a1f81324 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/hijricalendar_getdaysinyear.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/VB/hijricalendar_getmonthsinyear.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/VB/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/VB/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/VB/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/VB/hijricalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/IdnMapping.xml b/xml/System.Globalization/IdnMapping.xml index 3c7961f84e5..8db53c7fe7d 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"::: ]]> @@ -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/GetAscii/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..145ea848f50 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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/JapaneseCalendar/Eras/VB/yslin_japanesecalendar_eras.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/VB/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/VB/japanesecalendar_getdaysinyear.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/VB/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/Overview.GetWeekOfYear/VB/yslin_calendar_getweekofyear.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/VB/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/VB/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/VB/japanesecalendar_isleapyear.vb"::: ]]> diff --git a/xml/System.Globalization/JulianCalendar.xml b/xml/System.Globalization/JulianCalendar.xml index cfa3ad77ad4..21b448ff22d 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/juliancalendar_getdaysinyear.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/VB/juliancalendar_getmonthsinyear.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/VB/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/VB/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/VB/juliancalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/KoreanCalendar.xml b/xml/System.Globalization/KoreanCalendar.xml index baf5dfab08e..f89b8d27cd3 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/koreancalendar_getdaysinyear.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/VB/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/Overview.GetWeekOfYear/VB/yslin_calendar_getweekofyear.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/VB/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/VB/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/VB/koreancalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/NumberFormatInfo.xml b/xml/System.Globalization/NumberFormatInfo.xml index 0d344c77046..2e4b26a77be 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/VS_Snippets_CLR/NumberFormatInfo/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/Isreadonly/isreadonly1.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/VB/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/Isreadonly/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/VS_Snippets_CLR/sys.glob.NFI.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"::: ]]> diff --git a/xml/System.Globalization/NumberStyles.xml b/xml/System.Globalization/NumberStyles.xml index 4d828b929e8..a63480bd023 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/VS_Snippets_CLR/NumberStyles/numberstyles.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/PersianCalendar.xml b/xml/System.Globalization/PersianCalendar.xml index a1cde3217b5..0a0d99cebb6 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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/Addmethods/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/VS_Snippets_CLR/sys.glob.persianCal/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/Addmethods/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/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/VS_Snippets_CLR/sys.glob.persianCal/pcal.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/RegionInfo.xml b/xml/System.Globalization/RegionInfo.xml index a9bf3543a86..8dc6d46b5c5 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/VB/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/Overview_Equals/VB/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/Overview_Equals/VB/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/CtorCultureName/VB/regioninfo_ctorculturename.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/Overview_Properties/VB/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/Overview_Properties/VB/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/Overview_Properties/VB/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/Overview_Equals/VB/regioninfo_equals.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/Overview_Properties/VB/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/Overview_Properties/VB/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/Overview_Properties/VB/regioninfo_properties.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/Overview_Properties/VB/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/Overview_Properties/VB/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/Overview_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/SortKey.xml b/xml/System.Globalization/SortKey.xml index 7ce0db169ac..94373648ce3 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/Compare/VB/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/VS_Snippets_CLR/sys.glob.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/VB/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/VS_Snippets_CLR/sys.glob.sortkey.tostring/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/VS_Snippets_CLR/sys.glob.sortkey.tostring/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/VS_Snippets_CLR/sys.glob.sortkey.tostring/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..037c1000f26 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/VS_Snippets_CLR/StringInfo/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/VS_Snippets_CLR/StringInfo/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/VS_Snippets_CLR/StringInfo/stringinfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TaiwanCalendar.xml b/xml/System.Globalization/TaiwanCalendar.xml index f109bb661e2..c3612be69fd 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/taiwancalendar_getdaysinyear.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/VB/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/Overview.GetWeekOfYear/VB/yslin_calendar_getweekofyear.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/VB/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/VB/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/VB/taiwancalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextElementEnumerator.xml b/xml/System.Globalization/TextElementEnumerator.xml index 0e43f92149d..69ac331e447 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/Summary/VB/tee_summary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextInfo.xml b/xml/System.Globalization/TextInfo.xml index 1fe4364ccc5..5fff01a92b3 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/VS_Snippets_CLR/sys.glob.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/VS_Snippets_CLR/sys.glob.textinfo.clone/ro.vb" id="Snippet1"::: ]]> @@ -1251,7 +1251,7 @@ The property always reflects a spec 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"::: ]]> diff --git a/xml/System.Globalization/ThaiBuddhistCalendar.xml b/xml/System.Globalization/ThaiBuddhistCalendar.xml index eaa85ccdf8c..982ff76a34d 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/Addmethods/add1.vb" id="Snippet5"::: @@ -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/Addmethods/add1.vb" id="Snippet8"::: @@ -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"::: ]]> @@ -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/VB/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/VB/thaibuddhistcalendar_getdaysinyear.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/VB/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/Overview.GetWeekOfYear/VB/yslin_calendar_getweekofyear.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/VB/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/VB/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/VB/thaibuddhistcalendar_isleapyear.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/UmAlQuraCalendar.xml b/xml/System.Globalization/UmAlQuraCalendar.xml index 501f0806730..77f2701eb3e 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/Addmethods/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/Addmethods/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/VB/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..91ca2fde5c9 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/Overviewmode/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/Overviewmode/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/Overview/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/Overviewentry/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Compression/ZipArchiveEntry.xml b/xml/System.IO.Compression/ZipArchiveEntry.xml index 50b0883e42a..0084145e019 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/Overviewentry/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/Overviewentry/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/Overviewmode/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFile.xml b/xml/System.IO.Compression/ZipFile.xml index 20e09c9539b..56eb61337b0 100644 --- a/xml/System.IO.Compression/ZipFile.xml +++ b/xml/System.IO.Compression/ZipFile.xml @@ -178,7 +178,7 @@ An I/O error occurred while opening a file to be archived. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipFile/CreateFromDirectory/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipFile/CreateFromDirectory/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program1.vb" id="Snippet1"::: ]]> @@ -334,7 +334,7 @@ An I/O error occurred while opening a file to be archived. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipFile/CreateFromDirectory/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipFile/CreateFromDirectory/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program2.vb" id="Snippet2"::: ]]> @@ -894,7 +894,7 @@ An archive entry was compressed by using a compression method that is not suppor :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipFile/CreateFromDirectory/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipFile/CreateFromDirectory/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.zipfile/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipFile/Overview/program1.vb" id="Snippet1"::: ]]> @@ -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/Overview/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/Overview/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFileExtensions.xml b/xml/System.IO.Compression/ZipFileExtensions.xml index e6fd970ef40..4f8a438964a 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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml index 84221849b4a..26902ecb497 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/VS_Snippets_CLR/conceptual.isolatedstorage/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Log/FileRecordSequence.xml b/xml/System.IO.Log/FileRecordSequence.xml index 8318c2ef7f9..301126bd9ba 100644 --- a/xml/System.IO.Log/FileRecordSequence.xml +++ b/xml/System.IO.Log/FileRecordSequence.xml @@ -37,7 +37,7 @@ The following example creates a record sequence, appends record to it, and finally reads the records. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet1"::: ]]> @@ -83,7 +83,7 @@ The following example creates a record sequence, appends record to it, reads the records, and finally disposes the sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following example creates a record sequence, appends record to it, and finally reads the records. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet0"::: ]]> @@ -314,7 +314,7 @@ The following example shows how you can create a record sequence with this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet3"::: ]]> @@ -479,7 +479,7 @@ The following example shows using in a loop: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet2"::: ]]> @@ -1507,7 +1507,7 @@ The following example shows how you can use this method to read the records in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/irecordsequence/cs/readrecord.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/vb/readrecord.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/irecordsequence/readrecord.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Log/FileRegion.xml b/xml/System.IO.Log/FileRegion.xml index 05c72df03a0..b02e9ed53df 100644 --- a/xml/System.IO.Log/FileRegion.xml +++ b/xml/System.IO.Log/FileRegion.xml @@ -28,7 +28,7 @@ The following example demonstrates how to archive a log store to XML using the and classes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/fileregion/cs/fileregion.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb" id="Snippet0"::: ]]> @@ -65,7 +65,7 @@ The following example demonstrates how to archive a log store to XML using the and classes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/fileregion/cs/fileregion.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb" id="Snippet0"::: ]]> @@ -98,7 +98,7 @@ The following example demonstrates how to archive a log store to XML using the and classes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/fileregion/cs/fileregion.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb" id="Snippet0"::: ]]> @@ -135,7 +135,7 @@ The following example demonstrates how to archive a log store to XML using the and classes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/fileregion/cs/fileregion.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb" id="Snippet0"::: ]]> @@ -167,7 +167,7 @@ The following example demonstrates how to archive a log store to XML using the and classes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/fileregion/cs/fileregion.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/vb/fileregion.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/fileregion/fileregion.vb" id="Snippet0"::: ]]> diff --git a/xml/System.IO.Log/LogArchiveSnapshot.xml b/xml/System.IO.Log/LogArchiveSnapshot.xml index 410d63d5b2e..efb2b755a29 100644 --- a/xml/System.IO.Log/LogArchiveSnapshot.xml +++ b/xml/System.IO.Log/LogArchiveSnapshot.xml @@ -30,7 +30,7 @@ The following example shows how to use the class to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> @@ -62,7 +62,7 @@ The following example shows how to use the class to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> @@ -138,7 +138,7 @@ The following example shows how to use the class to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> diff --git a/xml/System.IO.Log/LogExtent.xml b/xml/System.IO.Log/LogExtent.xml index f6a8c9ce312..e2f44cb8055 100644 --- a/xml/System.IO.Log/LogExtent.xml +++ b/xml/System.IO.Log/LogExtent.xml @@ -30,7 +30,7 @@ This example shows how to use the class to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -69,7 +69,7 @@ This example shows how to use the class to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -101,7 +101,7 @@ This example shows how to use the class to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -133,7 +133,7 @@ This example shows how to use the class to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> diff --git a/xml/System.IO.Log/LogExtentCollection.xml b/xml/System.IO.Log/LogExtentCollection.xml index 2a3d7bc100f..fc10bf92059 100644 --- a/xml/System.IO.Log/LogExtentCollection.xml +++ b/xml/System.IO.Log/LogExtentCollection.xml @@ -39,7 +39,7 @@ This example shows how to use the and classes to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -93,7 +93,7 @@ This example shows how to use the and classes to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -201,7 +201,7 @@ This example shows how to use the and classes to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -234,7 +234,7 @@ This example shows how to use the and classes to add and emulate extents in a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> diff --git a/xml/System.IO.Log/LogPolicy.xml b/xml/System.IO.Log/LogPolicy.xml index 1bcddae271e..66ec9209062 100644 --- a/xml/System.IO.Log/LogPolicy.xml +++ b/xml/System.IO.Log/LogPolicy.xml @@ -30,7 +30,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -63,7 +63,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -100,7 +100,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -137,7 +137,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -186,7 +186,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -218,7 +218,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -250,7 +250,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -287,7 +287,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -319,7 +319,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -356,7 +356,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -388,7 +388,7 @@ This example shows how to use the class to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Log/LogRecordSequence.xml b/xml/System.IO.Log/LogRecordSequence.xml index 402777ea580..082adc0a60c 100644 --- a/xml/System.IO.Log/LogRecordSequence.xml +++ b/xml/System.IO.Log/LogRecordSequence.xml @@ -35,7 +35,7 @@ This example shows how to use the class: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet0"::: ]]> @@ -265,7 +265,7 @@ This example shows how to use this constructor: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet1"::: ]]> @@ -519,7 +519,7 @@ void HandleTailPinned(object sender, TailPinnedEventArgs tailPinnedEventArgs) This example shows how to use the member :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet5"::: ]]> @@ -571,7 +571,7 @@ void HandleTailPinned(object sender, TailPinnedEventArgs tailPinnedEventArgs) The following example demonstrates how to use this method to append a log record to the sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet13"::: ]]> @@ -847,7 +847,7 @@ void HandleTailPinned(object sender, TailPinnedEventArgs tailPinnedEventArgs) This example shows how to use the member in a loop. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet10"::: ]]> @@ -1639,10 +1639,10 @@ recordSequence.Append(undoRecordData, userSqn, previousSqn, RecordAppendOptions. This example shows how to use to release resources: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet12"::: ]]> @@ -2005,7 +2005,7 @@ recordSequence.Append(undoRecordData, userSqn, previousSqn, RecordAppendOptions. This example shows how to use the member to add extents. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet11"::: ]]> @@ -2076,7 +2076,7 @@ recordSequence.Append(undoRecordData, userSqn, previousSqn, RecordAppendOptions. This example shows how to use in a loop. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mymultiplexlog.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mymultiplexlog.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mymultiplexlog.vb" id="Snippet10"::: ]]> @@ -2458,7 +2458,7 @@ recordSequence.Append(undoRecordData, // If necessary … This example shows how to use the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO.Log/LogStore.xml b/xml/System.IO.Log/LogStore.xml index 729b5e372df..1f9bd674791 100644 --- a/xml/System.IO.Log/LogStore.xml +++ b/xml/System.IO.Log/LogStore.xml @@ -38,7 +38,7 @@ The following example shows how to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> @@ -459,7 +459,7 @@ The following example shows how to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> @@ -792,7 +792,7 @@ The following example shows how to archive a to an XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/logarchievesnapshot/cs/logarchievesnapshot.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/vb/logarchievesnapshot.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/logarchievesnapshot/logarchievesnapshot.vb" id="Snippet0"::: ]]> diff --git a/xml/System.IO.Log/PolicyUnit.xml b/xml/System.IO.Log/PolicyUnit.xml index d018177b0c2..db3b3f2185a 100644 --- a/xml/System.IO.Log/PolicyUnit.xml +++ b/xml/System.IO.Log/PolicyUnit.xml @@ -30,7 +30,7 @@ This example shows how to use the class and structure to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> @@ -66,7 +66,7 @@ This example shows how to use the class and structure to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Log/PolicyUnitType.xml b/xml/System.IO.Log/PolicyUnitType.xml index f700fb73da5..b68c5306225 100644 --- a/xml/System.IO.Log/PolicyUnitType.xml +++ b/xml/System.IO.Log/PolicyUnitType.xml @@ -22,7 +22,7 @@ This example shows how to use the class, structure and enumeration to set policy for a log record sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Log/RecordAppendOptions.xml b/xml/System.IO.Log/RecordAppendOptions.xml index 3c416263acc..d6cdf314cfe 100644 --- a/xml/System.IO.Log/RecordAppendOptions.xml +++ b/xml/System.IO.Log/RecordAppendOptions.xml @@ -28,7 +28,7 @@ The following example shows how to use this enumeration with the method to append a record to a log sequence. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelogrecordsequence/cs/mylogrecordsequence.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/vb/mylogrecordsequence.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelogrecordsequence/mylogrecordsequence.vb" id="Snippet5"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml index a357af7b45b..c6631f12a8e 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/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/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/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/program.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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/program.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/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/program.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/VS_Snippets_CLR/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..64b7d7ae9df 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/VS_Snippets_CLR/memorymappedfiles.memorymappedfile.createfromfile/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml index a9b8e81aa93..6ab22a31012 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/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeClientStream.xml b/xml/System.IO.Pipes/AnonymousPipeClientStream.xml index b6de0e08dcf..f71bb8104b2 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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeServerStream.xml b/xml/System.IO.Pipes/AnonymousPipeServerStream.xml index 783d153ae7c..ed17e0df345 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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/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/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeClientStream.xml b/xml/System.IO.Pipes/NamedPipeClientStream.xml index 45b95a1c4e3..eb956cfe9b4 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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeServerStream.xml b/xml/System.IO.Pipes/NamedPipeServerStream.xml index cce929e5542..94670c34da3 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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/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/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/PipeStream.xml b/xml/System.IO.Pipes/PipeStream.xml index 31f8bc3409d..ec8e0a5ab6f 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..901bcded28d 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/SerialPort/Overview/SerialPort.vb" id="Snippet05"::: ]]> diff --git a/xml/System.IO.Ports/Parity.xml b/xml/System.IO.Ports/Parity.xml index e6a8927131e..11d69243be3 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/SerialPort/Overview/SerialPort.vb" id="Snippet03"::: ]]> diff --git a/xml/System.IO.Ports/SerialPort.xml b/xml/System.IO.Ports/SerialPort.xml index 5106d9e1cb7..b2a5ab3c8f3 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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/Overview/datareceived.vb" id="Snippet06"::: ]]> @@ -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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/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/SerialPort/Overview/SerialPort.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Ports/StopBits.xml b/xml/System.IO.Ports/StopBits.xml index 5157910b5d7..0a530fe4df9 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/SerialPort/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/SerialPort/Overview/SerialPort.vb" id="Snippet04"::: ]]> diff --git a/xml/System.IO/Directory.xml b/xml/System.IO/Directory.xml index 41cd2e75d14..f60c04f44ac 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/VB/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/VB/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/VB/class6.vb" id="Snippet14"::: ]]> @@ -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/VB/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/VS_Snippets_CLR_System/system.io.enumdirs1/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/VS_Snippets_CLR_System/system.io.enumdirs2/program.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/VS_Snippets_CLR_System/system.io.enumdirs3/program.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/VB/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/Enumfiles/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 @@ -2831,7 +2831,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 @@ -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/VB/class6.vb" id="Snippet14"::: ]]> @@ -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/OverviewRoot/VB/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/DirectoryInfo.xml b/xml/System.IO/DirectoryInfo.xml index 3416596fc4c..2aee3fc5c3b 100644 --- a/xml/System.IO/DirectoryInfo.xml +++ b/xml/System.IO/DirectoryInfo.xml @@ -107,7 +107,7 @@ :::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/VS_Snippets_CLR/IO.DirectoryInfo-CopyDir/CopyDir.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/Enumdirs/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/Enumfiles/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/Enumfiles/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/Enumfiles/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/Enumfiles/module2.vb" id="Snippet2"::: ]]> @@ -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/Directory/OverviewInfo_SearchOptions/searchoption.vb" id="Snippet00"::: ]]> @@ -3598,7 +3598,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/Name/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/Name/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic DirectoryInfo.Name Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/Name/VB/source.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/File.xml b/xml/System.IO/File.xml index 58488c1784f..3954b8b3abb 100644 --- a/xml/System.IO/File.xml +++ b/xml/System.IO/File.xml @@ -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/Writeallappendall/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/AllText/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/AllText_Encoding/AllText.vb" id="Snippet00"::: ]]> @@ -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/VS_Snippets_CLR/filecopydelete/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/VS_Snippets_CLR/filecopydelete/program.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/VS_Snippets_CLR/filecopydelete/program.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"::: ]]> @@ -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/AllLines/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/AllLines_Encoding/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/AllText/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/AllText_Encoding/AllText.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"::: ]]> @@ -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/Writeallappendall/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/AllLines/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/AllLines_Encoding/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/AllText/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/AllText_Encoding/AllText.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..1da3c6d518b 100644 --- a/xml/System.IO/FileInfo.xml +++ b/xml/System.IO/FileInfo.xml @@ -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/VS_Snippets_CLR/IO.FileInfo.Exists/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/FileStream.xml b/xml/System.IO/FileStream.xml index ddf9d0ce089..93a0a3f366e 100644 --- a/xml/System.IO/FileStream.xml +++ b/xml/System.IO/FileStream.xml @@ -80,7 +80,7 @@ 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/VS_Snippets_CLR/Asynchronous_File_IO_async/example3.vb" id="Snippet3"::: ]]> @@ -2007,7 +2007,7 @@ The file was too large (when @@ -2149,7 +2149,7 @@ The file was too large (when @@ -3146,7 +3146,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -3397,7 +3397,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/Length/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Length/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.Length Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Length/VB/source.vb" id="Snippet1"::: ]]> @@ -3627,7 +3627,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/VS_Snippets_CLR/Asynchronous_File_IO_async/example4.vb" id="Snippet4"::: ]]> @@ -3714,7 +3714,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/VS_Snippets_CLR/Asynchronous_File_IO_async/example4.vb" id="Snippet4"::: ]]> @@ -3952,7 +3952,7 @@ The following example shows how to read from a file asynchronously. :::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"::: ]]> @@ -4487,7 +4487,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/VS_Snippets_CLR/Asynchronous_File_IO_async/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/FileSystemInfo.xml b/xml/System.IO/FileSystemInfo.xml index d44efda9109..0ae518f2f63 100644 --- a/xml/System.IO/FileSystemInfo.xml +++ b/xml/System.IO/FileSystemInfo.xml @@ -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/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/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/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/touch.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/MemoryStream.xml b/xml/System.IO/MemoryStream.xml index 0bb525541df..d556674c229 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/memstream.vb" id="Snippet4"::: ]]> diff --git a/xml/System.IO/Path.xml b/xml/System.IO/Path.xml index 0ce1b191c3a..782c7dbaf58 100644 --- a/xml/System.IO/Path.xml +++ b/xml/System.IO/Path.xml @@ -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"::: ]]> @@ -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"::: ]]> diff --git a/xml/System.IO/SearchOption.xml b/xml/System.IO/SearchOption.xml index eba64da1db6..e97afe96e55 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/Directory/OverviewInfo_SearchOptions/searchoption.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/SeekOrigin.xml b/xml/System.IO/SeekOrigin.xml index b430330015c..f4f780583ed 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 c1693e50306..7886e07b3d1 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/VS_Snippets_CLR/Asynchronous_File_IO_async/example.vb" id="Snippet1"::: ]]> @@ -456,7 +456,7 @@ The following is an example of using the `CanRead` property. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/CanRead/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic FileStream.CanRead Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/CanRead/VB/source.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ The following is an example of using the `CanWrite` property. :::code language="csharp" source="~/snippets/csharp/System.IO/Stream/CanWrite/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stream.CanWrite Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Stream/CanWrite/VB/source.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/VS_Snippets_CLR/Asynchronous_File_IO_async/example.vb" id="Snippet1"::: ]]> @@ -2130,7 +2130,7 @@ The following example shows how to use to read a block of data. :::code language="csharp" source="~/snippets/csharp/System.IO/Stream/Read/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Stream.Read Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Stream/Read/VB/source.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/VS_Snippets_CLR/Asynchronous_File_IO_async/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/VS_Snippets_CLR/Asynchronous_File_IO_async/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/StreamReader.xml b/xml/System.IO/StreamReader.xml index d2fd92b04ad..ca718a12072 100644 --- a/xml/System.IO/StreamReader.xml +++ b/xml/System.IO/StreamReader.xml @@ -115,7 +115,7 @@ 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/VB/asyncex1.vb" id="Snippet51"::: ]]> @@ -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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/streamreadersample.vb" id="Snippet2"::: ]]> @@ -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/VB/module1.vb" id="Snippet30"::: ]]> @@ -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/VB/example42.vb" id="Snippet42"::: ]]> @@ -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/VB/example41.vb" id="Snippet41"::: ]]> @@ -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/VB/example40.vb" id="Snippet40"::: ]]> diff --git a/xml/System.IO/StreamWriter.xml b/xml/System.IO/StreamWriter.xml index 209f7bcc58a..c5dc45b19b4 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/VS_Snippets_CLR/streamreadwrite/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/logger.vb" id="Snippet6"::: ]]> @@ -2248,7 +2248,7 @@ See for a descr This example writes eight characters from a 13-element array to a file, beginning at the third element of the array. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/Write/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic StreamWriter.Write2 Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/Write2/VB/source.vb" id="Snippet1"::: ]]> @@ -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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/example25.vb" id="Snippet25"::: ]]> diff --git a/xml/System.IO/StringReader.xml b/xml/System.IO/StringReader.xml index c5fdc1282dc..67ffd00c0ca 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"::: ]]> @@ -781,7 +781,7 @@ This implementation of `Close` calls the @@ -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"::: ]]> @@ -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 8f7ac0156bc..f45fde18266 100644 --- a/xml/System.IO/StringWriter.xml +++ b/xml/System.IO/StringWriter.xml @@ -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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/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/Overview/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/TextReader.xml b/xml/System.IO/TextReader.xml index aae1bdca9e3..0813560d9ff 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/VB/example42.vb" id="Snippet42"::: ]]> diff --git a/xml/System.IO/TextWriter.xml b/xml/System.IO/TextWriter.xml index 58d33a6d102..224f04ff419 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/Overview/VB/example23.vb" id="Snippet23"::: ]]> 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.IdentityModel.Claims/Claim.xml b/xml/System.IdentityModel.Claims/Claim.xml index 70220748c75..22dfd17fcd6 100644 --- a/xml/System.IdentityModel.Claims/Claim.xml +++ b/xml/System.IdentityModel.Claims/Claim.xml @@ -58,7 +58,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claim/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claim/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb" id="Snippet2"::: ]]> @@ -959,7 +959,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claim/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb" id="Snippet2"::: ]]> @@ -1006,7 +1006,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claim/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claim/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IdentityModel.Claims/ClaimSet.xml b/xml/System.IdentityModel.Claims/ClaimSet.xml index 10ce3c9e814..298ef20b7aa 100644 --- a/xml/System.IdentityModel.Claims/ClaimSet.xml +++ b/xml/System.IdentityModel.Claims/ClaimSet.xml @@ -63,7 +63,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claimset/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimset/vb/myauthorizationpolicy.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimset/myauthorizationpolicy.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claimset/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimset/vb/myauthorizationpolicy.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimset/myauthorizationpolicy.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IdentityModel.Claims/ClaimTypes.xml b/xml/System.IdentityModel.Claims/ClaimTypes.xml index d5ad864a7c9..b1036ad3b0b 100644 --- a/xml/System.IdentityModel.Claims/ClaimTypes.xml +++ b/xml/System.IdentityModel.Claims/ClaimTypes.xml @@ -42,7 +42,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_claimtypes/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_claimtypes/service.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IdentityModel.Policy/AuthorizationContext.xml b/xml/System.IdentityModel.Policy/AuthorizationContext.xml index 52339e117c2..155e48cdf30 100644 --- a/xml/System.IdentityModel.Policy/AuthorizationContext.xml +++ b/xml/System.IdentityModel.Policy/AuthorizationContext.xml @@ -56,7 +56,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_iauthorizationpolicy/cs/service.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb" id="Snippet4"::: ]]> @@ -140,7 +140,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_iauthorizationpolicy/cs/service.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb" id="Snippet5"::: ]]> diff --git a/xml/System.IdentityModel.Policy/IAuthorizationPolicy.xml b/xml/System.IdentityModel.Policy/IAuthorizationPolicy.xml index bc0a850fb25..ee68268e944 100644 --- a/xml/System.IdentityModel.Policy/IAuthorizationPolicy.xml +++ b/xml/System.IdentityModel.Policy/IAuthorizationPolicy.xml @@ -61,7 +61,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_iauthorizationpolicy/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb" id="Snippet1"::: ]]> @@ -120,7 +120,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_iauthorizationpolicy/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/vb/myauthorizationpolicy.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_iauthorizationpolicy/myauthorizationpolicy.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IdentityModel.Selectors/SecurityTokenProvider.xml b/xml/System.IdentityModel.Selectors/SecurityTokenProvider.xml index b1950755883..f31b6a8b47c 100644 --- a/xml/System.IdentityModel.Selectors/SecurityTokenProvider.xml +++ b/xml/System.IdentityModel.Selectors/SecurityTokenProvider.xml @@ -51,7 +51,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/securitytokenprovider/cs/samlsecuritytokenprovider.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/vb/samlsecuritytokenprovider.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/samlsecuritytokenprovider.vb" id="Snippet0"::: ]]> @@ -963,7 +963,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/securitytokenprovider/cs/samlsecuritytokenprovider.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/vb/samlsecuritytokenprovider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/securitytokenprovider/samlsecuritytokenprovider.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IdentityModel.Selectors/UserNameSecurityTokenAuthenticator.xml b/xml/System.IdentityModel.Selectors/UserNameSecurityTokenAuthenticator.xml index 028053d45c2..0bf425da297 100644 --- a/xml/System.IdentityModel.Selectors/UserNameSecurityTokenAuthenticator.xml +++ b/xml/System.IdentityModel.Selectors/UserNameSecurityTokenAuthenticator.xml @@ -35,7 +35,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamesecuritytokenauthenticator/cs/mytokenauthenticator.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/vb/mytokenauthenticator.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/mytokenauthenticator.vb" id="Snippet0"::: ]]> @@ -169,7 +169,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamesecuritytokenauthenticator/cs/mytokenauthenticator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/vb/mytokenauthenticator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamesecuritytokenauthenticator/mytokenauthenticator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IdentityModel.Selectors/X509CertificateValidator.xml b/xml/System.IdentityModel.Selectors/X509CertificateValidator.xml index 975b2125268..8e3fdabce56 100644 --- a/xml/System.IdentityModel.Selectors/X509CertificateValidator.xml +++ b/xml/System.IdentityModel.Selectors/X509CertificateValidator.xml @@ -60,7 +60,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_x509certificatevalidator/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/source.vb" id="Snippet1"::: ]]> @@ -102,7 +102,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_x509certificatevalidator/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/source.vb" id="Snippet3"::: ]]> @@ -435,7 +435,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_x509certificatevalidator/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_x509certificatevalidator/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IdentityModel.Tokens/SamlAttribute.xml b/xml/System.IdentityModel.Tokens/SamlAttribute.xml index 496f481d356..b781a885177 100644 --- a/xml/System.IdentityModel.Tokens/SamlAttribute.xml +++ b/xml/System.IdentityModel.Tokens/SamlAttribute.xml @@ -38,7 +38,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/samlattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/samlattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/samlattribute/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Linq.Expressions/BlockExpression.xml b/xml/System.Linq.Expressions/BlockExpression.xml index 17d95b41dff..1f7f79d6430 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Linq.Expressions/ConditionalExpression.xml b/xml/System.Linq.Expressions/ConditionalExpression.xml index d01f4ed6a10..36e7dbca31f 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq.Expressions/ConstantExpression.xml b/xml/System.Linq.Expressions/ConstantExpression.xml index 963ca1bc560..ab4a20298e5 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Linq.Expressions/DefaultExpression.xml b/xml/System.Linq.Expressions/DefaultExpression.xml index 78547c81989..6bc77542526 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Linq.Expressions/Expression.xml b/xml/System.Linq.Expressions/Expression.xml index 004f61368b8..6109b646b35 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet20"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet7"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet24"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet26"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet44"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet40"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet50"::: ]]> @@ -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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet36"::: ]]> diff --git a/xml/System.Linq.Expressions/GotoExpression.xml b/xml/System.Linq.Expressions/GotoExpression.xml index 1a458ace2d5..b2101435c50 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Linq.Expressions/IndexExpression.xml b/xml/System.Linq.Expressions/IndexExpression.xml index 9e15f953022..4c3ae167590 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Linq.Expressions/LabelTarget.xml b/xml/System.Linq.Expressions/LabelTarget.xml index 846fea6c1d5..d12f0002b47 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Linq.Expressions/LambdaExpression.xml b/xml/System.Linq.Expressions/LambdaExpression.xml index 81a8acebb06..65db3f81a4e 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Linq.Expressions/LoopExpression.xml b/xml/System.Linq.Expressions/LoopExpression.xml index 162dbe5d209..ec3a2660c66 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet44"::: ]]> diff --git a/xml/System.Linq.Expressions/ParameterExpression.xml b/xml/System.Linq.Expressions/ParameterExpression.xml index cfb2d37d924..1d51737ccf4 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet49"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchCase.xml b/xml/System.Linq.Expressions/SwitchCase.xml index 4e6ae482bd2..1cf79c62efe 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchExpression.xml b/xml/System.Linq.Expressions/SwitchExpression.xml index b7cf708eb79..25a7684f8b9 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Linq.Expressions/TryExpression.xml b/xml/System.Linq.Expressions/TryExpression.xml index 2788d7ede1c..dc4e40cb0a0 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/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/module1.vb" id="Snippet47"::: ]]> diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index 8e49c9033b5..04ee87c1c05 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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet21"::: ]]> @@ -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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet26"::: ]]> @@ -3207,7 +3207,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 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/Overview/VB/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. @@ -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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet31"::: ]]> @@ -3909,7 +3909,7 @@ 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/Overview/VB/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. @@ -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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet40"::: ]]> @@ -5823,7 +5823,7 @@ 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/Overview/VB/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. @@ -6222,7 +6222,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/Overview/VB/Enumerable.vb" id="Snippet42"::: ]]> @@ -6430,7 +6430,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/Overview/VB/Enumerable.vb" id="Snippet43"::: ]]> @@ -6505,7 +6505,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/Overview/VB/Enumerable.vb" id="Snippet44"::: ]]> @@ -6597,12 +6597,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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet127"::: ]]> @@ -6678,7 +6678,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/Overview/VB/Enumerable.vb" id="Snippet46"::: ]]> @@ -7044,7 +7044,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/Overview/VB/Enumerable.vb" id="Snippet47"::: ]]> @@ -7122,7 +7122,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/Overview/VB/Enumerable.vb" id="Snippet48"::: ]]> @@ -7378,7 +7378,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/Overview/VB/Enumerable.vb" id="Snippet52"::: ]]> @@ -7506,7 +7506,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/Overview/VB/Enumerable.vb" id="Snippet54"::: ]]> @@ -7824,7 +7824,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/Overview/VB/Enumerable.vb" id="Snippet57"::: ]]> @@ -7976,7 +7976,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8059,7 +8059,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8140,7 +8140,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8223,7 +8223,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8306,7 +8306,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8387,7 +8387,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8468,7 +8468,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/Overview/VB/Enumerable.vb" id="Snippet58"::: ]]> @@ -8551,7 +8551,7 @@ The following code example demonstrates how to use @@ -8634,7 +8634,7 @@ The following code example demonstrates how to use @@ -8717,7 +8717,7 @@ The following code example demonstrates how to use @@ -8810,7 +8810,7 @@ The following code example demonstrates how to use @@ -9088,7 +9088,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/Overview/VB/Enumerable.vb" id="Snippet60"::: ]]> @@ -9402,7 +9402,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/Overview/VB/Enumerable.vb" id="Snippet63"::: ]]> @@ -9665,7 +9665,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/Overview/VB/Enumerable.vb" id="Snippet67"::: ]]> @@ -9819,7 +9819,7 @@ The following code example demonstrates how to use @@ -9904,7 +9904,7 @@ The following code example demonstrates how to use @@ -9987,7 +9987,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/Overview/VB/Enumerable.vb" id="Snippet68"::: ]]> @@ -10072,7 +10072,7 @@ The following code example demonstrates how to use @@ -10157,7 +10157,7 @@ The following code example demonstrates how to use @@ -10240,7 +10240,7 @@ The following code example demonstrates how to use @@ -10323,7 +10323,7 @@ The following code example demonstrates how to use @@ -10406,7 +10406,7 @@ The following code example demonstrates how to use @@ -10489,7 +10489,7 @@ The following code example demonstrates how to use @@ -10572,7 +10572,7 @@ The following code example demonstrates how to use @@ -10665,7 +10665,7 @@ The following code example demonstrates how to use @@ -10884,7 +10884,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/Overview/VB/Enumerable.vb" id="Snippet69"::: ]]> @@ -11121,7 +11121,7 @@ If comparer is `null`, the default comparer @@ -11436,7 +11436,7 @@ If comparer is `null`, the default comparer @@ -11648,7 +11648,7 @@ If comparer is `null`, the default comparer @@ -11711,7 +11711,7 @@ If comparer is `null`, the default comparer @@ -11789,7 +11789,7 @@ If comparer is `null`, the default comparer @@ -11863,7 +11863,7 @@ If comparer is `null`, the default comparer @@ -12181,7 +12181,7 @@ If comparer is `null`, the default comparer @@ -12268,7 +12268,7 @@ If comparer is `null`, the default comparer @@ -12368,7 +12368,7 @@ If comparer is `null`, the default comparer @@ -12457,7 +12457,7 @@ If comparer is `null`, the default comparer @@ -12555,7 +12555,7 @@ If comparer is `null`, the default comparer @@ -12744,12 +12744,12 @@ 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. @@ -12974,12 +12974,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/Overview/VB/Enumerable.vb" id="Snippet80"::: ]]> @@ -13058,12 +13058,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/Overview/VB/Enumerable.vb" id="Snippet82"::: ]]> @@ -13157,17 +13157,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/Overview/VB/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/Overview/VB/Enumerable.vb" id="Snippet128"::: ]]> @@ -13243,12 +13243,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/Overview/VB/Enumerable.vb" id="Snippet86"::: ]]> @@ -13433,7 +13433,7 @@ If comparer is `null`, the default comparer @@ -13590,7 +13590,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/Overview/VB/Enumerable.vb" id="Snippet88"::: ]]> @@ -13675,7 +13675,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/Overview/VB/Enumerable.vb" id="Snippet89"::: ]]> @@ -14231,7 +14231,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/Overview/VB/Enumerable.vb" id="Snippet121"::: ]]> @@ -14296,7 +14296,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/Overview/VB/Enumerable.vb" id="Snippet120"::: ]]> @@ -14378,7 +14378,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14459,7 +14459,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14542,7 +14542,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14625,7 +14625,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14708,7 +14708,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14791,7 +14791,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14874,7 +14874,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -14957,7 +14957,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -15040,7 +15040,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -15122,7 +15122,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/Overview/VB/Enumerable.vb" id="Snippet98"::: ]]> @@ -15205,7 +15205,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. :::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/Overview/VB/Enumerable.vb" id="Snippet99"::: ]]> @@ -15420,7 +15420,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/Overview/VB/Enumerable.vb" id="Snippet100"::: ]]> @@ -15503,7 +15503,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/Overview/VB/Enumerable.vb" id="Snippet101"::: ]]> @@ -15611,7 +15611,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/Overview/VB/Enumerable.vb" id="Snippet102"::: ]]> @@ -15920,7 +15920,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/Overview/VB/Enumerable.vb" id="Snippet103"::: ]]> @@ -15994,7 +15994,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/Overview/VB/Enumerable.vb" id="Snippet104"::: ]]> @@ -16335,7 +16335,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/Overview/VB/Enumerable.vb" id="Snippet105"::: ]]> @@ -16811,7 +16811,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/Overview/VB/Enumerable.vb" id="Snippet106"::: ]]> @@ -17086,7 +17086,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/Overview/VB/Enumerable.vb" id="Snippet107"::: ]]> @@ -17337,7 +17337,7 @@ 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/Overview/VB/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. @@ -17691,7 +17691,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/Overview/VB/Enumerable.vb" id="Snippet110"::: ]]> @@ -17769,7 +17769,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/Overview/VB/Enumerable.vb" id="Snippet111"::: ]]> @@ -17935,7 +17935,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/Overview/VB/Enumerable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Linq/ILookup`2.xml b/xml/System.Linq/ILookup`2.xml index 171c1d93a92..75148f415b7 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/VS_Snippets_CLR_System/system.Linq.ILookup/ILookup.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Linq/Queryable.xml b/xml/System.Linq/Queryable.xml index 7438661a584..7736596a6fd 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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/queryable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Management.Instrumentation/InstrumentationType.xml b/xml/System.Management.Instrumentation/InstrumentationType.xml index 6bb5b07ca3a..48cb2c18b15 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/VS_Snippets_WindowsServer/wminet_InstrumentationType/InstrumentationType.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/CompletedEventArgs.xml b/xml/System.Management/CompletedEventArgs.xml index cc081f1bda0..00fe2eb1891 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/VS_Snippets_WindowsServer/wminet_CompletedEventArgs/CompletedEventArgs.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/CompletedEventHandler.xml b/xml/System.Management/CompletedEventHandler.xml index 4d04670f84f..84755c3680b 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/VS_Snippets_WindowsServer/wminet_CompletedEventHandler/CompletedEventHandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ConnectionOptions.xml b/xml/System.Management/ConnectionOptions.xml index 29b63d86439..8d51424d257 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/VS_Snippets_WindowsServer/wminet_ConnectionOptions/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/VS_Snippets_WindowsServer/wminet_ConnectionOptions/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/VS_Snippets_WindowsServer/wminet_ConnectionOptions-9/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ConnectionOptions_UserName/ConnectionOptions_Username.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EnumerationOptions.xml b/xml/System.Management/EnumerationOptions.xml index e776e226f70..f7640a23447 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/VS_Snippets_WindowsServer/wminet_EnumerationOptions/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/VS_Snippets_WindowsServer/wminet_EnumerationOptions/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/VS_Snippets_WindowsServer/wminet_EnumerationOptions-10/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_EnumerationOptions_EnumerateDeep/EnumerationOptions_EnumerateDeep.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventArrivedEventArgs.xml b/xml/System.Management/EventArrivedEventArgs.xml index 43b139c2805..84f176a4e90 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/VS_Snippets_WindowsServer/wminet_EventArrivedEventArgs/EventArrivedEventArgs.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventArrivedEventHandler.xml b/xml/System.Management/EventArrivedEventHandler.xml index 8f7a438c668..389200d6347 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/VS_Snippets_WindowsServer/wminet_EventArrivedEventHandler/EventArrivedEventHandler.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventQuery.xml b/xml/System.Management/EventQuery.xml index e641509e903..53161b19097 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/VS_Snippets_WindowsServer/wminet_EventQuery/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/VS_Snippets_WindowsServer/wminet_EventQuery/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/VS_Snippets_WindowsServer/wminet_EventQuery-1/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/VS_Snippets_WindowsServer/wminet_EventQuery-2/EventQuery-2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/EventWatcherOptions.xml b/xml/System.Management/EventWatcherOptions.xml index 9a77862e87c..4ebebb131da 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/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/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/VS_Snippets_WindowsServer/wminet_EventWatcherOptions/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/VS_Snippets_WindowsServer/wminet_EventWatcherOptions-3/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/VS_Snippets_WindowsServer/wminet_EventWatcherOptions_BlockSize/EventWatcherOptions_BlockSize.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/InvokeMethodOptions.xml b/xml/System.Management/InvokeMethodOptions.xml index 38229b2043c..840df96cd8f 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/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions/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/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-1/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/VS_Snippets_WindowsServer/wminet_InvokeMethodOptions-2/InvokeMethodOptions-2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementBaseObject.xml b/xml/System.Management/ManagementBaseObject.xml index f6566c5dedd..07bb9d305f8 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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementBaseObject_SystemProperties/ManagementBaseObject_SystemProperties.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementClass.xml b/xml/System.Management/ManagementClass.xml index 1b9e198df68..1fa8e8754aa 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/VS_Snippets_WindowsServer/wminet_ManagementClass/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementClass-S_S_O/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-E/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetInstances-M/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetRelatedClasses-7/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-2/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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetStronglyTypedClassCode-3/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_GetSubClasses-E/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementClass_Path/ManagementClass_Path.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementDateTimeConverter.xml b/xml/System.Management/ManagementDateTimeConverter.xml index 4d4e4f01f57..462c81381a3 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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementDateTimeConverter_ToTimeSpan/ManagementDateTimeConverter_ToTimeSpan.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementEventWatcher.xml b/xml/System.Management/ManagementEventWatcher.xml index e4f97bfefcd..574d31cc40f 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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-M_E_E/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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher-S_S_E/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementEventWatcher_WaitForNextEvent/ManagementEventWatcher_WaitForNextEvent.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementObject.xml b/xml/System.Management/ManagementObject.xml index 43890d994b7..85667eb780f 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/VS_Snippets_WindowsServer/wminet_ManagementObject/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-M_M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject-S_S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/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/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod/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/VS_Snippets_WindowsServer/wminet_ManagementObject_GetMethod-M/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObject_GetRelated-S/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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_O/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/VS_Snippets_WindowsServer/wminet_ManagementObject_InvokeMethod-S_M_I/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObject_Path/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/VS_Snippets_WindowsServer/wminet_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..ebf403ff23b 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/VS_Snippets_WindowsServer/wminet_ManagementObjectEnumerator/ManagementObjectEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementObjectSearcher.xml b/xml/System.Management/ManagementObjectSearcher.xml index 20c9a336253..ab9bdf7393f 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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-O/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-M_O_E/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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher-S_S_E/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementObjectSearcher_Scope/ManagementObjectSearcher_Scope.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementOperationObserver.xml b/xml/System.Management/ManagementOperationObserver.xml index ea4af3c95d4..68bedb15ce5 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/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/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/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementOperationObserver_ObjectReady/ManagementOperationObserver_ObjectReady.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementPath.xml b/xml/System.Management/ManagementPath.xml index 9779996ad65..d1f106c17bc 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/VS_Snippets_WindowsServer/wminet_ManagementPath/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/VS_Snippets_WindowsServer/wminet_ManagementPath-S/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_ManagementPath_Server/ManagementPath_Server.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementQuery.xml b/xml/System.Management/ManagementQuery.xml index f96f36f805a..73b9067a999 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/VS_Snippets_WindowsServer/wminet_ManagementQuery_ParseQuery/ManagementQuery.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/ManagementScope.xml b/xml/System.Management/ManagementScope.xml index 1b97dcf7223..9b27f7d0a08 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/VS_Snippets_WindowsServer/wminet_ManagementScope/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/VS_Snippets_WindowsServer/wminet_ManagementScope-S/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/VS_Snippets_WindowsServer/wminet_ManagementScope-S_C/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/VS_Snippets_WindowsServer/wminet_ManagementScope_Connect/ManagementScope_Connect.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/MethodData.xml b/xml/System.Management/MethodData.xml index afd1528abbd..d4c6c2b6a96 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/VS_Snippets_WindowsServer/wminet_MethodData/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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..bc02a37388d 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/VS_Snippets_WindowsServer/wminet_MethodDataEnumerator/MethodDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/MethodDataCollection.xml b/xml/System.Management/MethodDataCollection.xml index dcbcf875df8..b47c7c9ff0f 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/VS_Snippets_WindowsServer/wminet_MethodDataCollection/MethodDataCollection.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/PropertyData.xml b/xml/System.Management/PropertyData.xml index 5ff7c892291..81864464e59 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/VS_Snippets_WindowsServer/wminet_PropertyData/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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..a00663b233d 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/VS_Snippets_WindowsServer/wminet_PropertyDataEnumerator/PropertyDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/PropertyDataCollection.xml b/xml/System.Management/PropertyDataCollection.xml index 8a3614a9c1c..ee8a8a97f6c 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/VS_Snippets_WindowsServer/wminet_PropertyDataCollection/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/VS_Snippets_WindowsServer/wminet_PropertyDataCollection_Item/PropertyDataCollection_Item.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/QualifierData.xml b/xml/System.Management/QualifierData.xml index 0c40f61afb4..17efc7531fe 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/VS_Snippets_WindowsServer/wminet_QualifierData/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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..3e50bf4883f 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/VS_Snippets_WindowsServer/wminet_QualifierDataEnumerator/QualifierDataEnumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/QualifierDataCollection.xml b/xml/System.Management/QualifierDataCollection.xml index 9fbcc053e60..8649800a6ec 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/VS_Snippets_WindowsServer/wminet_QualifierDataCollection/QualifierDataCollection.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/RelatedObjectQuery.xml b/xml/System.Management/RelatedObjectQuery.xml index f6f401d6697..fca5e30de13 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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_RelatedObjectQuery_RelationshipClass/RelatedObjectQuery_RelationshipClass.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/RelationshipQuery.xml b/xml/System.Management/RelationshipQuery.xml index 15e07e40816..97173bfc6fc 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/VS_Snippets_WindowsServer/wminet_RelationshipQuery-S/RelationshipQuery-S.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/SelectQuery.xml b/xml/System.Management/SelectQuery.xml index 0325eea3a1d..0364e97a5a9 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/VS_Snippets_WindowsServer/wminet_SelectQuery-S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-B_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S/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/VS_Snippets_WindowsServer/wminet_SelectQuery-S_S_S/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_SelectQuery_QueryString/SelectQuery_QueryString.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Management/WqlEventQuery.xml b/xml/System.Management/WqlEventQuery.xml index 7c8d2bc9c08..a14a2bfc8e8 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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S/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/VS_Snippets_WindowsServer/wminet_WqlEventQuery-S_T_S_T_S_S/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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_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/VS_Snippets_WindowsServer/wminet_WqlEventQuery_WithinInterval/WqlEventQuery_WithinInterval.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Http/HttpClient.xml b/xml/System.Net.Http/HttpClient.xml index 5dadd225300..968138ce5bc 100644 --- a/xml/System.Net.Http/HttpClient.xml +++ b/xml/System.Net.Http/HttpClient.xml @@ -50,7 +50,7 @@ Guidelines for using HttpClient diff --git a/xml/System.Net.Http/HttpResponseMessage.xml b/xml/System.Net.Http/HttpResponseMessage.xml index b1fd3f4e499..2f6928c796c 100644 --- a/xml/System.Net.Http/HttpResponseMessage.xml +++ b/xml/System.Net.Http/HttpResponseMessage.xml @@ -60,7 +60,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Net.Http/HttpClient/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Net.Http/HttpClient/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.http.httpclient/source.vb" id="Snippet1"::: The preceding code example uses an `async Task Main()` entry point. That feature requires C# 7.1 or later. diff --git a/xml/System.Net.Mail/MailAddress.xml b/xml/System.Net.Mail/MailAddress.xml index e2fada79d42..e233b6ce3af 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/VS_Snippets_Remoting/NclMailASync/mailasync.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Net.Mail/MailMessage.xml b/xml/System.Net.Mail/MailMessage.xml index b9803064ad1..90c0053f234 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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NclMailASync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NCLMailSync/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/VS_Snippets_Remoting/NclMailASync/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/VS_Snippets_Remoting/NCLMailSync/mail.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net.Mail/SendCompletedEventHandler.xml b/xml/System.Net.Mail/SendCompletedEventHandler.xml index b297ef22eaa..52d48a967cd 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/VS_Snippets_Remoting/NclMailASync/mailasync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net.Mail/SmtpClient.xml b/xml/System.Net.Mail/SmtpClient.xml index 4623bea8dc6..339f4b8dd90 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/VS_Snippets_Remoting/NclMailASync/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/VS_Snippets_Remoting/NclMailASync/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/VS_Snippets_Remoting/NclMailASync/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/VS_Snippets_Remoting/NclMailASync/mailasync.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/AuthenticationSchemeSelector.xml b/xml/System.Net/AuthenticationSchemeSelector.xml index 0cbf7ddb831..40945e9c7bb 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/VS_Snippets_Remoting/NCLListener/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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/AuthenticationSchemes.xml b/xml/System.Net/AuthenticationSchemes.xml index 29fd57b8883..f85473a4aec 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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/Dns.xml b/xml/System.Net/Dns.xml index 481f0b11b03..6865dbdf25a 100644 --- a/xml/System.Net/Dns.xml +++ b/xml/System.Net/Dns.xml @@ -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/VS_Snippets_Remoting/System.Net.Dns/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/VS_Snippets_Remoting/System.Net.Dns/dnsnewmethods.vb" id="Snippet2"::: ]]> @@ -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/VS_Snippets_Remoting/System.Net.Dns/dnsnewmethods.vb" id="Snippet3"::: ]]> @@ -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/VS_Snippets_Remoting/System.Net.Dns/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/VS_Snippets_Remoting/System.Net.Dns/dnsnewmethods.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpListener.xml b/xml/System.Net/HttpListener.xml index fbf622cb9a2..94049f8606d 100644 --- a/xml/System.Net/HttpListener.xml +++ b/xml/System.Net/HttpListener.xml @@ -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/VS_Snippets_Remoting/NCLListener/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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Net/HttpListenerRequest.xml b/xml/System.Net/HttpListenerRequest.xml index c9c5fa50c72..6bf628ac87f 100644 --- a/xml/System.Net/HttpListenerRequest.xml +++ b/xml/System.Net/HttpListenerRequest.xml @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Net/HttpListenerResponse.xml b/xml/System.Net/HttpListenerResponse.xml index 3bf74308f3a..f053fe6d0a0 100644 --- a/xml/System.Net/HttpListenerResponse.xml +++ b/xml/System.Net/HttpListenerResponse.xml @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet5"::: ]]> @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet5"::: ]]> @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet5"::: ]]> @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet7"::: ]]> @@ -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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet5"::: ]]> @@ -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/VS_Snippets_Remoting/NCLListener/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/VS_Snippets_Remoting/NCLListener/sample.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Net/HttpWebRequest.xml b/xml/System.Net/HttpWebRequest.xml index 93479fdc623..36ca9ec0f33 100644 --- a/xml/System.Net/HttpWebRequest.xml +++ b/xml/System.Net/HttpWebRequest.xml @@ -523,7 +523,7 @@ Both constructors are obsolete and should not b The following code example adds a range header to the request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/AddRange/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange/source.vb" id="Snippet1"::: ]]> @@ -701,7 +701,7 @@ Both constructors are obsolete and should not b The following code example adds a range header to the request. :::code language="csharp" source="~/snippets/csharp/System.Net/HttpWebRequest/AddRange/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/system.net.httpwebrequest.addrange2/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Numerics/BigInteger.xml b/xml/System.Numerics/BigInteger.xml index 33589c9755a..36311ee8475 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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/Ctors/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/OperationMethods/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 @@ -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/OperationMethods/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/OperationMethods/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/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/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/Operators/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/Operators/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/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/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/Operators/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/Operators/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/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/OperationMethods/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/VS_Snippets_CLR_System/system.Numeric.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/VS_Snippets_CLR_System/system.Numeric.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..849f89bdb61 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/Log/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/Phase/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/Real/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/Log/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/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/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/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/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/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/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/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/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/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/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/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/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/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/Subtract/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/Subtract/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..dd49f158730 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/VS_Snippets_CLR/AssemblyBuilderClass/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet4"::: ]]> @@ -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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ConstructorBuilder.xml b/xml/System.Reflection.Emit/ConstructorBuilder.xml index ac128d7da99..c93c2d9003d 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/VB/source.vb" id="Snippet1"::: ]]> @@ -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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/CustomAttributeBuilder.xml b/xml/System.Reflection.Emit/CustomAttributeBuilder.xml index db197f59b00..9548f47cdd9 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/DynamicMethod.xml b/xml/System.Reflection.Emit/DynamicMethod.xml index 4c06196d25f..0e70a494ecd 100644 --- a/xml/System.Reflection.Emit/DynamicMethod.xml +++ b/xml/System.Reflection.Emit/DynamicMethod.xml @@ -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/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/source.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/VS_Snippets_CLR/Reflection.DynamicMethod.ClosedOver/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ILGenerator.xml b/xml/System.Reflection.Emit/ILGenerator.xml index 67b0a7d149b..c87cffc2b2b 100644 --- a/xml/System.Reflection.Emit/ILGenerator.xml +++ b/xml/System.Reflection.Emit/ILGenerator.xml @@ -1878,7 +1878,7 @@ The method does not throw The following code example emits two methods, a `varargs` method and a method that calls the `varargs` method. The `EmitCall` method is used to emit the call to the `varargs` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitCall/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/vb/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Emit.ArgIterator/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/MethodBuilder.xml b/xml/System.Reflection.Emit/MethodBuilder.xml index 5099a726feb..3c22d40952c 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/VB/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/VB/source.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/VB/source4.vb" id="Snippet1"::: ]]> @@ -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/VS_Snippets_CLR/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/VB/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/VB/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/VB/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ModuleBuilder.xml b/xml/System.Reflection.Emit/ModuleBuilder.xml index d5a822832b3..da4afa948b5 100644 --- a/xml/System.Reflection.Emit/ModuleBuilder.xml +++ b/xml/System.Reflection.Emit/ModuleBuilder.xml @@ -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/VS_Snippets_CLR/DefineManifestResource/source.vb" id="Snippet1"::: ]]> 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 f25ae62e5b4..ede17ee5fad 100644 --- a/xml/System.Reflection.Emit/OpCodes.xml +++ b/xml/System.Reflection.Emit/OpCodes.xml @@ -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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ParameterBuilder.xml b/xml/System.Reflection.Emit/ParameterBuilder.xml index 1fe36af8758..c854a34a128 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/PropertyBuilder.xml b/xml/System.Reflection.Emit/PropertyBuilder.xml index 5b19d9e2da6..c595b8ae223 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/TypeBuilder.xml b/xml/System.Reflection.Emit/TypeBuilder.xml index 833458c6add..2a688675c2f 100644 --- a/xml/System.Reflection.Emit/TypeBuilder.xml +++ b/xml/System.Reflection.Emit/TypeBuilder.xml @@ -91,7 +91,7 @@ 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/VS_Snippets_CLR/AssemblyBuilderClass/24895.vb" id="Snippet1"::: The following code sample demonstrates how to build a type dynamically by using `TypeBuilder`. @@ -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/VB/nestedenum.vb" id="Snippet1"::: ]]> @@ -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/VS_Snippets_CLR/TypeBuilder.DefineMethodOverride/source.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/VB/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"::: ]]> diff --git a/xml/System.Reflection.Emit/UnmanagedMarshal.xml b/xml/System.Reflection.Emit/UnmanagedMarshal.xml index 1d035a8234d..aa02ab41d5f 100644 --- a/xml/System.Reflection.Emit/UnmanagedMarshal.xml +++ b/xml/System.Reflection.Emit/UnmanagedMarshal.xml @@ -49,7 +49,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/UnmanagedMarshalObsolete/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/UnmanagedMarshal/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/UnmanagedMarshalObsolete/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/Assembly.xml b/xml/System.Reflection/Assembly.xml index 3a3602ed73d..19f6a6b3a66 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/VS_Snippets_CLR/AssemblyClass/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/Overview/VB/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"::: ]]> @@ -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/Overview/VB/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/Overview/VB/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"::: ]]> @@ -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/Overview/VB/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/VB/isdefined.vb" id="Snippet1"::: ]]> @@ -4114,7 +4114,7 @@ In .NET Core/.NET 5+, the target assembly will be loaded into the current 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/Load2.vb" id="Snippet2"::: ]]> @@ -4198,7 +4198,7 @@ In .NET Core/5+, the target assembly is loaded into the current property. The following example illustrates the use of a long name to load the System.dll assembly for the .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/load1.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. @@ -4910,7 +4910,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/Overview/VB/assembly.vb" id="Snippet11"::: ]]> @@ -5713,7 +5713,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/Overview/VB/assembly.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Reflection/AssemblyDelaySignAttribute.xml b/xml/System.Reflection/AssemblyDelaySignAttribute.xml index f5df27bb12f..2a336618ca0 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/VS_Snippets_CLR/AssemblyDelaySignAttribute/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyDescriptionAttribute.xml b/xml/System.Reflection/AssemblyDescriptionAttribute.xml index 8fe7c8035b1..a8aa39ddcda 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/VB/DescrAttr.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyKeyFileAttribute.xml b/xml/System.Reflection/AssemblyKeyFileAttribute.xml index 2759f713573..de93c694378 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/VS_Snippets_CLR/AssemblyDelaySignAttribute/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/AssemblyName.xml b/xml/System.Reflection/AssemblyName.xml index 0f2e70188e3..1481c642669 100644 --- a/xml/System.Reflection/AssemblyName.xml +++ b/xml/System.Reflection/AssemblyName.xml @@ -1932,7 +1932,7 @@ 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/VS_Snippets_CLR/AssemblyName.Version/Example.vb" id="Snippet1"::: **Example 2** diff --git a/xml/System.Reflection/AssemblyVersionAttribute.xml b/xml/System.Reflection/AssemblyVersionAttribute.xml index 9880085f5fd..d213cba17f4 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/EventInfo.xml b/xml/System.Reflection/EventInfo.xml index d028a49d707..ca0219e70d6 100644 --- a/xml/System.Reflection/EventInfo.xml +++ b/xml/System.Reflection/EventInfo.xml @@ -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/VS_Snippets_CLR/AddEventHandler/source.vb"::: ]]> diff --git a/xml/System.Reflection/FieldAttributes.xml b/xml/System.Reflection/FieldAttributes.xml index e3364f4f2a6..524762039ab 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 5f67174eb22..22ac1e26ee1 100644 --- a/xml/System.Reflection/FieldInfo.xml +++ b/xml/System.Reflection/FieldInfo.xml @@ -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/VS_Snippets_CLR/FieldInfo_GetFieldFromHandle2/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/GenericParameterAttributes.xml b/xml/System.Reflection/GenericParameterAttributes.xml index 16bba95587b..1a3acc62a90 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/Overview.GetGenericParameterConstraints/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/MemberInfo.xml b/xml/System.Reflection/MemberInfo.xml index 8ad4f29b065..22879b51279 100644 --- a/xml/System.Reflection/MemberInfo.xml +++ b/xml/System.Reflection/MemberInfo.xml @@ -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"::: ]]> @@ -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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/MemberTypes.xml b/xml/System.Reflection/MemberTypes.xml index 0477852b68f..7396765be75 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 1ffe39d960c..195e8d48a97 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"::: ]]> @@ -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/VB/hide.vb" id="Snippet1"::: ]]> @@ -2361,7 +2361,7 @@ The following table summarizes the invariant conditions for terms specific to ge This example shows a use of to filter internal or private members out of a list. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsSpecialName/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_Classic/classic Type.IsSpecialName Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsSpecialName/VB/source.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/MethodInfo/Getbasedefinition/IsOverride1.vb" id="Snippet2"::: diff --git a/xml/System.Reflection/MethodInfo.xml b/xml/System.Reflection/MethodInfo.xml index 21dde845f00..d3a6f670de6 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/MethodInfo/Getbasedefinition/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/MethodInfo/Getbasedefinition/getbasedefinition1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/Missing.xml b/xml/System.Reflection/Missing.xml index 1657c7a0ced..6b116baefed 100644 --- a/xml/System.Reflection/Missing.xml +++ b/xml/System.Reflection/Missing.xml @@ -96,7 +96,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 7e6f49f7ea2..d63d243d3ba 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/VB/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/Overview.Assembly Example/VB/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/Overview.FilterTypeName Example/VB/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/VB/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/Overview.FilterTypeName Example/VB/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/Overview.FullyQualifiedName/VB/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/Overview.GetCustomAttributes 1Arg Example/VB/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/Overview.GetCustomAttributes 2Arg Example/VB/class1.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/Overview.GetType 1Arg Example/VB/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/Overview.GetType 2Arg Example/VB/class1.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/Overview.GetType 3Arg Example/VB/class1.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/VB/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/Overview.IsResource Example/VB/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/VS_Snippets_CLR/Module.MethodResolve/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/VS_Snippets_CLR/Module.MethodResolve/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/Overview.ToString Example/VB/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ObfuscateAssemblyAttribute.xml b/xml/System.Reflection/ObfuscateAssemblyAttribute.xml index 8349bdf1e60..b8422973b7e 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/VS_Snippets_CLR/ObfuscateAssemblyAttribute/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/VS_Snippets_CLR/ObfuscateAssemblyAttribute/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/VS_Snippets_CLR/ObfuscateAssemblyAttribute/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/VS_Snippets_CLR/ObfuscateAssemblyAttribute/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/ObfuscationAttribute.xml b/xml/System.Reflection/ObfuscationAttribute.xml index 14e81c63058..4e88432a558 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/VS_Snippets_CLR/ObfuscationAttribute/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/VS_Snippets_CLR/ObfuscationAttribute/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/VS_Snippets_CLR/ObfuscationAttribute/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/VS_Snippets_CLR/ObfuscationAttribute/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/VS_Snippets_CLR/ObfuscationAttribute/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Reflection/ParameterModifier.xml b/xml/System.Reflection/ParameterModifier.xml index fc79c360af8..e5f4e3c9483 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 26918164658..4a6e0f61845 100644 --- a/xml/System.Reflection/PropertyInfo.xml +++ b/xml/System.Reflection/PropertyInfo.xml @@ -513,7 +513,7 @@ 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/source.vb" id="Snippet1"::: ]]> @@ -1440,7 +1440,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 +1532,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/VB/source.vb" id="Snippet1"::: ]]> @@ -1948,7 +1948,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 +2097,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/VS_Snippets_CLR/PropertyInfo.SetValue/example2.vb" id="Snippet2"::: ]]> @@ -2212,7 +2212,7 @@ Note: In 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.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..05fa88bc6ba 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/VB/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/VB/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/VB/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/VB/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/VB/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..51e51d559d5 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/VS_Snippets_CLR/conceptual.resources.resx/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/VS_Snippets_CLR/conceptual.resources.resx/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/VS_Snippets_CLR/conceptual.resources.resx/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..e82537dcc83 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/Overview/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/VS_Snippets_CLR/conceptual.resources.retrieving/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/VS_Snippets_CLR/conceptual.resources.retrieving/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..0c987accdf8 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/GetEnumerator/VB/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..02f90379344 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/GetEnumerator/VB/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/GetEnumerator/VB/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/GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Resources/ResourceWriter.xml b/xml/System.Resources/ResourceWriter.xml index 6e566dd1f06..7ab6b96ca00 100644 --- a/xml/System.Resources/ResourceWriter.xml +++ b/xml/System.Resources/ResourceWriter.xml @@ -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"::: ]]> @@ -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"::: ]]> @@ -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/VB/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/VB/resourcewritergenerate.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Caching/CacheItem.xml b/xml/System.Runtime.Caching/CacheItem.xml index abaf67fa9cd..80a9296e315 100644 --- a/xml/System.Runtime.Caching/CacheItem.xml +++ b/xml/System.Runtime.Caching/CacheItem.xml @@ -37,7 +37,7 @@ The following example shows how to use the class to store the contents of a file as a cache entry. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.runtime.caching.cacheitem/cs/default.aspx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/vb/default.aspx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.runtime.caching.cacheitem/default.aspx.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Caching/FileChangeMonitor.xml b/xml/System.Runtime.Caching/FileChangeMonitor.xml index 5096c3fe9c9..30bf06548da 100644 --- a/xml/System.Runtime.Caching/FileChangeMonitor.xml +++ b/xml/System.Runtime.Caching/FileChangeMonitor.xml @@ -33,7 +33,7 @@ The following example shows how to create a cache item that uses a object to monitor the state of the source data (a file) on the file system. The class inherits from the class. The cache entry is defined using a object that provides eviction and expiration details for the cache entry. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/cachingaspnetapplications/cs/default.aspx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/vb/default.aspx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/default.aspx.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Caching/HostFileChangeMonitor.xml b/xml/System.Runtime.Caching/HostFileChangeMonitor.xml index 53f83e78118..c6cc30f82a4 100644 --- a/xml/System.Runtime.Caching/HostFileChangeMonitor.xml +++ b/xml/System.Runtime.Caching/HostFileChangeMonitor.xml @@ -66,7 +66,7 @@ The following example creates a cache item that uses a object to monitor the state of the source data (which is a file) on the file system. The cache entry is defined using a object to provide eviction and expiration details for the cache entry. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/cachingaspnetapplications/cs/default.aspx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/vb/default.aspx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/cachingaspnetapplications/default.aspx.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml b/xml/System.Runtime.CompilerServices/AsyncStateMachineAttribute.xml index bf36cff2eef..ee1c53cc927 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/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml b/xml/System.Runtime.CompilerServices/CallerFilePathAttribute.xml index c092fd8bb82..6b67e5ce8e6 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/VS_Snippets_VBCSharp/csProgGuideAttributes/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml b/xml/System.Runtime.CompilerServices/CallerLineNumberAttribute.xml index b490c22ca62..c119ef5978c 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/VS_Snippets_VBCSharp/csProgGuideAttributes/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml b/xml/System.Runtime.CompilerServices/CallerMemberNameAttribute.xml index ffe5a0ef33e..04940168d67 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/VS_Snippets_VBCSharp/csProgGuideAttributes/callerinfo.vb" id="Snippet51"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml b/xml/System.Runtime.CompilerServices/CompilationRelaxationsAttribute.xml index e56e005fc1f..bd1f6ddc54d 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/VS_Snippets_CLR/Runtime.CompilerServices.CompilationRelaxationsAttribute/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml b/xml/System.Runtime.CompilerServices/CompilerGlobalScopeAttribute.xml index 14b37476617..806c06f75a6 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/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.CompilerGlobalScopeAttribute/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 5596f5593b9..25af2a22e4d 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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml index 2197ad76607..513c3ba3f68 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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/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/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml b/xml/System.Runtime.CompilerServices/DefaultDependencyAttribute.xml index 983ae93ec4f..b4493459139 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/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.DefaultDependencyAttribute/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DependencyAttribute.xml b/xml/System.Runtime.CompilerServices/DependencyAttribute.xml index 675f498f141..056e635998c 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/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.DependencyAttribute/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml b/xml/System.Runtime.CompilerServices/DiscardableAttribute.xml index 0d06a1d3837..3490958c92f 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/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.DiscardableAttribute/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml b/xml/System.Runtime.CompilerServices/InternalsVisibleToAttribute.xml index 311a9f21f8a..eb924dd5fcf 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 5d92b2b290b..fba94adf89b 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/VS_Snippets_CLR/runtime.compilerservices.asyncstatemachineattribute/module2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml b/xml/System.Runtime.CompilerServices/MethodImplAttribute.xml index b1b8925d55a..f4cc4850daa 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 c3766e4ef5c..2980fa03298 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/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/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/VS_Snippets_CLR/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/VS_Snippets_CLR/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/VS_Snippets_CLR/SafeHandle-RuntimeHelpers.PrepareConstrainedRegions/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml b/xml/System.Runtime.CompilerServices/StringFreezingAttribute.xml index 42a72b45e2f..4bb18f034e6 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/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.StringFreezingAttribute/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml b/xml/System.Runtime.CompilerServices/SuppressIldasmAttribute.xml index a27333c45fa..66727dd6b9f 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/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/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/VS_Snippets_CLR/Runtime.CompilerServices.SuppressIldasmAttribute/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/Cer.xml b/xml/System.Runtime.ConstrainedExecution/Cer.xml index 36d219e16d9..4f5f2edb4c0 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/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/Consistency.xml b/xml/System.Runtime.ConstrainedExecution/Consistency.xml index 4b85bda6b60..1bd10ddfa70 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/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml b/xml/System.Runtime.ConstrainedExecution/CriticalFinalizerObject.xml index f26303ca9b9..287b37cf515 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/VS_Snippets_CLR/SafeHandle.SafeFileHandle/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml index dada4b41779..0f6b8c93636 100644 --- a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml +++ b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml @@ -66,7 +66,7 @@ The following code example demonstrates the use of the attribute to document the level of reliability of an assembly. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute/ReliabilityContract.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/vb/FxCop.Reliability.ReliabilityContract.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CodeAnalysis/FxCop.Reliability.ReliabilityContract/FxCop.Reliability.ReliabilityContract.vb" id="Snippet1"::: ]]> @@ -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/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/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..a90f54d6280 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/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/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/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Hosting/ApplicationActivator.xml b/xml/System.Runtime.Hosting/ApplicationActivator.xml index bf0fa416a86..79c99752684 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/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml b/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml index 1cf5579af95..2750e18e5e5 100644 --- a/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml +++ b/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml @@ -83,7 +83,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/CharSet.xml b/xml/System.Runtime.InteropServices/CharSet.xml index 0f93507cc49..a2f303bb71a 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/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/DispatchWrapper.xml b/xml/System.Runtime.InteropServices/DispatchWrapper.xml index 5399aca9746..65b2ca400eb 100644 --- a/xml/System.Runtime.InteropServices/DispatchWrapper.xml +++ b/xml/System.Runtime.InteropServices/DispatchWrapper.xml @@ -85,7 +85,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 00120e19732..e4d57fa52a0 100644 --- a/xml/System.Runtime.InteropServices/DllImportAttribute.xml +++ b/xml/System.Runtime.InteropServices/DllImportAttribute.xml @@ -86,7 +86,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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/sample.vb" id="Snippet1"::: ]]> @@ -147,7 +147,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/Overview/source.vb" id="Snippet2"::: @@ -155,7 +155,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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/sample.vb" id="Snippet1"::: ]]> @@ -222,7 +222,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/Overview/source.vb" id="Snippet3"::: ]]> @@ -286,7 +286,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/Overview/source.vb" id="Snippet1"::: ]]> @@ -347,7 +347,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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/sample.vb" id="Snippet1"::: ]]> @@ -417,7 +417,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/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/sample.vb" id="Snippet1"::: ]]> @@ -487,7 +487,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/Overview/source.vb" id="Snippet4"::: ]]> @@ -557,7 +557,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/VS_Snippets_CLR/Runtime.InteropServices.PreserveSigAttribute/example.vb" id="Snippet1"::: ]]> @@ -626,7 +626,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/Overview/source.vb" id="Snippet5"::: ]]> @@ -695,7 +695,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/Overview/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.InteropServices/GCHandle.xml b/xml/System.Runtime.InteropServices/GCHandle.xml index 932de16082f..b1b5eb7a28d 100644 --- a/xml/System.Runtime.InteropServices/GCHandle.xml +++ b/xml/System.Runtime.InteropServices/GCHandle.xml @@ -97,7 +97,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"::: ]]> @@ -259,7 +259,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"::: ]]> @@ -517,7 +517,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"::: ]]> @@ -586,7 +586,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"::: ]]> @@ -1044,7 +1044,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"::: ]]> @@ -1108,7 +1108,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/Marshal.xml b/xml/System.Runtime.InteropServices/Marshal.xml index 2d17abd85ce..e352f55bb13 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -740,7 +740,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/sample.vb" id="Snippet1"::: ]]> @@ -820,7 +820,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/sample.vb" id="Snippet1"::: ]]> @@ -900,7 +900,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/sample.vb" id="Snippet1"::: ]]> @@ -980,7 +980,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/sample.vb" id="Snippet1"::: ]]> @@ -1060,7 +1060,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/sample.vb" id="Snippet1"::: ]]> @@ -1140,7 +1140,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/sample.vb" id="Snippet1"::: ]]> @@ -1220,7 +1220,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-byte/sample.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-char/sample.vb" id="Snippet1"::: ]]> @@ -1378,7 +1378,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-double/sample.vb" id="Snippet1"::: ]]> @@ -1457,7 +1457,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int16/sample.vb" id="Snippet1"::: ]]> @@ -1536,7 +1536,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int/sample.vb" id="Snippet1"::: ]]> @@ -1615,7 +1615,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.Copy-int64/sample.vb" id="Snippet1"::: ]]> @@ -2885,7 +2885,7 @@ The example calls . :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/Marshal/GetActiveObject/marshal.getactiveobject.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.marshal.getactiveobject/vb/marshal.getactiveobject.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/Marshal/GetActiveObject/marshal.getactiveobject.vb" id="Snippet1"::: ]]> The object was not found. @@ -4267,7 +4267,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetHRForLastWin32Error/example.vb" id="Snippet1"::: ]]> @@ -4440,7 +4440,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetITypeInfoForType/example.vb" id="Snippet1"::: ]]> @@ -4526,7 +4526,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/example.vb" id="Snippet1"::: ]]> @@ -4581,7 +4581,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObjectInContext-release/example.vb" id="Snippet1"::: ]]> @@ -4792,7 +4792,7 @@ On .NET 6 and later versions, this method is functionally equivalent to @@ -7847,7 +7847,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/sample.vb" id="Snippet1"::: The following example demonstrates how to marshal an unmanaged block of memory to a managed structure using the method. @@ -8199,7 +8199,7 @@ On .NET 6 and later versions, this method is functionally equivalent to method to read the value of an unmanaged character. @@ -8290,7 +8290,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet3"::: The following example demonstrates how to use the method to read the value of an unmanaged character. @@ -8471,7 +8471,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -8562,7 +8562,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -8748,7 +8748,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -8843,7 +8843,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -9033,7 +9033,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -9128,7 +9128,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -9318,7 +9318,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet2"::: ]]> @@ -9408,7 +9408,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet2"::: ]]> @@ -9722,7 +9722,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.GetIUnknownForObject-release/example.vb" id="Snippet1"::: ]]> @@ -9985,7 +9985,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/sample.vb" id="Snippet1"::: ]]> @@ -10056,7 +10056,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemUnicode/sample.vb" id="Snippet1"::: ]]> @@ -10472,7 +10472,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/sample.vb" id="Snippet1"::: ]]> @@ -11354,7 +11354,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.PtrToStructure-SizeOf/sample.vb" id="Snippet1"::: ]]> @@ -11983,7 +11983,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.ReadByte - WriteByte/example.vb" id="Snippet1"::: ]]> @@ -12069,7 +12069,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet3"::: ]]> @@ -12246,7 +12246,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: ]]> @@ -12331,7 +12331,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: ]]> @@ -12418,7 +12418,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: ]]> @@ -12498,7 +12498,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet4"::: ]]> @@ -12763,7 +12763,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet5"::: ]]> @@ -12851,7 +12851,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet5"::: ]]> @@ -13031,7 +13031,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet6"::: ]]> @@ -13119,7 +13119,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet6"::: ]]> @@ -13299,7 +13299,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet2"::: ]]> @@ -13388,7 +13388,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/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/sample.vb" id="Snippet2"::: ]]> @@ -13606,7 +13606,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/VS_Snippets_CLR/Runtime.InteropServices.Marshal.SecureStringToCoTaskMemAnsi/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml b/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml index 95ef950a223..eb5050dcbfc 100644 --- a/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml +++ b/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml @@ -77,7 +77,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). @@ -92,12 +92,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"::: ]]> @@ -742,7 +742,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/VB/marshalas.sizeparamindex.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/VariantWrapper.xml b/xml/System.Runtime.InteropServices/VariantWrapper.xml index 16f4076a356..881185ea0df 100644 --- a/xml/System.Runtime.InteropServices/VariantWrapper.xml +++ b/xml/System.Runtime.InteropServices/VariantWrapper.xml @@ -87,7 +87,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"::: ]]> @@ -144,7 +144,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.Serialization/CollectionDataContractAttribute.xml b/xml/System.Runtime.Serialization/CollectionDataContractAttribute.xml index 5102f9e116b..bcf4e40fa7f 100644 --- a/xml/System.Runtime.Serialization/CollectionDataContractAttribute.xml +++ b/xml/System.Runtime.Serialization/CollectionDataContractAttribute.xml @@ -71,12 +71,12 @@ The following example applies the to a class that inherits from the class. The code sets the and properties to custom values. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/collectiondatacontractattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/source.vb" id="Snippet1"::: When the [ServiceModel Metadata Utility Tool (Svcutil.exe)](/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe) is used to generate code for the client, the code resembles the following example. Notice that the name of the class is changed, as well as the . When using generics, the type parameter name is used to create the resulting type name. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/collectiondatacontractattribute/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/collectiondatacontractattribute/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Serialization/ContractNamespaceAttribute.xml b/xml/System.Runtime.Serialization/ContractNamespaceAttribute.xml index ad4471944d2..6d7925a3dba 100644 --- a/xml/System.Runtime.Serialization/ContractNamespaceAttribute.xml +++ b/xml/System.Runtime.Serialization/ContractNamespaceAttribute.xml @@ -72,7 +72,7 @@ The following example shows the applied to an assembly. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/contractnamespaceattribute/cs/overview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/vb/overview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/contractnamespaceattribute/overview.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/DataContractAttribute.xml b/xml/System.Runtime.Serialization/DataContractAttribute.xml index 0db60233ff4..e6630144ef2 100644 --- a/xml/System.Runtime.Serialization/DataContractAttribute.xml +++ b/xml/System.Runtime.Serialization/DataContractAttribute.xml @@ -61,7 +61,7 @@ The following example serializes and deserializes a class named `Person` to which the has been applied. Note that the and properties have been set to values that override the default settings. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractattribute/cs/overview.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/vb/overview.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractattribute/overview.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/DataContractSerializer.xml b/xml/System.Runtime.Serialization/DataContractSerializer.xml index da24458cd0c..be44042c144 100644 --- a/xml/System.Runtime.Serialization/DataContractSerializer.xml +++ b/xml/System.Runtime.Serialization/DataContractSerializer.xml @@ -118,7 +118,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet8"::: ]]> @@ -180,7 +180,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize and a collection of known types that can be used in the object graph. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet9"::: ]]> @@ -289,7 +289,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize as well as the XML name and namespace to read from or write to the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet10"::: ]]> @@ -345,7 +345,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize as well as the XML name and namespace (as objects) to read from or write to the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet11"::: ]]> @@ -411,7 +411,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize as well as the XML name and namespace to read from or write to the XML document. The code also creates an instance of a to contain the known types used during serialization or deserialization. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet12"::: ]]> @@ -479,7 +479,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize as well as the XML name and namespace (as objects) to read from or write to the XML document. The code also creates an instance of a to contain the known types used during serialization or deserialization. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet13"::: ]]> @@ -531,7 +531,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize and an instance of a to contain the known types used during serialization or deserialization. The code also sets the `ignoreExtensionDataObject` and `preserveObjectReferences` parameters to `true`, and specifies an implementation of the interface to handle legacy types (types that do not have the attribute applied). For more information, see the documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet14"::: ]]> @@ -643,7 +643,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize, the root XML element and namespace, and an instance of a that contains the types used during deserialization. The code also sets the `ignoreExtensionDataObject` and `preserveObjectReferences` parameters to `true`, and specifies an implementation of the interface to handle legacy types (types that do not have the attribute applied). For more information, see the documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet15"::: ]]> @@ -705,7 +705,7 @@ The following example creates an instance of the that specifies the type to serialize or deserialize, the root XML element and namespace (as parameters), and an instance of a that contains the types used during deserialization. The code also sets the `ignoreExtensionDataObject` and `preserveObjectReferences` parameters to `true`, and specifies an implementation of the interface to handle legacy types (types that do not have the attribute applied). For more information, see the documentation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet16"::: ]]> @@ -1028,7 +1028,7 @@ The following example uses the property to determine whether the start of the data has been found. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet6"::: ]]> @@ -1382,7 +1382,7 @@ operation.Behaviors.Find().MaxItemsInOb The following example reads an XML document and deserializes an instance of an object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet2"::: ]]> @@ -1627,7 +1627,7 @@ operation.Behaviors.Find().MaxItemsInOb The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. Making these calls is equivalent to making a single call of the method. For example, a user might make the calls separately to insert additional XML attributes into the XML after calling the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet7"::: ]]> @@ -1912,7 +1912,7 @@ operation.Behaviors.Find().MaxItemsInOb The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet7"::: ]]> @@ -2066,7 +2066,7 @@ operation.Behaviors.Find().MaxItemsInOb The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializer/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializer/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Runtime.Serialization/DataMemberAttribute.xml b/xml/System.Runtime.Serialization/DataMemberAttribute.xml index c817eefc160..acc2b2c99a4 100644 --- a/xml/System.Runtime.Serialization/DataMemberAttribute.xml +++ b/xml/System.Runtime.Serialization/DataMemberAttribute.xml @@ -77,7 +77,7 @@ The following example shows a type to which the and attributes have been applied. The property on the is set to "ID". :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datamemberattribute/cs/overview.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/vb/overview.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/overview.vb" id="Snippet0"::: ]]> @@ -183,7 +183,7 @@ The following example shows the property set to `false` on various fields. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datamemberattribute/cs/overview.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/vb/overview.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datamemberattribute/overview.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.Serialization/EnumMemberAttribute.xml b/xml/System.Runtime.Serialization/EnumMemberAttribute.xml index fd523b98b0c..724c02d2237 100644 --- a/xml/System.Runtime.Serialization/EnumMemberAttribute.xml +++ b/xml/System.Runtime.Serialization/EnumMemberAttribute.xml @@ -69,7 +69,7 @@ The following example shows applied to members of an enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/enummemberattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/source.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ The following code, with the Value property set: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/enummemberattribute/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/enummemberattribute/source.vb" id="Snippet3"::: results in the following XML: diff --git a/xml/System.Runtime.Serialization/ExportOptions.xml b/xml/System.Runtime.Serialization/ExportOptions.xml index 8037dc35d1f..b1b097b6442 100644 --- a/xml/System.Runtime.Serialization/ExportOptions.xml +++ b/xml/System.Runtime.Serialization/ExportOptions.xml @@ -68,7 +68,7 @@ The then exports the schemas of the types, including the `Possessions` type added to the collection. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractexporter/cs/overview.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb" id="Snippet0"::: ]]> @@ -214,7 +214,7 @@ The following example creates an instance of the class and adds a type to the collection returned by the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractexporter/cs/overview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/ExtensionDataObject.xml b/xml/System.Runtime.Serialization/ExtensionDataObject.xml index 247205be4d2..1b7050b3d2c 100644 --- a/xml/System.Runtime.Serialization/ExtensionDataObject.xml +++ b/xml/System.Runtime.Serialization/ExtensionDataObject.xml @@ -54,7 +54,7 @@ The following code serializes an instance of a type (`PersonVersion2`) that is the second version of the serializable type (`Person`). The second version contains extra data (`ID` field) that is not present in the first version. The code then deserializes the XML document into a `Person` object, then immediately reserializes the object including the extra data. Finally, the code deserializes the new XML into a `PersonVersion2` object and writes the complete data to the console, proving that the data has made a round trip to and from an older version of the type. Note that the attribute must be applied with the and properties set to the same name and namespace as the original class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/iunknownserializationdata/cs/iunknownserialization.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/vb/iunknownserialization.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/iunknownserialization.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Runtime.Serialization/IDataContractSurrogate.xml b/xml/System.Runtime.Serialization/IDataContractSurrogate.xml index 4a5cb2c70c6..28a491e8154 100644 --- a/xml/System.Runtime.Serialization/IDataContractSurrogate.xml +++ b/xml/System.Runtime.Serialization/IDataContractSurrogate.xml @@ -30,7 +30,7 @@ The following example shows an implementation of the interface. The code substitutes the serialization of the `Person` type for a `PersonSurrogated` class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/idatacontractsurrogate/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb" id="Snippet0"::: ]]> @@ -138,7 +138,7 @@ The following example shows an implementation of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/idatacontractsurrogate/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb" id="Snippet1"::: ]]> @@ -181,7 +181,7 @@ The following example shows an implementation of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/idatacontractsurrogate/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb" id="Snippet3"::: ]]> @@ -256,7 +256,7 @@ The following example shows an implementation of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/idatacontractsurrogate/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb" id="Snippet2"::: ]]> @@ -301,7 +301,7 @@ The following example shows an implementation of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/idatacontractsurrogate/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/idatacontractsurrogate/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Serialization/IExtensibleDataObject.xml b/xml/System.Runtime.Serialization/IExtensibleDataObject.xml index 93e598e5f53..2447acba3d0 100644 --- a/xml/System.Runtime.Serialization/IExtensibleDataObject.xml +++ b/xml/System.Runtime.Serialization/IExtensibleDataObject.xml @@ -46,7 +46,7 @@ The following code shows an instance of a type (`PersonVersion2`) that is the second version of a serializable type (`Person`). The second version contains extra data (`ID` field) that is not present in the first version. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/iunknownserializationdata/cs/iunknownserialization.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/vb/iunknownserialization.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/iunknownserializationdata/iunknownserialization.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/InvalidDataContractException.xml b/xml/System.Runtime.Serialization/InvalidDataContractException.xml index f191559731b..dd5c96e5fde 100644 --- a/xml/System.Runtime.Serialization/InvalidDataContractException.xml +++ b/xml/System.Runtime.Serialization/InvalidDataContractException.xml @@ -82,7 +82,7 @@ The following example shows a service contract, `ICalculator`, that includes two methods, `Add` and `MoreData`. The `MoreData` method returns an instance of the `ExtraData` class, which is also declared in the code. When the implemented interface `Calculator` runs, an `InvalidDataContractException` will be thrown because the `ExtraData` class does not have the applied to it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/invaliddatacontractexception/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/invaliddatacontractexception/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/KnownTypeAttribute.xml b/xml/System.Runtime.Serialization/KnownTypeAttribute.xml index 7ef5f83200c..900bfdb8b1e 100644 --- a/xml/System.Runtime.Serialization/KnownTypeAttribute.xml +++ b/xml/System.Runtime.Serialization/KnownTypeAttribute.xml @@ -72,7 +72,7 @@ The following example shows a type named `Person` and a type named `IDInformation` that should be recognized when serializing or deserializing the `Person` type. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/knowntypeattribute/cs/overview.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/vb/overview.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/overview.vb" id="Snippet0"::: ]]> @@ -143,7 +143,7 @@ The following example uses the `methodName` parameter to identify a method in the type that contains an array of objects. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/knowntypeattribute_ctor_string/cs/knowntype_ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/vb/knowntypeattribute_ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/knowntypeattribute_ctor1.vb" id="Snippet1"::: ]]> @@ -195,7 +195,7 @@ The following example shows a type named `Person` and a type named `IDInformation` that should be included when or deserializing. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/knowntypeattribute/cs/overview.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/vb/overview.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute/overview.vb" id="Snippet0"::: ]]> @@ -255,7 +255,7 @@ The following example uses the `methodName` parameter to identify a method in the type that contains an array of objects. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/knowntypeattribute_ctor_string/cs/knowntype_ctor1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/vb/knowntypeattribute_ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/knowntypeattribute_ctor_string/knowntypeattribute_ctor1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/NetDataContractSerializer.xml b/xml/System.Runtime.Serialization/NetDataContractSerializer.xml index ec298b120b1..5da642df0d3 100644 --- a/xml/System.Runtime.Serialization/NetDataContractSerializer.xml +++ b/xml/System.Runtime.Serialization/NetDataContractSerializer.xml @@ -39,7 +39,7 @@ The class is used to write XML. However, the `NetDataContractSerializer` cannot serialize an instance of the type. The following code, therefore, fails with the exception: "Root type 'System.Xml.Linq.XElement' is not supported at the top level by NetDataContractSerializer since it is IXmlSerializable with `IsAny`=`true` and must write all its contents including the root element." :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet15"::: However, if an `XElement` is used as the type of a field or property of a class, the data contained by the field or property is serialized. This is because as a member of a class, the data is not the top level of the class. @@ -49,7 +49,7 @@ The following example code shows a type named `Person` that is serialized by the . The attribute is applied to the class, and the is applied to members (including a private member) to instruct the what to serialize. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet0"::: ]]> @@ -89,7 +89,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet8"::: ]]> @@ -126,7 +126,7 @@ The following example creates an instance of the using a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet9"::: ]]> @@ -160,7 +160,7 @@ The following example creates an instance of the specifying the XML root element and namespace it will expect when deserializing an object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet10"::: ]]> @@ -199,7 +199,7 @@ The following example creates an instance of the specifying the XML root element and namespace (as arguments) it will expect when deserializing an object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet11"::: ]]> @@ -245,7 +245,7 @@ The following example creates an instance of the using a . The code also sets the `ignoreExtensionDataObject`, and specifies an implementation of the `ISurrogateSelector` interface to handle to assist the serializer when selecting a surrogate (for deserializing legacy types). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet12"::: ]]> @@ -297,7 +297,7 @@ The following example creates an instance of the specifying the XML element name and namespace to expect when deserializing. The code also sets the `ignoreExtensionDataObject`, and specifies an implementation of the interface to handle to assist the serializer when selecting a surrogate (for deserializing legacy types). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet13"::: ]]> @@ -351,7 +351,7 @@ The following example creates an instance of the specifying the XML element name and namespace (as arguments) to expect when deserializing. The code also sets the `ignoreExtensionDataObject`, and specifies an implementation of the interface to handle to assist the serializer when selecting a surrogate (for deserializing legacy types). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet14"::: ]]> @@ -873,7 +873,7 @@ The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet5"::: ]]> @@ -985,7 +985,7 @@ The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet5"::: ]]> @@ -1065,7 +1065,7 @@ The following example creates an object to serialize, an instance of the , and an instance of the class. The example uses the , , and methods to write the object data into the XML document. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/netdatacontractserializer/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/netdatacontractserializer/source.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Runtime.Serialization/XPathQueryGenerator.xml b/xml/System.Runtime.Serialization/XPathQueryGenerator.xml index 76ec025589b..500cd424451 100644 --- a/xml/System.Runtime.Serialization/XPathQueryGenerator.xml +++ b/xml/System.Runtime.Serialization/XPathQueryGenerator.xml @@ -72,7 +72,7 @@ The following example creates XPath queries from two classes to which the and attributes have been applied. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathquerygenerator/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/source.vb" id="Snippet0"::: ]]> @@ -157,7 +157,7 @@ The following example creates XPath queries from two classes to which the and attributes have been applied. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathquerygenerator/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathquerygenerator/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.Runtime.Serialization/XmlObjectSerializer.xml b/xml/System.Runtime.Serialization/XmlObjectSerializer.xml index c65aaeb8d7f..881b93e6460 100644 --- a/xml/System.Runtime.Serialization/XmlObjectSerializer.xml +++ b/xml/System.Runtime.Serialization/XmlObjectSerializer.xml @@ -63,7 +63,7 @@ The following example shows a method named `WriteObjectWithInstance` that includes an as a parameter. The method serializes an object using either the or by calling the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xmlobjectserializer/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlobjectserializer/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/XsdDataContractExporter.xml b/xml/System.Runtime.Serialization/XsdDataContractExporter.xml index 8b3694d1aa5..2672429f136 100644 --- a/xml/System.Runtime.Serialization/XsdDataContractExporter.xml +++ b/xml/System.Runtime.Serialization/XsdDataContractExporter.xml @@ -54,7 +54,7 @@ The following example creates an instance of the and calls the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractexporter/cs/overview.cs" id="Snippet0"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb" id="Snippet0"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb" id="Snippet0"::: ]]> @@ -344,7 +344,7 @@ The following example creates an instance of the method before calling the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractexporter/cs/overview.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/vb/overview.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractexporter/overview.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Serialization/XsdDataContractImporter.xml b/xml/System.Runtime.Serialization/XsdDataContractImporter.xml index 2096b40e9ed..c33ae249d1e 100644 --- a/xml/System.Runtime.Serialization/XsdDataContractImporter.xml +++ b/xml/System.Runtime.Serialization/XsdDataContractImporter.xml @@ -117,7 +117,7 @@ The following example creates an and calls the method to create a . The is then used to create both Visual C# and Visual Basic code files. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractimporter/cs/xsddatacontractimporterexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb" id="Snippet1"::: ]]> @@ -183,7 +183,7 @@ The following example calls the method to determine whether the can be generated. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractimporter/cs/xsddatacontractimporterexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb" id="Snippet2"::: ]]> @@ -371,7 +371,7 @@ The following example uses creates a . The is then used to create both a Visual C# and Visual Basic code file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractimporter/cs/xsddatacontractimporterexample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb" id="Snippet1"::: ]]> @@ -588,7 +588,7 @@ The following example uses the method to test whether a set of schemas can be imported. If the method returns `true`, the code invokes the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xsddatacontractimporter/cs/xsddatacontractimporterexample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/vb/xsddatacontractimporterexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xsddatacontractimporter/xsddatacontractimporterexample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Versioning/FrameworkName.xml b/xml/System.Runtime.Versioning/FrameworkName.xml index 493c3f9af86..dfb03a15412 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/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/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/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/Operators1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml b/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml index 98cecc749c0..9d815764b42 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 242ac44f568..715686c1af6 100644 --- a/xml/System.Runtime/GCSettings.xml +++ b/xml/System.Runtime/GCSettings.xml @@ -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.Runtime/GCSettings/Overview/lohcompactionmode1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml index 7dae6314bd2..da96f3da76b 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml @@ -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/VB/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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/FileSystemAuditRule.xml b/xml/System.Security.AccessControl/FileSystemAuditRule.xml index 32fb5ebb733..8da3c960e0b 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/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/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/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/FileSystemSecurity.xml b/xml/System.Security.AccessControl/FileSystemSecurity.xml index 3f039fd1bdc..24d1eb07e76 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/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/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/VS_Snippets_CLR/AccessControl.FileSystemAuditRule/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexSecurity.xml b/xml/System.Security.AccessControl/MutexSecurity.xml index abc21e43799..599ac0b8635 100644 --- a/xml/System.Security.AccessControl/MutexSecurity.xml +++ b/xml/System.Security.AccessControl/MutexSecurity.xml @@ -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/VB/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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistrySecurity.xml b/xml/System.Security.AccessControl/RegistrySecurity.xml index 7083f7f8d86..3facb977226 100644 --- a/xml/System.Security.AccessControl/RegistrySecurity.xml +++ b/xml/System.Security.AccessControl/RegistrySecurity.xml @@ -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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreSecurity.xml b/xml/System.Security.AccessControl/SemaphoreSecurity.xml index b142647b80e..45d6e46c557 100644 --- a/xml/System.Security.AccessControl/SemaphoreSecurity.xml +++ b/xml/System.Security.AccessControl/SemaphoreSecurity.xml @@ -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/VB/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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Pkcs/SignedCms.xml b/xml/System.Security.Cryptography.Pkcs/SignedCms.xml index 42a66a0eca9..36c380638ae 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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/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/VS_Snippets_WindowsServer/mpkcs_SignedCMS/Program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml b/xml/System.Security.Cryptography.X509Certificates/OpenFlags.xml index 88f96c12f83..17f1f42d5de 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/VS_Snippets_CLR/x509store2/x509store2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml b/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml index 3d8bf66fce2..0aa0db373cb 100644 --- a/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml +++ b/xml/System.Security.Cryptography.X509Certificates/PublicKey.xml @@ -70,7 +70,7 @@ 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/VS_Snippets_CLR/x509certificate2/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. diff --git a/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml b/xml/System.Security.Cryptography.X509Certificates/StoreLocation.xml index 14019b9bf23..28a0c682da1 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..ec9a388e7df 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/VS_Snippets_CLR/x509storename/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml index 52645139a32..4a78b2de3ad 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2.xml @@ -80,7 +80,7 @@ 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/VS_Snippets_CLR/x509certificate2/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. diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml index 874cfff4477..62ed4b89546 100644 --- a/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml +++ b/xml/System.Security.Cryptography.X509Certificates/X509Certificate2Collection.xml @@ -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/VS_Snippets_CLR/x509store2/x509store2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml b/xml/System.Security.Cryptography.X509Certificates/X509Chain.xml index 6a66282b914..8170b87938b 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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainElement.xml index 8329426c5f2..f688354f2cd 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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainElementCollection.xml index 459f5f81618..8bed198835b 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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainPolicy.xml index 0a78e101a7c..d88f45c29fd 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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml b/xml/System.Security.Cryptography.X509Certificates/X509ChainStatus.xml index 7bdc8f2a52d..ae1c88a79b1 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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml b/xml/System.Security.Cryptography.X509Certificates/X509RevocationFlag.xml index 581488a95f2..d11b133261d 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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml b/xml/System.Security.Cryptography.X509Certificates/X509RevocationMode.xml index 2ed709fd374..e8870ed4986 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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml b/xml/System.Security.Cryptography.X509Certificates/X509SelectionFlag.xml index cb9f4460cf5..9c04e384db4 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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509Store.xml b/xml/System.Security.Cryptography.X509Certificates/X509Store.xml index 948f8fadfaf..b054465a200 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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/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/VS_Snippets_CLR/x509store2/x509store2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml b/xml/System.Security.Cryptography.X509Certificates/X509VerificationFlags.xml index 5e25f6e747a..3617fd89c41 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/VS_Snippets_CLR/x509chaintest/x509chaintest.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/DataReference.xml b/xml/System.Security.Cryptography.Xml/DataReference.xml index 7dd48a02224..1b5c5a66140 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/VS_Snippets_CLR/Cryptography.XML.DataReference/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/VS_Snippets_CLR/Cryptography.XML.DataReference/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedData.xml b/xml/System.Security.Cryptography.Xml/EncryptedData.xml index 54192bb6284..295631ad316 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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedKey.xml b/xml/System.Security.Cryptography.Xml/EncryptedKey.xml index b0294fecb23..3da7c3cc7f2 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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/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/VS_Snippets_CLR/Cryptography.XML.EncryptedKey/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptedType.xml b/xml/System.Security.Cryptography.Xml/EncryptedType.xml index a91d9545e63..73092d5a588 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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/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/VS_Snippets_CLR/Cryptography.XML.EncryptedData/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/VS_Snippets_CLR/Cryptography.XML-EncryptedData - EncryptedType/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml b/xml/System.Security.Cryptography.Xml/EncryptionProperty.xml index ba8ce5d3be9..74396831ba0 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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml b/xml/System.Security.Cryptography.Xml/EncryptionPropertyCollection.xml index f2227140717..e4fbeeb6cd3 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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/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/VS_Snippets_CLR/Cryptography.XML.EncryptionProperty/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml index 500022e4601..829cfed8583 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml @@ -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/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyReference.xml b/xml/System.Security.Cryptography.Xml/KeyReference.xml index 3e12bf86e97..0f94701cbaa 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/SignedXml.xml b/xml/System.Security.Cryptography.Xml/SignedXml.xml index 2a998b6108f..bcb6ba2e364 100644 --- a/xml/System.Security.Cryptography.Xml/SignedXml.xml +++ b/xml/System.Security.Cryptography.Xml/SignedXml.xml @@ -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/VS_Snippets_CLR/Security.Cryptography.Xml.SignedXml.CheckSignature/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/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/members.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml b/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml index 54db10c4ed1..5fcc82bcc5c 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/XmlDsigXPathTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml index 0d721177d4b..66b9fe6cf12 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml @@ -63,7 +63,7 @@ **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/XmlDsigXPathTransform/Overview/VB/members.vb" id="Snippet2"::: ]]> @@ -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/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXPathTransform/Overview/VB/members.vb" id="Snippet4"::: ]]> @@ -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/XmlDsigXPathTransform/Overview/VB/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/XmlDsigXPathTransform/Overview/VB/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml index aefb402df9e..2b0ba18caa9 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml @@ -67,7 +67,7 @@ **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/XmlDsigXsltTransform/Overview/VB/members.vb" id="Snippet2"::: ]]> @@ -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/XmlDsigXsltTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/members.vb" id="Snippet4"::: ]]> @@ -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/XmlDsigXsltTransform/Overview/VB/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/XmlDsigXsltTransform/Overview/VB/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/Aes.xml b/xml/System.Security.Cryptography/Aes.xml index f7778c64064..279967ea8f3 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/VS_Snippets_CLR/aessample/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/VS_Snippets_CLR/aessample/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..89a8db969b8 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/VS_Snippets_CLR/aescryptoservprovider/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/VS_Snippets_CLR/aescryptoservprovider/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/VS_Snippets_CLR/aescryptoservprovider/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..441ebcf89cf 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/VS_Snippets_CLR/aesmanaged/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/VS_Snippets_CLR/aesmanaged/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/VS_Snippets_CLR/aesmanaged/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/AsymmetricAlgorithm.xml b/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml index 9cf1043c850..9aabc4a9d2a 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/customcrypto.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml index 12b985b278c..48b979d86fd 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/VB/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/VB/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/VB/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/VB/contosodeformatter.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoAPITransform.xml b/xml/System.Security.Cryptography/CryptoAPITransform.xml index 53ff2b75f75..de333548f13 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoConfig.xml b/xml/System.Security.Cryptography/CryptoConfig.xml index b450e7387b5..f52097ac281 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/VB/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/VB/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/VB/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/VB/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/VB/members.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicException.xml b/xml/System.Security.Cryptography/CryptographicException.xml index 0bd492633e5..7777edc78db 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/cryptographicexceptionmembers.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml b/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml index 7386ae3ccac..391ef00ca3e 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/VB/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/VB/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/VB/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/VB/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/VB/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureDeformatter.xml b/xml/System.Security.Cryptography/DSASignatureDeformatter.xml index 47cf79eb74d..c493fd2ee0c 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/VB/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/VB/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/VB/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/VB/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureFormatter.xml b/xml/System.Security.Cryptography/DSASignatureFormatter.xml index a1557d332ad..6e958ee7687 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/VB/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/VB/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/VB/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/VB/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DataProtectionScope.xml b/xml/System.Security.Cryptography/DataProtectionScope.xml index af41c1b5820..149f8f91b81 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/VS_Snippets_CLR/Cryptography.DataProtectionSample/dataprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DataProtector.xml b/xml/System.Security.Cryptography/DataProtector.xml index 5d26d400de0..a0ebbf3071d 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/VS_Snippets_CLR/cryptography.dataprotector/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/VS_Snippets_CLR/cryptography.memoryprotector/class1.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/VS_Snippets_CLR/cryptography.dataprotector/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/VS_Snippets_CLR/cryptography.memoryprotector/class1.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/VS_Snippets_CLR/cryptography.memoryprotector/class1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml b/xml/System.Security.Cryptography/ECDiffieHellmanCng.xml index 6d889a8299d..6d780001d9c 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/VS_Snippets_CLR/ecdiffiehellmancng/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ECDsaCng.xml b/xml/System.Security.Cryptography/ECDsaCng.xml index 55e49df7cd4..092515b019c 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/VS_Snippets_CLR/ecdsacng/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/FromBase64Transform.xml b/xml/System.Security.Cryptography/FromBase64Transform.xml index dcdde0d8deb..a6baebd25ea 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/VB/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/VB/class1.vb" id="Snippet1"::: ]]> @@ -761,7 +761,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/VB/class1.vb" id="Snippet1"::: ]]> @@ -844,7 +844,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/VB/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACRIPEMD160.xml b/xml/System.Security.Cryptography/HMACRIPEMD160.xml index 4fa72c1ed10..01dd83621e8 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/VS_Snippets_CLR/HMACRIPEMD160/hmacripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA256.xml b/xml/System.Security.Cryptography/HMACSHA256.xml index 50b387c30d4..1d4e31a78cf 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/VS_Snippets_CLR/HMACSHA256/hmacsha256.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA384.xml b/xml/System.Security.Cryptography/HMACSHA384.xml index 15183f83b0d..39382eee2cd 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/VS_Snippets_CLR/HMACSHA384/hmacsha384.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HMACSHA512.xml b/xml/System.Security.Cryptography/HMACSHA512.xml index 4e89afdeef0..dbff6fc0ba2 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/VS_Snippets_CLR/HMACSHA512/hmacsha512.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/HashAlgorithm.xml b/xml/System.Security.Cryptography/HashAlgorithm.xml index 79afaf96a57..44aee67bea8 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/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/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/VS_Snippets_CLR/Cryptography.HashAlgorithm.TransformFinalBlock/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/KeySizes.xml b/xml/System.Security.Cryptography/KeySizes.xml index 59dc9a1c4bb..06aa34a99ff 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/VB/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/VB/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/VB/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/VB/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/VB/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml b/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml index 9272d121ace..8c9443949e8 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/VS_Snippets_CLR/keyedhashalgorithm/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/Overview/VB/contosokeyedhash.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Security.Cryptography/MaskGenerationMethod.xml b/xml/System.Security.Cryptography/MaskGenerationMethod.xml index 6ddffd6e4ea..1bcb9cafcac 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/VB/maskgenerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/MemoryProtectionScope.xml b/xml/System.Security.Cryptography/MemoryProtectionScope.xml index a035bc233d9..24bdfdc39b3 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/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/memoryprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ProtectedData.xml b/xml/System.Security.Cryptography/ProtectedData.xml index 1bdd4f7bd6b..e158d271650 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/VS_Snippets_CLR/Cryptography.DataProtectionSample/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/VS_Snippets_CLR/Cryptography.DataProtectionSample/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/VS_Snippets_CLR/Cryptography.DataProtectionSample/dataprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ProtectedMemory.xml b/xml/System.Security.Cryptography/ProtectedMemory.xml index f1ec670c83b..8ce42119044 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/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/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/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/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/VS_Snippets_CLR/Cryptography.MemoryProtectionSample/memoryprotectionsample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml b/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml index 4425846e58a..fb6eb796e4b 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RIPEMD160.xml b/xml/System.Security.Cryptography/RIPEMD160.xml index 8a6ca9c6131..f9c36e0c54b 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/VS_Snippets_CLR/RIPEMD160/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/VS_Snippets_CLR/RIPEMD160/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/VS_Snippets_CLR/RIPEMD160/ripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RIPEMD160Managed.xml b/xml/System.Security.Cryptography/RIPEMD160Managed.xml index da39e9b8b9d..deebb530c78 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/VS_Snippets_CLR/RIPEMD160/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/VS_Snippets_CLR/RIPEMD160/ripemd160.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml b/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml index bed7b7993a9..aba0f0e3bd8 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/VB/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.ExportParameters/VB/sample.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/VB/sample.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/VB/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.ExportParameters/VB/sample.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/Overview.ImportParameters/VB/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml index 4c15b11062e..6cc4b252f7f 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/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/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/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/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/Overview/VB/rsaencoder.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml index be3d9c73af7..202c62d0a8c 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/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/rsaencoder.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml index 493717644f7..b8060c17c82 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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml index 91531e2dbe0..bef62e4cf4e 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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml index 0243172c2c5..1ff789abe2d 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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml index c2c65ac21c9..d54ebae3d5e 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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/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/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml b/xml/System.Security.Cryptography/Rfc2898DeriveBytes.xml index 4b4c7fe5db2..a28747370f5 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/VS_Snippets_CLR/rfc28981/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/VS_Snippets_CLR/rfc28981/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/VS_Snippets_CLR/rfc28981/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/VS_Snippets_CLR/rfc28981/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/VS_Snippets_CLR/rfc28981/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/VS_Snippets_CLR/rfc28981/rfc28981.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/SymmetricAlgorithm.xml b/xml/System.Security.Cryptography/SymmetricAlgorithm.xml index 8e68834d66d..859c2fb0316 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/Overview/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/Overview.blocksize/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/Overview.blocksize/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ToBase64Transform.xml b/xml/System.Security.Cryptography/ToBase64Transform.xml index d5f4e1d9c3b..06a0b87da0f 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml b/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml index b84872b6d12..29ec10570ac 100644 --- a/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml +++ b/xml/System.Security.Permissions/CodeAccessSecurityAttribute.xml @@ -108,7 +108,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/CPP/nameidpermissionattribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/nameidpermissionattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.CodeAccessSecurityAttribute/VB/nameidpermissionattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/CodeAccessSecurityAttribute/Overview/VB/nameidpermissionattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Permissions/EnvironmentPermission.xml b/xml/System.Security.Permissions/EnvironmentPermission.xml index 560384ba547..57b6b79c2d2 100644 --- a/xml/System.Security.Permissions/EnvironmentPermission.xml +++ b/xml/System.Security.Permissions/EnvironmentPermission.xml @@ -230,7 +230,7 @@ The following code example shows the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/EnvironmentPermission/AddPathList/environmentpermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.EnvironmentPermission/VB/environmentpermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/EnvironmentPermission/Overview/VB/environmentpermission.vb" id="Snippet7"::: ]]> @@ -382,7 +382,7 @@ The following code example shows 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.Security.Permissions/EnvironmentPermission/AddPathList/environmentpermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.EnvironmentPermission/VB/environmentpermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/EnvironmentPermission/Overview/VB/environmentpermission.vb" id="Snippet7"::: ]]> @@ -603,7 +603,7 @@ The following code example shows 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.Security.Permissions/EnvironmentPermission/AddPathList/environmentpermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.EnvironmentPermission/VB/environmentpermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/EnvironmentPermission/Overview/VB/environmentpermission.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security.Permissions/FileIOPermission.xml b/xml/System.Security.Permissions/FileIOPermission.xml index 55763d523bb..7b1c26a8d9c 100644 --- a/xml/System.Security.Permissions/FileIOPermission.xml +++ b/xml/System.Security.Permissions/FileIOPermission.xml @@ -936,7 +936,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/fileiopermission.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermission/GetPathList/fileiopermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/fileiopermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/fileiopermission.vb" id="Snippet7"::: ]]> @@ -1145,13 +1145,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermission/GetPathList/remarks.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/remarks.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/remarks.vb" id="Snippet12"::: This access will not be overwritten by the following code because the access types are not the same. :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermission/GetPathList/remarks.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/remarks.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/remarks.vb" id="Snippet13"::: @@ -1160,7 +1160,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/fileiopermission.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermission/GetPathList/fileiopermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/fileiopermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/fileiopermission.vb" id="Snippet7"::: ]]> @@ -1222,7 +1222,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/CPP/remarks.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermission/GetPathList/remarks.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermission/VB/remarks.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/Overview/VB/remarks.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Security.Permissions/FileIOPermissionAttribute.xml b/xml/System.Security.Permissions/FileIOPermissionAttribute.xml index 5c90868ecf0..3e210953073 100644 --- a/xml/System.Security.Permissions/FileIOPermissionAttribute.xml +++ b/xml/System.Security.Permissions/FileIOPermissionAttribute.xml @@ -128,7 +128,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet1"::: ]]> @@ -190,7 +190,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet6"::: ]]> @@ -328,7 +328,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet4"::: ]]> @@ -474,7 +474,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet3"::: ]]> @@ -525,7 +525,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet2"::: ]]> @@ -665,7 +665,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/CPP/fileiopermissionattribute.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/FileIOPermissionAttribute/.ctor/fileiopermissionattribute.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.FileIOPermissionAttribute/VB/fileiopermissionattribute.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/FileIOPermission/OverviewAttribute/VB/fileiopermissionattribute.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Permissions/GacIdentityPermission.xml b/xml/System.Security.Permissions/GacIdentityPermission.xml index b18d5f2be6d..e82cb69ac56 100644 --- a/xml/System.Security.Permissions/GacIdentityPermission.xml +++ b/xml/System.Security.Permissions/GacIdentityPermission.xml @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/CPP/gacidentitypermission.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/GacIdentityPermission/.ctor/gacidentitypermission.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/VB/gacidentitypermission.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/Overview/VB/gacidentitypermission.vb" id="Snippet9"::: ]]> @@ -167,7 +167,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/CPP/gacidentitypermission.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/GacIdentityPermission/.ctor/gacidentitypermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/VB/gacidentitypermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/Overview/VB/gacidentitypermission.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml b/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml index 87a0a1ab7f7..9c1f876cd16 100644 --- a/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml +++ b/xml/System.Security.Permissions/GacIdentityPermissionAttribute.xml @@ -76,7 +76,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/CPP/gacidentitypermissionattribute.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/GacIdentityPermissionAttribute/Overview/gacidentitypermissionattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/VB/gacidentitypermissionattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/OverviewAttribute/VB/gacidentitypermissionattribute.vb" id="Snippet1"::: ]]> @@ -130,7 +130,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/CPP/gacidentitypermissionattribute.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/GacIdentityPermissionAttribute/Overview/gacidentitypermissionattribute.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermissionAttribute/VB/gacidentitypermissionattribute.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/GacIdentityPermission/OverviewAttribute/VB/gacidentitypermissionattribute.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Permissions/IUnrestrictedPermission.xml b/xml/System.Security.Permissions/IUnrestrictedPermission.xml index f9a0001770d..41aafe57011 100644 --- a/xml/System.Security.Permissions/IUnrestrictedPermission.xml +++ b/xml/System.Security.Permissions/IUnrestrictedPermission.xml @@ -59,7 +59,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet1"::: :::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/VS_Snippets_CLR/Permission/permission.vb" id="Snippet1"::: ]]> @@ -107,7 +107,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Security.Permissions/KeyContainerPermission.xml b/xml/System.Security.Permissions/KeyContainerPermission.xml index 3593d20dac8..e79fd43c375 100644 --- a/xml/System.Security.Permissions/KeyContainerPermission.xml +++ b/xml/System.Security.Permissions/KeyContainerPermission.xml @@ -115,7 +115,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet20"::: ]]> @@ -207,7 +207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Security.Permissions/KeyContainerPermissionAccessEntry.xml b/xml/System.Security.Permissions/KeyContainerPermissionAccessEntry.xml index 41f09f48825..b66cbff8ce9 100644 --- a/xml/System.Security.Permissions/KeyContainerPermissionAccessEntry.xml +++ b/xml/System.Security.Permissions/KeyContainerPermissionAccessEntry.xml @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet3"::: ]]> @@ -169,7 +169,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet2"::: ]]> @@ -230,7 +230,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Permissions/KeyContainerPermissionFlags.xml b/xml/System.Security.Permissions/KeyContainerPermissionFlags.xml index b892ea639fa..84a338c49b8 100644 --- a/xml/System.Security.Permissions/KeyContainerPermissionFlags.xml +++ b/xml/System.Security.Permissions/KeyContainerPermissionFlags.xml @@ -70,7 +70,7 @@ The following example shows the use of the `KeyContainerPermissionFlags` enumera :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/CPP/keycontainerpermission.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/KeyContainerPermission/.ctor/keycontainerpermission.cs" id="Snippet20"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.KeyContainerPermission/VB/Form1.vb" id="Snippet20"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/KeyContainerPermission/Overview/VB/Form1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Security.Permissions/PermissionSetAttribute.xml b/xml/System.Security.Permissions/PermissionSetAttribute.xml index e543f2a0c28..8fd713cf5f7 100644 --- a/xml/System.Security.Permissions/PermissionSetAttribute.xml +++ b/xml/System.Security.Permissions/PermissionSetAttribute.xml @@ -69,7 +69,7 @@ The following example shows the use of the Class. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/PermissionSetAttribute/Overview/permissionsetattribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PermissionSetAttribute/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PermissionSetAttribute/Overview/VB/Form1.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ The following code shows 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.Permissions/PermissionSetAttribute/Overview/permissionsetattribute.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PermissionSetAttribute/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PermissionSetAttribute/Overview/VB/Form1.vb" id="Snippet2"::: ]]> @@ -335,7 +335,7 @@ The following code shows 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.Permissions/PermissionSetAttribute/Overview/permissionsetattribute.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PermissionSetAttribute/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PermissionSetAttribute/Overview/VB/Form1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Permissions/PrincipalPermission.xml b/xml/System.Security.Permissions/PrincipalPermission.xml index 3ba94bcf604..4371a655fb7 100644 --- a/xml/System.Security.Permissions/PrincipalPermission.xml +++ b/xml/System.Security.Permissions/PrincipalPermission.xml @@ -560,13 +560,13 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.security.permissions.principalpermission/cpp/remarks.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/PrincipalPermission/Intersect/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.permissions.principalpermission/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PrincipalPermission/Overview/remarks.vb" id="Snippet1"::: is equivalent to :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.security.permissions.principalpermission/cpp/remarks.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/PrincipalPermission/Intersect/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.permissions.principalpermission/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PrincipalPermission/Overview/remarks.vb" id="Snippet2"::: because no identity can simultaneously represent both Bob and Louise. In effect, `pp1.Demand()` only succeeds if an unauthenticated principal (with name equal to the empty string ("")) is allowed to act in the Administrator role. @@ -806,7 +806,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.security.permissions.principalpermission/cpp/remarks.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/PrincipalPermission/Intersect/remarks.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.permissions.principalpermission/vb/remarks.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PrincipalPermission/Overview/remarks.vb" id="Snippet3"::: `(ppBob.Union(ppLouise)).Demand()` will succeed if the current principal represents Bob in the role of Administrator or Louise in the role of Administrator. diff --git a/xml/System.Security.Permissions/PublisherIdentityPermission.xml b/xml/System.Security.Permissions/PublisherIdentityPermission.xml index 74a6d36c336..2ae63537b32 100644 --- a/xml/System.Security.Permissions/PublisherIdentityPermission.xml +++ b/xml/System.Security.Permissions/PublisherIdentityPermission.xml @@ -176,7 +176,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.PublisherIdentityPermission/CPP/publisheridentitypermission.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/PublisherIdentityPermission/.ctor/publisheridentitypermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.PublisherIdentityPermission/VB/publisheridentitypermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/PublisherIdentityPermission/Overview/VB/publisheridentitypermission.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security.Permissions/ReflectionPermission.xml b/xml/System.Security.Permissions/ReflectionPermission.xml index 21c0b1dcd94..2c67d87ff7e 100644 --- a/xml/System.Security.Permissions/ReflectionPermission.xml +++ b/xml/System.Security.Permissions/ReflectionPermission.xml @@ -130,7 +130,7 @@ The following code example shows the use of the constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet7"::: ]]> @@ -176,7 +176,7 @@ The following code example shows the use of the constructor. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet8"::: ]]> @@ -231,7 +231,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet5"::: ]]> @@ -276,7 +276,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.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet2"::: ]]> @@ -328,7 +328,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet6"::: ]]> @@ -391,7 +391,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet4"::: ]]> @@ -450,7 +450,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet2"::: ]]> @@ -547,7 +547,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet6"::: ]]> @@ -604,7 +604,7 @@ > The code example is intended to show the behavior of the method, not to demonstrate its use. In general, the methods of permission classes are used by the security infrastructure; they are not typically used in applications. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Permissions/ReflectionPermissionFlag.xml b/xml/System.Security.Permissions/ReflectionPermissionFlag.xml index ff8d809c7b8..c7dfa8f92e2 100644 --- a/xml/System.Security.Permissions/ReflectionPermissionFlag.xml +++ b/xml/System.Security.Permissions/ReflectionPermissionFlag.xml @@ -72,7 +72,7 @@ For an example that shows how to use the RestrictedMemberAccess flag with Internet code, see [Walkthrough: Emitting Code in Partial Trust Scenarios](/dotnet/framework/reflection-and-codedom/walkthrough-emitting-code-in-partial-trust-scenarios). :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ReflectionPermission/.ctor/reflectionpermission.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ReflectionPermission/VB/reflectionpermission.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ReflectionPermission/Overview/VB/reflectionpermission.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Security.Permissions/RegistryPermission.xml b/xml/System.Security.Permissions/RegistryPermission.xml index e2e4a245e10..1cb19259c15 100644 --- a/xml/System.Security.Permissions/RegistryPermission.xml +++ b/xml/System.Security.Permissions/RegistryPermission.xml @@ -128,7 +128,7 @@ The following code example shows the use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/RegistryPermission/.ctor/registrypermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb" id="Snippet7"::: ]]> @@ -187,7 +187,7 @@ The following code example shows the use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/RegistryPermission/.ctor/registrypermission.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb" id="Snippet10"::: ]]> @@ -332,7 +332,7 @@ The following code example shows the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/RegistryPermission/.ctor/registrypermission.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb" id="Snippet9"::: ]]> @@ -571,7 +571,7 @@ The following code example shows the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/RegistryPermission/.ctor/registrypermission.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb" id="Snippet9"::: ]]> @@ -792,7 +792,7 @@ The following code example shows the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/RegistryPermission/.ctor/registrypermission.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.RegistryPermission/VB/registrypermission.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/RegistryPermission/Overview/VB/registrypermission.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Permissions/StrongNameIdentityPermission.xml b/xml/System.Security.Permissions/StrongNameIdentityPermission.xml index c2b05faf7e3..ab5fff19e02 100644 --- a/xml/System.Security.Permissions/StrongNameIdentityPermission.xml +++ b/xml/System.Security.Permissions/StrongNameIdentityPermission.xml @@ -144,7 +144,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet7"::: ]]> @@ -202,7 +202,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet8"::: ]]> @@ -259,7 +259,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet5"::: ]]> @@ -316,7 +316,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet6"::: ]]> @@ -382,7 +382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet4"::: ]]> @@ -442,7 +442,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet2"::: ]]> @@ -579,7 +579,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet6"::: ]]> @@ -639,7 +639,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/CPP/strongnameidentity.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/StrongNameIdentityPermission/.ctor/strongnameidentity.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.StrongNameIdentityPermission/VB/strongnameidentity.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/StrongNameIdentityPermission/Overview/VB/strongnameidentity.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Permissions/UIPermission.xml b/xml/System.Security.Permissions/UIPermission.xml index 9cf467dbea1..ab126a201a0 100644 --- a/xml/System.Security.Permissions/UIPermission.xml +++ b/xml/System.Security.Permissions/UIPermission.xml @@ -127,7 +127,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet7"::: ]]> @@ -179,7 +179,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet9"::: ]]> @@ -231,7 +231,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet8"::: ]]> @@ -280,7 +280,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet10"::: ]]> @@ -375,7 +375,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet5"::: ]]> @@ -427,7 +427,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet6"::: ]]> @@ -491,7 +491,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet4"::: ]]> @@ -551,7 +551,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet2"::: ]]> @@ -649,7 +649,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet6"::: ]]> @@ -707,7 +707,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet3"::: ]]> @@ -754,7 +754,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/CPP/uipermission.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UIPermission/.ctor/uipermission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UIPermission/VB/uipermission.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UIPermission/Overview/VB/uipermission.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Permissions/UrlIdentityPermission.xml b/xml/System.Security.Permissions/UrlIdentityPermission.xml index 4967b7d9468..d5b121437df 100644 --- a/xml/System.Security.Permissions/UrlIdentityPermission.xml +++ b/xml/System.Security.Permissions/UrlIdentityPermission.xml @@ -137,7 +137,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/CPP/urlidentity.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UrlIdentityPermission/.ctor/urlidentity.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/VB/urlidentity.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UrlIdentityPermission/Overview/VB/urlidentity.vb" id="Snippet7"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/CPP/urlidentity.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/UrlIdentityPermission/.ctor/urlidentity.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.UrlIdentityPermission/VB/urlidentity.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/UrlIdentityPermission/Overview/VB/urlidentity.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Security.Permissions/ZoneIdentityPermission.xml b/xml/System.Security.Permissions/ZoneIdentityPermission.xml index 30eda55bdc1..1dfec7388e6 100644 --- a/xml/System.Security.Permissions/ZoneIdentityPermission.xml +++ b/xml/System.Security.Permissions/ZoneIdentityPermission.xml @@ -136,7 +136,7 @@ The following example shows the use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ZoneIdentityPermission/.ctor/zoneidentity.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ZoneIdentityPermission/VB/zoneidentity.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ZoneIdentityPermission/Overview/VB/zoneidentity.vb" id="Snippet7"::: ]]> @@ -182,7 +182,7 @@ The following example shows the use of the constructor. :::code language="csharp" source="~/snippets/csharp/System.Security.Permissions/ZoneIdentityPermission/.ctor/zoneidentity.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Permissions.ZoneIdentityPermission/VB/zoneidentity.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Permissions/ZoneIdentityPermission/Overview/VB/zoneidentity.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Security.Policy/Evidence.xml b/xml/System.Security.Policy/Evidence.xml index 9421a8d5b55..eca85c2180b 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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/evidence_evidence.vb" id="Snippet10"::: ]]> @@ -1584,7 +1584,7 @@ The results of executing the diff --git a/xml/System.Security.Policy/IApplicationTrustManager.xml b/xml/System.Security.Policy/IApplicationTrustManager.xml index 5e620964532..ce6dd0bddb6 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/VB/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/VB/customtrustmanager.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Policy/PolicyLevel.xml b/xml/System.Security.Policy/PolicyLevel.xml index a61b1af47d7..e2804cd8ca2 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/Overview/VB/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/Overview/VB/policylevel.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Security.Principal/WindowsBuiltInRole.xml b/xml/System.Security.Principal/WindowsBuiltInRole.xml index 27f8636441d..7a7f935803d 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Principal/WindowsIdentity.xml b/xml/System.Security.Principal/WindowsIdentity.xml index a9dd49ec001..4c9646c7cf7 100644 --- a/xml/System.Security.Principal/WindowsIdentity.xml +++ b/xml/System.Security.Principal/WindowsIdentity.xml @@ -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/VS_Snippets_CLR/windowsidentity impersonation2/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Principal/WindowsPrincipal.xml b/xml/System.Security.Principal/WindowsPrincipal.xml index cef2fbbec79..efd5054981e 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/VB/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/VB/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/VB/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/VB/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/VB/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml index a64fc4851ac..1d9114e0298 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/VB/allowpartiallytrustedcallersattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security/HostSecurityManager.xml b/xml/System.Security/HostSecurityManager.xml index b835bda4944..c810bdb1e2f 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/VB/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/VB/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/VB/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/VB/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/VB/customsecuritymanager.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security/IPermission.xml b/xml/System.Security/IPermission.xml index 9a44cb3a273..93741f6e087 100644 --- a/xml/System.Security/IPermission.xml +++ b/xml/System.Security/IPermission.xml @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet1"::: :::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/VS_Snippets_CLR/Permission/permission.vb" id="Snippet1"::: ]]> @@ -181,7 +181,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb" id="Snippet4"::: ]]> @@ -323,7 +323,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb" id="Snippet2"::: ]]> @@ -407,7 +407,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb" id="Snippet3"::: ]]> @@ -488,7 +488,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR/Permission/cpp/Permission.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security/IPermission/Overview/Permission.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/vb/permission.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR/Permission/permission.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security/ISecurityEncodable.xml b/xml/System.Security/ISecurityEncodable.xml index ecf245df660..ef570d3161e 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/VS_Snippets_CLR/Permission/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/VS_Snippets_CLR/Permission/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/VS_Snippets_CLR/Permission/permission.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security/PermissionSet.xml b/xml/System.Security/PermissionSet.xml index a027519be83..41b7d0d0f4d 100644 --- a/xml/System.Security/PermissionSet.xml +++ b/xml/System.Security/PermissionSet.xml @@ -113,7 +113,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet2"::: ]]> @@ -323,7 +323,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet3"::: ]]> @@ -529,7 +529,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet9"::: ]]> @@ -668,7 +668,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet20"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet20"::: ]]> @@ -800,7 +800,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet5"::: ]]> @@ -879,7 +879,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet4"::: ]]> @@ -1098,7 +1098,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet17"::: ]]> @@ -1174,7 +1174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet18"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet18"::: ]]> @@ -1500,7 +1500,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet12"::: ]]> @@ -1632,7 +1632,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet7"::: ]]> @@ -1713,7 +1713,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet11"::: ]]> @@ -1782,7 +1782,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet6"::: ]]> @@ -1853,7 +1853,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet19"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet19"::: ]]> @@ -2005,7 +2005,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet15"::: ]]> @@ -2205,7 +2205,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet16"::: ]]> @@ -2342,7 +2342,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet8"::: ]]> @@ -2468,7 +2468,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet10"::: ]]> @@ -2532,7 +2532,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet17"::: ]]> @@ -2612,7 +2612,7 @@ myPermSet.RemovePermission(typeof(FileIOPermission)); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.PermissionSet/CPP/permissionset.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security/PermissionSet/Overview/permissionset.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.PermissionSet/VB/permissionset.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/PermissionSet/Overview/VB/permissionset.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Security/SecureString.xml b/xml/System.Security/SecureString.xml index 863bda55620..3be0dc52b86 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/Ctor/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/Ctor/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/Ctor/Ctor3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security/SecurityContext.xml b/xml/System.Security/SecurityContext.xml index 84f0bc50f81..84d376bc493 100644 --- a/xml/System.Security/SecurityContext.xml +++ b/xml/System.Security/SecurityContext.xml @@ -417,7 +417,7 @@ The following code example shows how to use the method to execute a method in a specified security context. :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityContext/Run/form1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityContext.Run/VB/form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityContext/Run/VB/form1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security/SecurityElement.xml b/xml/System.Security/SecurityElement.xml index a5b000c529d..68a59b5a3f3 100644 --- a/xml/System.Security/SecurityElement.xml +++ b/xml/System.Security/SecurityElement.xml @@ -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/Overview/remarks.vb" id="Snippet1"::: With XML as follows, `SearchForTextOfTag("second")` would return "text2". diff --git a/xml/System.Security/SecurityException.xml b/xml/System.Security/SecurityException.xml index 85a33c4aff3..14a132d5220 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/VS_Snippets_CLR_System/system.securityexception.class/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/Overview/VB/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/Overview/VB/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/Overview/VB/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/Overview/VB/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsAttribute.xml b/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsAttribute.xml index e8cd760f0e9..7e5ff776235 100644 --- a/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsAttribute.xml +++ b/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsAttribute.xml @@ -58,10 +58,10 @@ Service developers can ensure that their service is only run in ASP.NET Compatibility Mode by setting the property on the to as shown in the following example :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_aspnetcompatibility/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_aspnetcompatibility/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb" id="Snippet2"::: ]]> @@ -128,7 +128,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_aspnetcompatibility/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsMode.xml b/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsMode.xml index 280c7d34cbe..434102f644b 100644 --- a/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsMode.xml +++ b/xml/System.ServiceModel.Activation/AspNetCompatibilityRequirementsMode.xml @@ -28,10 +28,10 @@ ASP.NET compatibility mode allows WCF services to use ASP features such as ident Service developers can ensure that their service is only run in ASP.NET Compatibility Mode by setting the property to `Required`, as shown in the following example: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_aspnetcompatibility/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_aspnetcompatibility/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_aspnetcompatibility/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Activation/ServiceHostFactory.xml b/xml/System.ServiceModel.Activation/ServiceHostFactory.xml index a1deed43af2..9a274376b18 100644 --- a/xml/System.ServiceModel.Activation/ServiceHostFactory.xml +++ b/xml/System.ServiceModel.Activation/ServiceHostFactory.xml @@ -44,7 +44,7 @@ This examples show how to use the class: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicehostfactory/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/program.vb" id="Snippet0"::: ]]> @@ -75,7 +75,7 @@ This examples show how to use the : :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicehostfactory/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/program.vb" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ This example shows how to use the method: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicehostfactory/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicehostfactory/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Channels/AddressHeader.xml b/xml/System.ServiceModel.Channels/AddressHeader.xml index 8fa96508218..56b448a3a73 100644 --- a/xml/System.ServiceModel.Channels/AddressHeader.xml +++ b/xml/System.ServiceModel.Channels/AddressHeader.xml @@ -57,8 +57,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet0"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet0"::: ]]> @@ -164,8 +164,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet3"::: ]]> @@ -212,8 +212,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet4"::: ]]> @@ -267,8 +267,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet5"::: ]]> @@ -324,8 +324,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet6"::: ]]> @@ -550,8 +550,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet10"::: ]]> @@ -655,8 +655,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet1"::: ]]> @@ -701,8 +701,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/page.xaml.cs" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sl_addressheader/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/page.xaml.vb" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/page.xaml.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sl_addressheader/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Channels/AsymmetricSecurityBindingElement.xml b/xml/System.ServiceModel.Channels/AsymmetricSecurityBindingElement.xml index fde056ac946..e9d0f581cf6 100644 --- a/xml/System.ServiceModel.Channels/AsymmetricSecurityBindingElement.xml +++ b/xml/System.ServiceModel.Channels/AsymmetricSecurityBindingElement.xml @@ -49,7 +49,7 @@ The following example shows how to use this class to create a custom binding that includes this class as a security binding element. For more information about the code in this example, see [How to: Consistently Reference X.509 Certificates](/dotnet/framework/wcf/feature-details/how-to-consistently-reference-x-509-certificates). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet1"::: ]]> @@ -193,7 +193,7 @@ The following code shows one way to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet2"::: ]]> @@ -418,7 +418,7 @@ The following code shows an example of referencing this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet4"::: ]]> @@ -505,7 +505,7 @@ The following code shows an example of referencing this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet5"::: ]]> @@ -586,7 +586,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Channels/BinaryMessageEncodingBindingElement.xml b/xml/System.ServiceModel.Channels/BinaryMessageEncodingBindingElement.xml index 95f3d540b5e..3715117a76c 100644 --- a/xml/System.ServiceModel.Channels/BinaryMessageEncodingBindingElement.xml +++ b/xml/System.ServiceModel.Channels/BinaryMessageEncodingBindingElement.xml @@ -74,7 +74,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet0"::: ]]> @@ -112,7 +112,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet7"::: ]]> @@ -208,7 +208,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet8"::: ]]> @@ -255,7 +255,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet9"::: ]]> @@ -305,7 +305,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet10"::: ]]> @@ -392,7 +392,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet11"::: ]]> @@ -451,7 +451,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet12"::: ]]> @@ -505,7 +505,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet2"::: ]]> @@ -563,7 +563,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet3"::: ]]> @@ -618,7 +618,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet4"::: ]]> @@ -672,7 +672,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet5"::: ]]> @@ -741,7 +741,7 @@ This property has a public setter since .NET Framework 4.0. ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_binarymessageencodingbindingelement/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel.Channels/Binding.xml b/xml/System.ServiceModel.Channels/Binding.xml index 8e5f5d2bf4d..4801f7947ad 100644 --- a/xml/System.ServiceModel.Channels/Binding.xml +++ b/xml/System.ServiceModel.Channels/Binding.xml @@ -139,7 +139,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebinding/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebinding/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebinding/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Channels/BindingContext.xml b/xml/System.ServiceModel.Channels/BindingContext.xml index 3e22e1da64e..b8be93e15c7 100644 --- a/xml/System.ServiceModel.Channels/BindingContext.xml +++ b/xml/System.ServiceModel.Channels/BindingContext.xml @@ -107,7 +107,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet1"::: ]]> @@ -150,7 +150,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet2"::: ]]> @@ -201,7 +201,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet3"::: ]]> @@ -254,7 +254,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet4"::: ]]> @@ -301,7 +301,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet9"::: ]]> @@ -344,7 +344,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet10"::: ]]> @@ -392,7 +392,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet11"::: ]]> @@ -436,7 +436,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet12"::: ]]> @@ -484,7 +484,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet13"::: ]]> @@ -540,7 +540,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet14"::: ]]> @@ -593,7 +593,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet5"::: ]]> @@ -641,7 +641,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet6"::: ]]> @@ -694,7 +694,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet7"::: ]]> @@ -747,7 +747,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_bindingcontext/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_bindingcontext/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel.Channels/BindingElement.xml b/xml/System.ServiceModel.Channels/BindingElement.xml index 22884955dd7..e85e6cf98fb 100644 --- a/xml/System.ServiceModel.Channels/BindingElement.xml +++ b/xml/System.ServiceModel.Channels/BindingElement.xml @@ -67,7 +67,7 @@ The following example shows how to add a transport binding element to a custom binding and then build a channel listener that can accept incoming messages. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uechannels/cs/servicesnippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uechannels/vb/servicesnippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uechannels/servicesnippets.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Channels/BodyWriter.xml b/xml/System.ServiceModel.Channels/BodyWriter.xml index 4f6df54d083..0b9c4aff0ed 100644 --- a/xml/System.ServiceModel.Channels/BodyWriter.xml +++ b/xml/System.ServiceModel.Channels/BodyWriter.xml @@ -56,7 +56,7 @@ The following example shows how to derive a class from . This override takes in an array of strings and writes them to a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebodywriter/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/module1.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ The following sample shows how to create a buffered copy of an existing instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebodywriter/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/snippets.vb" id="Snippet2"::: ]]> @@ -438,7 +438,7 @@ The following example illustrates an override of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebodywriter/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/module1.vb" id="Snippet3"::: ]]> @@ -490,7 +490,7 @@ The following sample shows how to call the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebodywriter/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebodywriter/module1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Channels/CustomBinding.xml b/xml/System.ServiceModel.Channels/CustomBinding.xml index 3fb623c83fb..2136eacb27c 100644 --- a/xml/System.ServiceModel.Channels/CustomBinding.xml +++ b/xml/System.ServiceModel.Channels/CustomBinding.xml @@ -133,7 +133,7 @@ The following example shows how to create a object using a and an :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/service.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/servicesnippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/servicesnippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/servicesnippets.vb" id="Snippet4"::: ]]> @@ -311,7 +311,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/servicesnippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/servicesnippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/servicesnippets.vb" id="Snippet3"::: ]]> @@ -392,7 +392,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/servicesnippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/servicesnippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/servicesnippets.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel.Channels/DeliveryFailure.xml b/xml/System.ServiceModel.Channels/DeliveryFailure.xml index ac4f3357a72..7074d146080 100644 --- a/xml/System.ServiceModel.Channels/DeliveryFailure.xml +++ b/xml/System.ServiceModel.Channels/DeliveryFailure.xml @@ -27,7 +27,7 @@ The example below shows how to access the of a message within a service operation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_deadletter/cs/dlservice.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/vb/dlservice.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/dlservice.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Channels/DeliveryStatus.xml b/xml/System.ServiceModel.Channels/DeliveryStatus.xml index 38f6eb2e088..c72a8706a3a 100644 --- a/xml/System.ServiceModel.Channels/DeliveryStatus.xml +++ b/xml/System.ServiceModel.Channels/DeliveryStatus.xml @@ -27,7 +27,7 @@ The following example shows how to access the `DeliveryStatus` of a message within a service operation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_deadletter/cs/dlservice.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/vb/dlservice.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_deadletter/dlservice.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Channels/HttpRequestMessageProperty.xml b/xml/System.ServiceModel.Channels/HttpRequestMessageProperty.xml index fae99f52b77..24f397c9f9e 100644 --- a/xml/System.ServiceModel.Channels/HttpRequestMessageProperty.xml +++ b/xml/System.ServiceModel.Channels/HttpRequestMessageProperty.xml @@ -93,7 +93,7 @@ The following code shows how to set several of the properties in an instance of this class and incorporate the instance into a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_pox/cs/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb" id="Snippet3"::: ]]> @@ -144,7 +144,7 @@ The following code shows how to instantiate this class from a message without explicitly calling the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_pox/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb" id="Snippet0"::: ]]> @@ -193,7 +193,7 @@ The following code shows how to use this property to add custom headers to a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_pox/cs/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb" id="Snippet3"::: ]]> @@ -248,7 +248,7 @@ The following code gets an instance of this class from the message and then dispatches to different methods based on this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/poxsample/cs/server/messagebasedcustomerservice.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/poxsample/vb/server/messagebasedcustomerservice.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/poxsample/server/messagebasedcustomerservice.vb" id="Snippet0"::: ]]> @@ -391,7 +391,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_pox/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_pox/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Channels/HttpTransportBindingElement.xml b/xml/System.ServiceModel.Channels/HttpTransportBindingElement.xml index 904cb474390..6837f984c7c 100644 --- a/xml/System.ServiceModel.Channels/HttpTransportBindingElement.xml +++ b/xml/System.ServiceModel.Channels/HttpTransportBindingElement.xml @@ -74,7 +74,7 @@ The following code shows how to imperatively use the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/service.vb" id="Snippet1"::: `HttpTransportBindingElement` can also be used in a configuration file as shown in the following configuration. diff --git a/xml/System.ServiceModel.Channels/LocalClientSecuritySettings.xml b/xml/System.ServiceModel.Channels/LocalClientSecuritySettings.xml index 74140aa2036..f70b663a055 100644 --- a/xml/System.ServiceModel.Channels/LocalClientSecuritySettings.xml +++ b/xml/System.ServiceModel.Channels/LocalClientSecuritySettings.xml @@ -62,7 +62,7 @@ This example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet15"::: ]]> @@ -111,7 +111,7 @@ This example shows how to use the parameterless constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet1"::: ]]> @@ -165,7 +165,7 @@ This example shows how to set secure conversation cookies to be cached. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet2"::: ]]> @@ -218,7 +218,7 @@ This example shows how to create a copy from an existing instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet14"::: ]]> @@ -272,7 +272,7 @@ This example shows how to set the `CookieRenewalThresholdPercentage` member. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet3"::: ]]> @@ -333,7 +333,7 @@ This example shows how to enable replay detection on messages received from the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet4"::: ]]> @@ -391,7 +391,7 @@ This example shows how to return an instance of an implementation of the abstract class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet5"::: ]]> @@ -458,7 +458,7 @@ This example shows how to get the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet6"::: ]]> @@ -509,7 +509,7 @@ This example shows how to get the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet7"::: ]]> @@ -602,7 +602,7 @@ This example shows how to get a value that indicates whether security sessions attempt to reconnect after transport failures. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet8"::: ]]> @@ -658,7 +658,7 @@ This example shows how to get the number of cached nonces to use for replay detection. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet9"::: ]]> @@ -721,7 +721,7 @@ This example shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet10"::: ]]> @@ -790,7 +790,7 @@ This example shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet11"::: ]]> @@ -861,7 +861,7 @@ This example shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet12"::: ]]> @@ -920,7 +920,7 @@ This example shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalclientsecuritysettings/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/vb/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalclientsecuritysettings/program.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ServiceModel.Channels/LocalServiceSecuritySettings.xml b/xml/System.ServiceModel.Channels/LocalServiceSecuritySettings.xml index b871b2e950c..ba1ea86e8ca 100644 --- a/xml/System.ServiceModel.Channels/LocalServiceSecuritySettings.xml +++ b/xml/System.ServiceModel.Channels/LocalServiceSecuritySettings.xml @@ -28,7 +28,7 @@ This example shows how to use the class to change the setting. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet17"::: ]]> @@ -56,7 +56,7 @@ This example shows how to use the parameterless constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet1"::: ]]> @@ -89,7 +89,7 @@ This example shows how to create a new instance of this class from the current instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet16"::: ]]> @@ -132,7 +132,7 @@ This example shows how get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ This example shows how get the `InactivityTimeout` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet3"::: ]]> @@ -235,7 +235,7 @@ This example shows how to get the `IssuedCookieLifetime` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet4"::: ]]> @@ -274,7 +274,7 @@ This example shows how to get the `MaxCachedCookies` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet5"::: ]]> @@ -322,7 +322,7 @@ This example shows how to get the `MaxClockSkew` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet6"::: ]]> @@ -361,7 +361,7 @@ This example shows how to get the `MaxPendingSessions` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet7"::: ]]> @@ -405,7 +405,7 @@ This example shows how set the `MaxStatefulNegotiations` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet8"::: ]]> @@ -449,7 +449,7 @@ This example shows how to get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet9"::: ]]> @@ -519,7 +519,7 @@ This example shows how to get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet10"::: ]]> @@ -564,7 +564,7 @@ This example shows how to get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet11"::: ]]> @@ -609,7 +609,7 @@ This example shows how to get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet12"::: ]]> @@ -667,7 +667,7 @@ This example shows how get the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet13"::: ]]> @@ -727,7 +727,7 @@ This example shows how get the `SessionKeyRolloverInterval` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet14"::: ]]> @@ -766,7 +766,7 @@ This example shows how to get the `TimestampValidityDuration` value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uelocalservicesecuritysettings/cs/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/vb/program.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uelocalservicesecuritysettings/program.vb" id="Snippet15"::: ]]> diff --git a/xml/System.ServiceModel.Channels/Message.xml b/xml/System.ServiceModel.Channels/Message.xml index 0a0cca6eef0..5f14a781089 100644 --- a/xml/System.ServiceModel.Channels/Message.xml +++ b/xml/System.ServiceModel.Channels/Message.xml @@ -81,7 +81,7 @@ The following code example shows a client that uses the channel factory to send a message and read the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> @@ -245,7 +245,7 @@ The following code example shows how to create a message, send it to a service and receive a response message. The response message content is displayed and then the message is closed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> @@ -325,7 +325,7 @@ The following code example shows a client that uses the channel factory to send a message and read the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> @@ -994,7 +994,7 @@ The following code example shows a client that uses the channel factory to send a message and read the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> @@ -1256,7 +1256,7 @@ The following code example shows a client that uses the channel factory to send a message and read the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Channels/MessageFault.xml b/xml/System.ServiceModel.Channels/MessageFault.xml index 6c3f595b3e1..980cd01e764 100644 --- a/xml/System.ServiceModel.Channels/MessageFault.xml +++ b/xml/System.ServiceModel.Channels/MessageFault.xml @@ -60,7 +60,7 @@ In this example, the method converts all objects into a object that contains a object of type `GreetingFault` and returns that customized to WCF. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel.Channels/MessageHeaders.xml b/xml/System.ServiceModel.Channels/MessageHeaders.xml index 6fcdde3b583..c29bd0769a8 100644 --- a/xml/System.ServiceModel.Channels/MessageHeaders.xml +++ b/xml/System.ServiceModel.Channels/MessageHeaders.xml @@ -78,7 +78,7 @@ The following code example demonstrates a basic client using the channel factory to send a message and read the action header from the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> @@ -247,7 +247,7 @@ The following code example demonstrates a simple client using the channel factory to send a message and read the action header from the reply. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/message/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/message/client.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Channels/MessageVersion.xml b/xml/System.ServiceModel.Channels/MessageVersion.xml index 06ec39c10ae..51ac33b5d6e 100644 --- a/xml/System.ServiceModel.Channels/MessageVersion.xml +++ b/xml/System.ServiceModel.Channels/MessageVersion.xml @@ -118,7 +118,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet1"::: ]]> @@ -179,7 +179,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet11"::: ]]> @@ -235,7 +235,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet12"::: ]]> @@ -290,7 +290,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet0"::: ]]> @@ -343,7 +343,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet2"::: ]]> @@ -390,7 +390,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet13"::: ]]> @@ -433,7 +433,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet14"::: ]]> @@ -488,7 +488,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet4"::: ]]> @@ -536,7 +536,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet5"::: ]]> @@ -592,7 +592,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet6"::: ]]> @@ -648,7 +648,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet7"::: ]]> @@ -693,7 +693,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet8"::: ]]> @@ -752,7 +752,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet9"::: ]]> @@ -808,7 +808,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet10"::: ]]> @@ -851,7 +851,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_messageversion/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_messageversion/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Channels/NamedPipeTransportBindingElement.xml b/xml/System.ServiceModel.Channels/NamedPipeTransportBindingElement.xml index 3020086a782..2b6fa9c416b 100644 --- a/xml/System.ServiceModel.Channels/NamedPipeTransportBindingElement.xml +++ b/xml/System.ServiceModel.Channels/NamedPipeTransportBindingElement.xml @@ -53,7 +53,7 @@ This example shows how to use this class: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet0"::: ]]> @@ -94,7 +94,7 @@ This example shows how to use the parameterless constructor: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ This example shows how to initialize a new instance of the class: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet2"::: ]]> @@ -205,7 +205,7 @@ This example shows how to create a channel factory of the specified type that can be used to create channels: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet6"::: ]]> @@ -258,7 +258,7 @@ This example shows how to creates a channel listener of the specified type: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet7"::: ]]> @@ -298,7 +298,7 @@ This example shows how to create a copy of the current binding element: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet5"::: ]]> @@ -340,7 +340,7 @@ This example shows how to get a collection of connection pool settings: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet3"::: ]]> @@ -393,7 +393,7 @@ This example shows how to get a specified object from the : :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet8"::: ]]> @@ -455,7 +455,7 @@ This example shows how to get the URI scheme for the transport: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uenamedpipetransportbindingelement/module1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Channels/ReliableSessionBindingElement.xml b/xml/System.ServiceModel.Channels/ReliableSessionBindingElement.xml index b2cde27a420..5eaee63b89e 100644 --- a/xml/System.ServiceModel.Channels/ReliableSessionBindingElement.xml +++ b/xml/System.ServiceModel.Channels/ReliableSessionBindingElement.xml @@ -80,7 +80,7 @@ The following sample code demonstrates how to use in code. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_imperative/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_imperative/service.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Channels/SecurityBindingElement.xml b/xml/System.ServiceModel.Channels/SecurityBindingElement.xml index 594643f138a..ce73cb882ed 100644 --- a/xml/System.ServiceModel.Channels/SecurityBindingElement.xml +++ b/xml/System.ServiceModel.Channels/SecurityBindingElement.xml @@ -499,7 +499,7 @@ The following code shows how to call this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_custombindingsauthmode/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_custombindingsauthmode/source.vb" id="Snippet3"::: ]]> @@ -2333,7 +2333,7 @@ The following code shows how to access this property to set a property in another object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_maxclockskew/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_maxclockskew/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Description/ClientCredentials.xml b/xml/System.ServiceModel.Description/ClientCredentials.xml index 72282275fd5..b20f36b55aa 100644 --- a/xml/System.ServiceModel.Description/ClientCredentials.xml +++ b/xml/System.ServiceModel.Description/ClientCredentials.xml @@ -71,7 +71,7 @@ > It is important to note that the method is overridden to create a custom security token manager. The security token manager, derived from . must return a custom security token provider, derived from , to create the actual security token. If you do not follow this pattern for creating security tokens, your application will be at risk for security attacks, specifically elevation of privileges. This coding pattern ensures that the correct credentials are used when channel factories are cached. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customcredentials/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/vb/client/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/client/client.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ The following code shows how you can use this property to configure the X.509 certificate. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/program.vb" id="Snippet3"::: ]]> @@ -517,7 +517,7 @@ The following code shows how to get an instance of by means of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet9"::: ]]> @@ -886,7 +886,7 @@ The following code shows how to configure a credential. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/program.vb" id="Snippet4"::: ]]> @@ -937,7 +937,7 @@ The following code shows how to use the object returned by this property to configure the impersonation level. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueclientcredentials/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueclientcredentials/program.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel.Description/ContractDescription.xml b/xml/System.ServiceModel.Description/ContractDescription.xml index ce7a55cd1f5..38acfa6dcc7 100644 --- a/xml/System.ServiceModel.Description/ContractDescription.xml +++ b/xml/System.ServiceModel.Description/ContractDescription.xml @@ -74,7 +74,7 @@ The following example shows a number of ways to create or retrieve a object. It then displays the various pieces of information that are stored in the object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet0"::: ]]> @@ -132,7 +132,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet3"::: ]]> @@ -294,7 +294,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet4"::: ]]> @@ -350,7 +350,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet2"::: ]]> @@ -440,7 +440,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet6"::: ]]> @@ -506,7 +506,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet13"::: ]]> @@ -555,7 +555,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet14"::: ]]> @@ -604,7 +604,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet15"::: ]]> @@ -643,7 +643,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet16"::: ]]> @@ -693,7 +693,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet7"::: ]]> @@ -735,7 +735,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet8"::: ]]> @@ -788,7 +788,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet9"::: ]]> @@ -837,7 +837,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet10"::: ]]> @@ -886,7 +886,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet11"::: ]]> @@ -939,7 +939,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_contractdescription/cs/calculatorservice.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/vb/calculatorservice.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_contractdescription/calculatorservice.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ServiceModel.Description/DataContractSerializerOperationBehavior.xml b/xml/System.ServiceModel.Description/DataContractSerializerOperationBehavior.xml index 0eda59f555b..acdb26baa42 100644 --- a/xml/System.ServiceModel.Description/DataContractSerializerOperationBehavior.xml +++ b/xml/System.ServiceModel.Description/DataContractSerializerOperationBehavior.xml @@ -70,7 +70,7 @@ The following example finds the in the collection of behaviors for an operation and resets the and properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializeroperationbehavior/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Description/IContractBehavior.xml b/xml/System.ServiceModel.Description/IContractBehavior.xml index dacf000e73a..d4e9e14b4a2 100644 --- a/xml/System.ServiceModel.Description/IContractBehavior.xml +++ b/xml/System.ServiceModel.Description/IContractBehavior.xml @@ -102,7 +102,7 @@ To insert the instance provider customization, the example shows how to implement a custom attribute (`SingletonBehaviorAttribute`) that implements to insert the custom service instance provider. It also implements , which binds its use to the `ISampleService` contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> @@ -218,7 +218,7 @@ To insert the instance provider customization, the example shows how to implement a custom attribute (`SingletonBehaviorAttribute`) that implements to insert the custom service instance provider. It also implements , which binds its use to the `ISampleService` contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> @@ -284,7 +284,7 @@ To insert the instance provider customization, the example shows how to implement a custom attribute (`SingletonBehaviorAttribute`) that implements to insert the custom service instance provider. It also implements , which binds its use to the `ISampleService` contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Description/IContractBehaviorAttribute.xml b/xml/System.ServiceModel.Description/IContractBehaviorAttribute.xml index 3c2c0cd0941..dfd85afec2e 100644 --- a/xml/System.ServiceModel.Description/IContractBehaviorAttribute.xml +++ b/xml/System.ServiceModel.Description/IContractBehaviorAttribute.xml @@ -31,7 +31,7 @@ To insert the instance provider customization, the example shows how to implement a custom attribute (`SingletonBehaviorAttribute`) that implements to insert the custom service instance provider. It also implements , which binds its application to the `ISampleService` contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> @@ -70,7 +70,7 @@ To insert the instance provider customization, the example shows how to implement a custom attribute (`SingletonBehaviorAttribute`) that implements to insert the custom service instance provider. It also implements , which binds its application to the `ISampleService` contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Description/IOperationBehavior.xml b/xml/System.ServiceModel.Description/IOperationBehavior.xml index 9128ce8f78d..34677b193e3 100644 --- a/xml/System.ServiceModel.Description/IOperationBehavior.xml +++ b/xml/System.ServiceModel.Description/IOperationBehavior.xml @@ -83,12 +83,12 @@ The following code example shows an implementation of that writes to the console when the inspector is invoked on an operation. This customization can only be attached to the or and is therefore usually inserted by an operation behavior. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how the operation behavior attaches the parameter inspector to the runtime. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet6"::: ]]> @@ -190,12 +190,12 @@ The following code example shows an implementation of that writes to the console when the inspector is invoked on an operation. This customization can only be attached to the or and is therefore usually inserted by an operation behavior. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how the operation behavior attaches the parameter inspector to the runtime. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet6"::: ]]> @@ -251,12 +251,12 @@ The following code example shows an implementation of that writes to the console when the inspector is invoked on an operation. This customization can only be attached to the or and is therefore usually inserted by an operation behavior. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how the operation behavior attaches the parameter inspector to the runtime. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel.Description/IPolicyExportExtension.xml b/xml/System.ServiceModel.Description/IPolicyExportExtension.xml index 2cab529da80..e33b78ce48a 100644 --- a/xml/System.ServiceModel.Description/IPolicyExportExtension.xml +++ b/xml/System.ServiceModel.Description/IPolicyExportExtension.xml @@ -36,12 +36,12 @@ The following code example shows the implementation of on a . In this example, a custom binding element is attached to the WSDL file at the binding level. [!code-csharp[CustomPolicySample#14](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyexporter.cs#14)] - [!code-vb[CustomPolicySample#14](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb#14)] + [!code-vb[CustomPolicySample#14](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb#14)] The following code example shows a implementation that enables the preceding policy exporter to be loaded from an application configuration file. [!code-csharp[CustomPolicySample#15](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyexporter.cs#15)] - [!code-vb[CustomPolicySample#15](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb#15)] + [!code-vb[CustomPolicySample#15](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb#15)] The following example shows the host configuration file that loads the custom policy exporter. @@ -91,12 +91,12 @@ The following code example shows the implementation of on a . In this example, a custom binding element is attached to the WSDL file at the binding level. [!code-csharp[CustomPolicySample#14](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyexporter.cs#14)] - [!code-vb[CustomPolicySample#14](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb#14)] + [!code-vb[CustomPolicySample#14](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb#14)] The following code example shows a implementation that enables the preceding policy exporter to be loaded from an application configuration file. [!code-csharp[CustomPolicySample#15](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyexporter.cs#15)] - [!code-vb[CustomPolicySample#15](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyexporter.vb#15)] + [!code-vb[CustomPolicySample#15](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyexporter.vb#15)] The following example shows the host configuration file that loads the custom policy exporter. diff --git a/xml/System.ServiceModel.Description/IPolicyImportExtension.xml b/xml/System.ServiceModel.Description/IPolicyImportExtension.xml index 0b7796accb6..86c2ba94414 100644 --- a/xml/System.ServiceModel.Description/IPolicyImportExtension.xml +++ b/xml/System.ServiceModel.Description/IPolicyImportExtension.xml @@ -50,7 +50,7 @@ The following code example shows the use of the method to locate, return, and remove the assertion in one step. [!code-csharp[CustomPolicySample#1](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyimporter.cs#1)] - [!code-vb[CustomPolicySample#1](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyimporter.vb#1)] + [!code-vb[CustomPolicySample#1](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyimporter.vb#1)] The following code example shows the client application configuration file to load the custom policy importer when the is invoked. @@ -59,7 +59,7 @@ The following code example shows the use of the to download and resolve metadata into description objects. [!code-csharp[CustomPolicySample#10](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/client.cs#10)] - [!code-vb[CustomPolicySample#10](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/client.vb#10)] + [!code-vb[CustomPolicySample#10](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/client.vb#10)] ]]> @@ -113,7 +113,7 @@ The following code example shows the use of the method to locate, return, and remove the assertion in one step. [!code-csharp[CustomPolicySample#1](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/policyimporter.cs#1)] - [!code-vb[CustomPolicySample#1](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/policyimporter.vb#1)] + [!code-vb[CustomPolicySample#1](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/policyimporter.vb#1)] The following code example shows the client application configuration file to load the custom policy importer when the is invoked. @@ -122,7 +122,7 @@ The following code example shows the use of the to download and resolve metadata into description objects. [!code-csharp[CustomPolicySample#10](~/snippets/csharp/VS_Snippets_CFX/custompolicysample/cs/client.cs#10)] - [!code-vb[CustomPolicySample#10](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/vb/client.vb#10)] + [!code-vb[CustomPolicySample#10](~/snippets/visualbasic/VS_Snippets_CFX/custompolicysample/client.vb#10)] ]]> diff --git a/xml/System.ServiceModel.Description/IServiceBehavior.xml b/xml/System.ServiceModel.Description/IServiceBehavior.xml index 4de230e2112..822a7ffb79f 100644 --- a/xml/System.ServiceModel.Description/IServiceBehavior.xml +++ b/xml/System.ServiceModel.Description/IServiceBehavior.xml @@ -48,7 +48,7 @@ The following implementation adds no binding parameter objects, adds the custom object to each property, and validates that each operation of the service to which the service behavior is applied and has a of type `GreetingFault`. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] In this example, the behavior class also implements , which enables the service behavior to be inserted by using it in an application configuration file, as the following code example demonstrates. @@ -142,7 +142,7 @@ The following implementation adds no binding parameter objects, adds the custom object to each property, and validates that each operation of the service to which the service behavior is applied and has a of type `GreetingFault`. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] In this example, the behavior class also implements , which enables the service behavior to be inserted by using it in an application configuration file, as the following code example demonstrates. @@ -193,7 +193,7 @@ The following implementation adds no binding parameter objects, adds the custom object to each property, and validates that each operation of the service to which the service behavior is applied and has a of type `GreetingFault`. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] In this example, the behavior class also implements , which enables the service behavior to be inserted by using it in an application configuration file, as the following code example demonstrates. diff --git a/xml/System.ServiceModel.Description/MessageDescription.xml b/xml/System.ServiceModel.Description/MessageDescription.xml index 5c46b8cc033..78fe4b407c3 100644 --- a/xml/System.ServiceModel.Description/MessageDescription.xml +++ b/xml/System.ServiceModel.Description/MessageDescription.xml @@ -62,7 +62,7 @@ The following example uses the returned from property of the class. The code iterates through the collection of endpoints and prints each endpoint name, as well as the name of each operation in the endpoint. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializeroperationbehavior/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Description/MessagePartDescription.xml b/xml/System.ServiceModel.Description/MessagePartDescription.xml index f7d7ff85710..2b96ce398b4 100644 --- a/xml/System.ServiceModel.Description/MessagePartDescription.xml +++ b/xml/System.ServiceModel.Description/MessagePartDescription.xml @@ -62,7 +62,7 @@ The following example uses the returned by the property of the class. The code iterates through the collection of endpoints and prints each endpoint name, as well as the name of each operation in the endpoint. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializeroperationbehavior/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Description/OperationDescription.xml b/xml/System.ServiceModel.Description/OperationDescription.xml index 9809b656889..3850055db2d 100644 --- a/xml/System.ServiceModel.Description/OperationDescription.xml +++ b/xml/System.ServiceModel.Description/OperationDescription.xml @@ -66,7 +66,7 @@ The following example uses the returned from the collection returned by the property of the class. The code iterates through the collection of endpoints and prints each endpoint name, as well as the name of each operation in the endpoint. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractserializeroperationbehavior/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractserializeroperationbehavior/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Description/PrincipalPermissionMode.xml b/xml/System.ServiceModel.Description/PrincipalPermissionMode.xml index 2c681292949..e48a049aaa2 100644 --- a/xml/System.ServiceModel.Description/PrincipalPermissionMode.xml +++ b/xml/System.ServiceModel.Description/PrincipalPermissionMode.xml @@ -35,17 +35,17 @@ To set the mode programmatically, create an instance of the `ServiceHost` class, then find the in its collection of behaviors, and set the to the appropriate enumeration. The following example sets the property to UseAspNetRoles. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet1"::: You can also set the behavior in configuration by adding a [<serviceAuthorization>](/dotnet/framework/configure-apps/file-schema/wcf/serviceauthorization-element) to the [<serviceBehaviors>](/dotnet/framework/configure-apps/file-schema/wcf/servicebehaviors) of a configuration file, as shown in the following code. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet10"::: The enumeration affects how the attribute authorizes a user when it is applied to a method. The following example applies the attribute to a method and demands that the user belong to the Users group on the computer. This code works only when the is set to `UseWindowsGroup` (the default setting). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet2"::: ## UseAspNetRoles The UseAspNetRoles value is used for all credential types. This mode enables Windows Communication Foundation (WCF) to use the ASP.NET role provider to make authorization decisions. @@ -53,19 +53,19 @@ When the credential for a service is an X.509 certificate, you can set the `Name` property of the to a string that consists of the concatenated values of the Subject field and the Thumbprint field, as shown in the following example. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet3"::: The concatenated string consists of the subject and thumbprint values separated by a semicolon and a space. It is also possible for a certificate to have a Subject field set to a null string. In that case, you can set the `Name` property to a semicolon followed by a space and then the thumbprint, as shown in the following example. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet4"::: If an ASP.NET role provider is present, you can also set the property to a role in the database. By default, the database is represented by the . You can also set a custom role provider with the property of the class. The following code sets the role to `Administrators`. Note that the role provider must map the user account to that role. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet13"::: For more information about using WCF and the role provider, see [How to: Use the ASP.NET Role Provider with a Service](/dotnet/framework/wcf/feature-details/how-to-use-the-aspnet-role-provider-with-a-service). @@ -85,12 +85,12 @@ evaluationContext.Properties["Principal"]=new CustomPrincipal(identity); The following example shows how to specify UseAspNetRoles. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet7"::: The following example shows how to specify Custom. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel.Description/ServiceAuthorizationBehavior.xml b/xml/System.ServiceModel.Description/ServiceAuthorizationBehavior.xml index 843e6acfebb..2e1555c694d 100644 --- a/xml/System.ServiceModel.Description/ServiceAuthorizationBehavior.xml +++ b/xml/System.ServiceModel.Description/ServiceAuthorizationBehavior.xml @@ -57,7 +57,7 @@ The following code shows how to retrieve an instance of this class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_impersonationanddelegation/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/source.vb" id="Snippet3"::: ]]> @@ -100,7 +100,7 @@ The following code shows how to set this property to use a set of external authorization policies. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet3"::: ]]> @@ -149,7 +149,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_impersonationanddelegation/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_impersonationanddelegation/source.vb" id="Snippet3"::: ]]> @@ -233,7 +233,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_principalpermissionattribute/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_principalpermissionattribute/source.vb" id="Snippet3"::: ]]> @@ -277,7 +277,7 @@ The following code shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet6"::: ]]> @@ -323,7 +323,7 @@ The following code shows how to set this property to use a custom service authorization manager. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/principalpermissionmode/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/principalpermissionmode/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Description/ServiceCredentials.xml b/xml/System.ServiceModel.Description/ServiceCredentials.xml index 208df658ca2..19e86c5e28b 100644 --- a/xml/System.ServiceModel.Description/ServiceCredentials.xml +++ b/xml/System.ServiceModel.Description/ServiceCredentials.xml @@ -32,7 +32,7 @@ The following code shows how to override this class to implement custom service credentials. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customcredentials/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/vb/service/service.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/service/service.vb" id="Snippet4"::: ]]> @@ -124,7 +124,7 @@ The following code shows how to access this property and use it to set additional properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customcertificatevalidator/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcertificatevalidator/source.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ The following code shows how to call this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewindowsservicecredential/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb" id="Snippet3"::: ]]> @@ -290,7 +290,7 @@ The following code shows how to access this property and use it to set additional properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb" id="Snippet2"::: ]]> @@ -361,7 +361,7 @@ The following code shows how to use this property to get the instance of the credential used by the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewindowsservicecredential/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb" id="Snippet2"::: ]]> @@ -595,7 +595,7 @@ The following code shows how to use this property to get the instance of the credential used by the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -638,7 +638,7 @@ The following code shows how to use this property to get the instance of the credential used by the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewindowsservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Description/ServiceDescription.xml b/xml/System.ServiceModel.Description/ServiceDescription.xml index 67239c2cac5..5fe3753512e 100644 --- a/xml/System.ServiceModel.Description/ServiceDescription.xml +++ b/xml/System.ServiceModel.Description/ServiceDescription.xml @@ -40,7 +40,7 @@ The following example illustrates various ways to instantiate a object. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet0"::: ]]> @@ -75,7 +75,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet1"::: ]]> @@ -105,7 +105,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet2"::: ]]> @@ -153,8 +153,8 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/snippets.vb" id="Snippet3"::: ]]> @@ -195,7 +195,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet4"::: ]]> @@ -238,7 +238,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet5"::: ]]> @@ -291,8 +291,8 @@ :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/snippets.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/snippets.vb" id="Snippet9"::: ]]> @@ -335,7 +335,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/snippets.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/snippets.vb" id="Snippet10"::: ]]> @@ -374,7 +374,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet6"::: ]]> @@ -419,7 +419,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet7"::: ]]> @@ -459,7 +459,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_servicedescription/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_servicedescription/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel.Description/ServiceEndpoint.xml b/xml/System.ServiceModel.Description/ServiceEndpoint.xml index 2af62a0385b..02808b0d19b 100644 --- a/xml/System.ServiceModel.Description/ServiceEndpoint.xml +++ b/xml/System.ServiceModel.Description/ServiceEndpoint.xml @@ -64,7 +64,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/program.vb" id="Snippet0"::: ]]> @@ -121,7 +121,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/program.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet2"::: ]]> @@ -231,7 +231,7 @@ The following example shows how to add a to an existing and display the address property: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/program.vb" id="Snippet3"::: ]]> @@ -284,7 +284,7 @@ The following code demonstrates how to add a custom endpoint behavior and then access that behavior. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet4"::: ]]> @@ -341,7 +341,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet5"::: ]]> @@ -398,7 +398,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet5"::: ]]> @@ -514,7 +514,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet5"::: ]]> @@ -563,7 +563,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet5"::: ]]> @@ -613,7 +613,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_serviceendpoint/cs/snippet.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/vb/snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_serviceendpoint/snippet.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel.Description/ServiceSecurityAuditBehavior.xml b/xml/System.ServiceModel.Description/ServiceSecurityAuditBehavior.xml index 2019672005b..e0118e9f502 100644 --- a/xml/System.ServiceModel.Description/ServiceSecurityAuditBehavior.xml +++ b/xml/System.ServiceModel.Description/ServiceSecurityAuditBehavior.xml @@ -38,7 +38,7 @@ The following code creates an instance of the class and adds a new to its collection of behaviors. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet1"::: ]]> @@ -79,7 +79,7 @@ The following code creates an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet2"::: ]]> @@ -124,7 +124,7 @@ The following code creates an instance of the class and sets this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet2"::: ]]> @@ -171,7 +171,7 @@ The following code creates an instance of the class and sets this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet3"::: ]]> @@ -218,7 +218,7 @@ The following code creates an instance of the class and sets this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet3"::: ]]> @@ -270,7 +270,7 @@ The following code creates an instance of the class and sets this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Description/WsdlExporter.xml b/xml/System.ServiceModel.Description/WsdlExporter.xml index d1dc32ac566..0443dbc8c2c 100644 --- a/xml/System.ServiceModel.Description/WsdlExporter.xml +++ b/xml/System.ServiceModel.Description/WsdlExporter.xml @@ -41,7 +41,7 @@ The following code example shows how to use the method to generate a set of objects from the endpoints in a collection of objects called `myServiceEndpoints`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdlexporter/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb" id="Snippet0"::: ]]> @@ -106,7 +106,7 @@ The following code example demonstrates how to call to export only contract information. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdlexporter/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ The following code example shows how to export a single endpoint. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdlexporter/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb" id="Snippet2"::: ]]> @@ -300,7 +300,7 @@ The following code example shows how to use the method to generate a set of objects from the endpoints in a collection of objects called `myServiceEndpoints`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdlexporter/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdlexporter/program.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Description/XmlSerializerOperationBehavior.xml b/xml/System.ServiceModel.Description/XmlSerializerOperationBehavior.xml index c14686f3b92..2f2bbca1664 100644 --- a/xml/System.ServiceModel.Description/XmlSerializerOperationBehavior.xml +++ b/xml/System.ServiceModel.Description/XmlSerializerOperationBehavior.xml @@ -64,7 +64,7 @@ The following example finds the for a specific operation, and sets the property of the for the serializer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xmlserializeroperationbehavior/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlserializeroperationbehavior/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/ActionMessageFilter.xml b/xml/System.ServiceModel.Dispatcher/ActionMessageFilter.xml index b2433af3e46..55af3f5bf6c 100644 --- a/xml/System.ServiceModel.Dispatcher/ActionMessageFilter.xml +++ b/xml/System.ServiceModel.Dispatcher/ActionMessageFilter.xml @@ -36,7 +36,7 @@ The following example creates two s, gets the action string out of one of the filters using the property, tests a message against the action filters directly, and displays the result of applying the filter. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/ueactionfilter/cs/actionfilter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/vb/actionfilter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/actionfilter.vb" id="Snippet1"::: ]]> @@ -78,7 +78,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/ueactionfilter/cs/actionfilter.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/vb/actionfilter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ueactionfilter/actionfilter.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/ChannelDispatcher.xml b/xml/System.ServiceModel.Dispatcher/ChannelDispatcher.xml index e731058bae7..cd868e2d4a6 100644 --- a/xml/System.ServiceModel.Dispatcher/ChannelDispatcher.xml +++ b/xml/System.ServiceModel.Dispatcher/ChannelDispatcher.xml @@ -52,7 +52,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/service.vb" id="Snippet0"::: ]]> @@ -105,7 +105,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet2"::: ]]> @@ -197,7 +197,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet3"::: ]]> @@ -306,7 +306,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet4"::: ]]> @@ -350,7 +350,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet5"::: ]]> @@ -504,7 +504,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_channeldispatcher/cs/snippets.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/vb/snippets.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_channeldispatcher/snippets.vb" id="Snippet18"::: ]]> @@ -565,7 +565,7 @@ The communication object is in an @@ -609,7 +609,7 @@ The communication object is in an @@ -653,7 +653,7 @@ The communication object is in an @@ -703,7 +703,7 @@ The communication object is in an @@ -740,7 +740,7 @@ The communication object is in an @@ -785,7 +785,7 @@ The communication object is in an @@ -837,7 +837,7 @@ The communication object is in an @@ -883,7 +883,7 @@ The communication object is in an @@ -971,7 +971,7 @@ The communication object is in an @@ -1026,7 +1026,7 @@ The communication object is in an @@ -1484,7 +1484,7 @@ The communication object is in an @@ -1569,7 +1569,7 @@ The communication object is in an @@ -1618,7 +1618,7 @@ The communication object is in an @@ -1666,7 +1666,7 @@ The communication object is in an diff --git a/xml/System.ServiceModel.Dispatcher/ClientOperation.xml b/xml/System.ServiceModel.Dispatcher/ClientOperation.xml index c9c601db517..7d9840a96fe 100644 --- a/xml/System.ServiceModel.Dispatcher/ClientOperation.xml +++ b/xml/System.ServiceModel.Dispatcher/ClientOperation.xml @@ -94,7 +94,7 @@ The following code example shows an inserting a custom parameter inspector into each in the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet2"::: ]]> @@ -730,7 +730,7 @@ The following code example shows an inserting a custom parameter inspector into each in the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/ClientRuntime.xml b/xml/System.ServiceModel.Dispatcher/ClientRuntime.xml index a226f86cbff..7f65c3a4b79 100644 --- a/xml/System.ServiceModel.Dispatcher/ClientRuntime.xml +++ b/xml/System.ServiceModel.Dispatcher/ClientRuntime.xml @@ -100,7 +100,7 @@ In the following code example an inserts a into the client runtime by adding it to the property. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] The following code example shows a configuration file that loads the endpoint behavior into the client endpoint. @@ -466,7 +466,7 @@ The following code example shows the use of an endpoint behavior to insert an interactive channel initializer. [!code-csharp[IInteractiveChannelInitializer#10](~/snippets/csharp/VS_Snippets_CFX/iinteractivechannelinitializer/cs/insertingbehaviors.cs#10)] - [!code-vb[IInteractiveChannelInitializer#10](~/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/vb/insertingbehaviors.vb#10)] + [!code-vb[IInteractiveChannelInitializer#10](~/snippets/visualbasic/VS_Snippets_CFX/iinteractivechannelinitializer/insertingbehaviors.vb#10)] ]]> @@ -613,7 +613,7 @@ In the following code example an inserts a into the client runtime by adding it to the property. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] The following code example shows a configuration file that loads the endpoint behavior into the client endpoint. @@ -708,7 +708,7 @@ In the following code example an inserts a into the client runtime by adding it to each in the property. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] ]]> diff --git a/xml/System.ServiceModel.Dispatcher/ExceptionHandler.xml b/xml/System.ServiceModel.Dispatcher/ExceptionHandler.xml index 30f34876e2d..32a69cd19f9 100644 --- a/xml/System.ServiceModel.Dispatcher/ExceptionHandler.xml +++ b/xml/System.ServiceModel.Dispatcher/ExceptionHandler.xml @@ -28,12 +28,12 @@ Extend the class and over The following code example shows an implementation of the abstract class that overrides the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueexceptionhandler/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb" id="Snippet0"::: The following code example shows how to enable the custom `MyExceptionHandler` for unhandled exceptions that occur within the WCF runtime. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueexceptionhandler/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb" id="Snippet1"::: ]]> @@ -183,12 +183,12 @@ Extend the class and over The following code example shows an implementation of the abstract class that overrides the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueexceptionhandler/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb" id="Snippet0"::: The following code example shows how to enable the custom `MyExceptionHandler` for unhandled exceptions that occur within the WCF runtime. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueexceptionhandler/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueexceptionhandler/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/IClientMessageInspector.xml b/xml/System.ServiceModel.Dispatcher/IClientMessageInspector.xml index 3074c2909a3..18e194364d9 100644 --- a/xml/System.ServiceModel.Dispatcher/IClientMessageInspector.xml +++ b/xml/System.ServiceModel.Dispatcher/IClientMessageInspector.xml @@ -54,12 +54,12 @@ The following code example shows an implementation that writes strings to the console when the implementation is called. [!code-csharp[Interceptors#1](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#1)] - [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#1)] + [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#1)] The following code example shows how to use an to insert the client message inspector in the client endpoint. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] Finally, the following code example shows how to modify the client configuration file to use the endpoint behavior with a particular endpoint. @@ -119,12 +119,12 @@ The following code example shows an implementation that writes strings to the console when the implementation is called. [!code-csharp[Interceptors#1](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#1)] - [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#1)] + [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#1)] The following code example shows how to use an to insert the client message inspector in the client endpoint. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] Finally, the following code example shows how to modify the client configuration file to use the endpoint behavior with a particular endpoint. @@ -185,12 +185,12 @@ The following code example shows an implementation that writes strings to the console when the implementation is called. [!code-csharp[Interceptors#1](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#1)] - [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#1)] + [!code-vb[Interceptors#1](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#1)] The following code example shows how to use an to insert the client message inspector in the client endpoint. [!code-csharp[Interceptors#2](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#2)] - [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#2)] + [!code-vb[Interceptors#2](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#2)] Finally, the following code example shows how to modify the client configuration file to use the endpoint behavior with a particular endpoint. diff --git a/xml/System.ServiceModel.Dispatcher/IDispatchMessageInspector.xml b/xml/System.ServiceModel.Dispatcher/IDispatchMessageInspector.xml index 0a751812423..2da8015d99d 100644 --- a/xml/System.ServiceModel.Dispatcher/IDispatchMessageInspector.xml +++ b/xml/System.ServiceModel.Dispatcher/IDispatchMessageInspector.xml @@ -55,12 +55,12 @@ The following code example shows a basic that writes a string to the console when it is invoked. [!code-csharp[Interceptors#7](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#7)] - [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#7)] + [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#7)] The following code example shows the implementation of an that adds the `Inspector` to the collection. [!code-csharp[Interceptors#8](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#8)] - [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#8)] + [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#8)] The following code example shows the use of an application configuration file to load the service behavior that inserts the `Inspector` . @@ -120,12 +120,12 @@ The following code example shows a basic that writes a string to the console when it is invoked. [!code-csharp[Interceptors#7](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#7)] - [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#7)] + [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#7)] The following code example shows the implementation of an that adds the `Inspector` to the collection. [!code-csharp[Interceptors#8](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#8)] - [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#8)] + [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#8)] The following code example shows the use of an application configuration file to load the service behavior that inserts the `Inspector` . @@ -179,12 +179,12 @@ The following code example shows a basic that writes a string to the console when it is invoked. [!code-csharp[Interceptors#7](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs#7)] - [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb#7)] + [!code-vb[Interceptors#7](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb#7)] The following code example shows the implementation of an that adds the `Inspector` to the collection. [!code-csharp[Interceptors#8](~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs#8)] - [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb#8)] + [!code-vb[Interceptors#8](~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb#8)] The following code example shows the use of an application configuration file to load the service behavior that inserts the `Inspector` . diff --git a/xml/System.ServiceModel.Dispatcher/IErrorHandler.xml b/xml/System.ServiceModel.Dispatcher/IErrorHandler.xml index 06dfc082605..4ceed16dfcd 100644 --- a/xml/System.ServiceModel.Dispatcher/IErrorHandler.xml +++ b/xml/System.ServiceModel.Dispatcher/IErrorHandler.xml @@ -57,12 +57,12 @@ The following code example demonstrates a service that implements that returns only of type `GreetingFault` when a service method throws a managed exception. [!code-csharp[IErrorHandler#6](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#6)] - [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#6)] + [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#6)] The following code example shows how to use a service behavior to add the implementation to the property. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] The following code example shows how to configure the service to load the service behavior using an application configuration file. For more details about how to expose a service behavior in a configuration file, see . @@ -127,12 +127,12 @@ The following code example demonstrates a service that implements that returns only of type `GreetingFault` when a service method throws a managed exception. [!code-csharp[IErrorHandler#6](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#6)] - [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#6)] + [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#6)] The following code example shows how to use a service behavior to add the implementation to the property. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] The following code example shows how to configure the service to load the service behavior using an application configuration file. For more details about how to expose a service behavior in a configuration file, see . @@ -194,12 +194,12 @@ The following code example demonstrates a service that implements that returns only of type `GreetingFault` when a service method throws a managed exception. [!code-csharp[IErrorHandler#6](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#6)] - [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#6)] + [!code-vb[IErrorHandler#6](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#6)] The following code example shows how to use a service behavior to add the implementation to the property. [!code-csharp[IErrorHandler#7](~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/ierrorhandler.cs#7)] - [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/ierrorhandler.vb#7)] + [!code-vb[IErrorHandler#7](~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/ierrorhandler.vb#7)] The following code example shows how to configure the service to load the service behavior using an application configuration file. For more details about how to expose a service behavior in a configuration file, see . diff --git a/xml/System.ServiceModel.Dispatcher/IInstanceProvider.xml b/xml/System.ServiceModel.Dispatcher/IInstanceProvider.xml index efe1d9ae6f5..2b3194fb884 100644 --- a/xml/System.ServiceModel.Dispatcher/IInstanceProvider.xml +++ b/xml/System.ServiceModel.Dispatcher/IInstanceProvider.xml @@ -48,12 +48,12 @@ The following code example shows how to implement that provides "singleton" behavior; it always returns the same service instance and does not recycle it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet1"::: The following code example shows how to implement a custom attribute that implements to insert the custom service instance provider. It also implements , which binds its use to a specific contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> @@ -111,12 +111,12 @@ The following code example shows how to implement that provides "singleton" behavior; it always returns the same service instance and does not recycle it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet1"::: The following code example shows how to implement a custom attribute that implements to insert the custom service instance provider. It also implements , which binds its use to a specific contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> @@ -167,12 +167,12 @@ The following code example shows how to implement that provides "singleton" behavior; it always returns the same service instance and does not recycle it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet1"::: The following code example shows how to implement a custom attribute that implements to insert the custom service instance provider. It also implements , which binds its use to a specific contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/icontractbehavior/cs/objectproviderbehavior.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/vb/objectproviderbehavior.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/icontractbehavior/objectproviderbehavior.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/IParameterInspector.xml b/xml/System.ServiceModel.Dispatcher/IParameterInspector.xml index b72559ddf86..ae532a3bc45 100644 --- a/xml/System.ServiceModel.Dispatcher/IParameterInspector.xml +++ b/xml/System.ServiceModel.Dispatcher/IParameterInspector.xml @@ -66,12 +66,12 @@ - Writes the operation name to the console after deserializing a response on the client or after a response has been serialized on the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how to use either , or to insert objects. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet5"::: ]]> @@ -135,12 +135,12 @@ - Writes the operation name to the console after deserializing a response on the client or after a response has been serialized on the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how to use either , , or to insert objects. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet5"::: ]]> @@ -201,12 +201,12 @@ - Writes the operation name to the console after deserializing a response on the client or after a response is serialized on the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/interceptors.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/interceptors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/interceptors.vb" id="Snippet4"::: The following code example shows how to use either , or to insert objects. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/interceptors/cs/insertingbehaviors.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/vb/insertingbehaviors.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/interceptors/insertingbehaviors.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/MessageQuery.xml b/xml/System.ServiceModel.Dispatcher/MessageQuery.xml index 4c5b95f9977..b4fb5074ed8 100644 --- a/xml/System.ServiceModel.Dispatcher/MessageQuery.xml +++ b/xml/System.ServiceModel.Dispatcher/MessageQuery.xml @@ -47,7 +47,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> @@ -195,7 +195,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/MessageQueryCollection.xml b/xml/System.ServiceModel.Dispatcher/MessageQueryCollection.xml index 6bdc45f1ed2..f11658997e2 100644 --- a/xml/System.ServiceModel.Dispatcher/MessageQueryCollection.xml +++ b/xml/System.ServiceModel.Dispatcher/MessageQueryCollection.xml @@ -30,7 +30,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/MessageQueryTable`1.xml b/xml/System.ServiceModel.Dispatcher/MessageQueryTable`1.xml index d1c756084da..0668492268d 100644 --- a/xml/System.ServiceModel.Dispatcher/MessageQueryTable`1.xml +++ b/xml/System.ServiceModel.Dispatcher/MessageQueryTable`1.xml @@ -48,7 +48,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. Uncomment the alternate code to see similar functionality demonstrated using the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/QueryStringConverter.xml b/xml/System.ServiceModel.Dispatcher/QueryStringConverter.xml index d6b4a3333a6..35d2ee20e19 100644 --- a/xml/System.ServiceModel.Dispatcher/QueryStringConverter.xml +++ b/xml/System.ServiceModel.Dispatcher/QueryStringConverter.xml @@ -91,7 +91,7 @@ interface Calculator The following code shows how to use the class to convert between a string and a 32-bit integer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/querystringconverter/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb" id="Snippet0"::: ]]> @@ -119,7 +119,7 @@ interface Calculator The following code shows how to create an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/querystringconverter/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb" id="Snippet1"::: ]]> @@ -155,7 +155,7 @@ interface Calculator The following code shows how to determine whether the can convert to and from the specified type. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/querystringconverter/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb" id="Snippet2"::: ]]> @@ -198,7 +198,7 @@ interface Calculator The following code shows how to convert a string to the specified type. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/querystringconverter/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ interface Calculator The following code shows how to convert a typed value into a string representation of the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/querystringconverter/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/querystringconverter/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/XPathMessageQueryCollection.xml b/xml/System.ServiceModel.Dispatcher/XPathMessageQueryCollection.xml index 6cc0ac63efb..44570c40b7a 100644 --- a/xml/System.ServiceModel.Dispatcher/XPathMessageQueryCollection.xml +++ b/xml/System.ServiceModel.Dispatcher/XPathMessageQueryCollection.xml @@ -27,7 +27,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Dispatcher/XPathResult.xml b/xml/System.ServiceModel.Dispatcher/XPathResult.xml index 27f796cc572..cc736bbb06b 100644 --- a/xml/System.ServiceModel.Dispatcher/XPathResult.xml +++ b/xml/System.ServiceModel.Dispatcher/XPathResult.xml @@ -26,7 +26,7 @@ The following example creates a message and XPath message queries. The queries are evaluated by the objects contained in an object. The results of each query are tested using the property of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xpathmessagequery/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xpathmessagequery/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.MsmqIntegration/MsmqIntegrationBinding.xml b/xml/System.ServiceModel.MsmqIntegration/MsmqIntegrationBinding.xml index 132e34e46aa..290dece3e63 100644 --- a/xml/System.ServiceModel.MsmqIntegration/MsmqIntegrationBinding.xml +++ b/xml/System.ServiceModel.MsmqIntegration/MsmqIntegrationBinding.xml @@ -31,17 +31,17 @@ The following configuration file snippet illustrates how to configure the binding on the service: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_msmqtowcf/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/service.vb" id="Snippet1"::: The following code illustrates how to use the binding on the service programmatically: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_msmqtowcf/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmqtowcf/service.vb" id="Snippet2"::: The following code illustrates how to use the binding on the client programmatically: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_wcftomsmq/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/snippets.vb" id="Snippet2"::: ]]> @@ -105,7 +105,7 @@ The following code illustrates how to instantiate an instance of the binding, specifying the : :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_wcftomsmq/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/snippets.vb" id="Snippet5"::: ]]> @@ -143,7 +143,7 @@ The following code shows how to create an instance of the binding and initialize it by passing in the name of the binding element: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_wcftomsmq/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_wcftomsmq/snippets.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.MsmqIntegration/MsmqMessage`1.xml b/xml/System.ServiceModel.MsmqIntegration/MsmqMessage`1.xml index b66f50a3abb..cb5e2902cd0 100644 --- a/xml/System.ServiceModel.MsmqIntegration/MsmqMessage`1.xml +++ b/xml/System.ServiceModel.MsmqIntegration/MsmqMessage`1.xml @@ -36,7 +36,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet1"::: ]]> @@ -72,7 +72,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet2"::: ]]> @@ -108,7 +108,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet3"::: ]]> @@ -143,7 +143,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet4"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet5"::: ]]> @@ -208,7 +208,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet6"::: ]]> @@ -238,7 +238,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet7"::: ]]> @@ -274,7 +274,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet8"::: ]]> @@ -304,7 +304,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet9"::: ]]> @@ -342,7 +342,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet10"::: ]]> @@ -379,7 +379,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet11"::: ]]> @@ -409,7 +409,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet12"::: ]]> @@ -444,7 +444,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet13"::: ]]> @@ -483,7 +483,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet14"::: ]]> @@ -520,7 +520,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet15"::: ]]> @@ -561,7 +561,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet16"::: ]]> @@ -596,7 +596,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet17"::: ]]> @@ -628,7 +628,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet18"::: ]]> @@ -663,7 +663,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet19"::: ]]> @@ -700,7 +700,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet20"::: ]]> @@ -737,7 +737,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemsmqmessage/cs/program.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/vb/program.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemsmqmessage/program.vb" id="Snippet21"::: ]]> diff --git a/xml/System.ServiceModel.Security.Tokens/BinarySecretSecurityToken.xml b/xml/System.ServiceModel.Security.Tokens/BinarySecretSecurityToken.xml index 6ebfa0fe7e0..95f8e93588d 100644 --- a/xml/System.ServiceModel.Security.Tokens/BinarySecretSecurityToken.xml +++ b/xml/System.ServiceModel.Security.Tokens/BinarySecretSecurityToken.xml @@ -111,7 +111,7 @@ The following code illustrates how to call the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel.Security.Tokens/SecurityTokenParameters.xml b/xml/System.ServiceModel.Security.Tokens/SecurityTokenParameters.xml index afdae452d46..2b328b56e5d 100644 --- a/xml/System.ServiceModel.Security.Tokens/SecurityTokenParameters.xml +++ b/xml/System.ServiceModel.Security.Tokens/SecurityTokenParameters.xml @@ -64,7 +64,7 @@ The following code shows a custom override of this class called *CreditCardTokenParameters*. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customtoken/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Security.Tokens/X509KeyIdentifierClauseType.xml b/xml/System.ServiceModel.Security.Tokens/X509KeyIdentifierClauseType.xml index bfe6621a509..7064891a709 100644 --- a/xml/System.ServiceModel.Security.Tokens/X509KeyIdentifierClauseType.xml +++ b/xml/System.ServiceModel.Security.Tokens/X509KeyIdentifierClauseType.xml @@ -33,7 +33,7 @@ The following code shows how to set the property to a member of this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Security.Tokens/X509SecurityTokenParameters.xml b/xml/System.ServiceModel.Security.Tokens/X509SecurityTokenParameters.xml index 986e65a0375..a82884c5265 100644 --- a/xml/System.ServiceModel.Security.Tokens/X509SecurityTokenParameters.xml +++ b/xml/System.ServiceModel.Security.Tokens/X509SecurityTokenParameters.xml @@ -548,7 +548,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueassymetricsecuritybindingelement/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Security/HttpDigestClientCredential.xml b/xml/System.ServiceModel.Security/HttpDigestClientCredential.xml index c21ed409947..c409e15db66 100644 --- a/xml/System.ServiceModel.Security/HttpDigestClientCredential.xml +++ b/xml/System.ServiceModel.Security/HttpDigestClientCredential.xml @@ -102,7 +102,7 @@ The following example shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_httpdigestclientcredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_httpdigestclientcredential/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Security/IssuedTokenClientCredential.xml b/xml/System.ServiceModel.Security/IssuedTokenClientCredential.xml index 24d1cc5345f..42785853841 100644 --- a/xml/System.ServiceModel.Security/IssuedTokenClientCredential.xml +++ b/xml/System.ServiceModel.Security/IssuedTokenClientCredential.xml @@ -95,7 +95,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet17"::: ]]> @@ -141,7 +141,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet16"::: ]]> @@ -257,7 +257,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet13"::: ]]> @@ -337,7 +337,7 @@ This code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet15"::: ]]> diff --git a/xml/System.ServiceModel.Security/IssuedTokenServiceCredential.xml b/xml/System.ServiceModel.Security/IssuedTokenServiceCredential.xml index 53d505bdd6b..3039382b042 100644 --- a/xml/System.ServiceModel.Security/IssuedTokenServiceCredential.xml +++ b/xml/System.ServiceModel.Security/IssuedTokenServiceCredential.xml @@ -81,7 +81,7 @@ The following code shows one way to access and set this property. [!code-csharp[c_FederatedService#2](~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs#2)] - [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb#2)] + [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb#2)] ]]> @@ -155,7 +155,7 @@ The following code shows one way to access and set this property. [!code-csharp[c_FederatedService#2](~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs#2)] - [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb#2)] + [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb#2)] ]]> @@ -228,7 +228,7 @@ The following code shows one way to access and set this property. [!code-csharp[c_FederatedService#2](~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs#2)] - [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb#2)] + [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb#2)] ]]> @@ -271,7 +271,7 @@ The following code shows one way to access and set this property. [!code-csharp[c_FederatedService#2](~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs#2)] - [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb#2)] + [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb#2)] ]]> @@ -314,7 +314,7 @@ The following code shows how to set this property. [!code-csharp[S_UEIssuedTokenServiceCredential#1](~/snippets/csharp/VS_Snippets_CFX/s_ueissuedtokenservicecredential/cs/program.cs#1)] - [!code-vb[S_UEIssuedTokenServiceCredential#1](~/snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/vb/module1.vb#1)] + [!code-vb[S_UEIssuedTokenServiceCredential#1](~/snippets/visualbasic/VS_Snippets_CFX/s_ueissuedtokenservicecredential/module1.vb#1)] The property can also be set in a configuration file. @@ -357,7 +357,7 @@ The following code shows one way to access and set this property. [!code-csharp[c_FederatedService#2](~/snippets/csharp/VS_Snippets_CFX/c_federatedservice/cs/source.cs#2)] - [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/vb/source.vb#2)] + [!code-vb[c_FederatedService#2](~/snippets/visualbasic/VS_Snippets_CFX/c_federatedservice/source.vb#2)] ]]> diff --git a/xml/System.ServiceModel.Security/MessageProtectionOrder.xml b/xml/System.ServiceModel.Security/MessageProtectionOrder.xml index 00f688767a0..e99399accec 100644 --- a/xml/System.ServiceModel.Security/MessageProtectionOrder.xml +++ b/xml/System.ServiceModel.Security/MessageProtectionOrder.xml @@ -47,7 +47,7 @@ The following example creates a element and sets its property to SignBeforeEncrypt. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_custombinding/cs/c_custombinding.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_custombinding/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_custombinding/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Security/SecurityAlgorithmSuite.xml b/xml/System.ServiceModel.Security/SecurityAlgorithmSuite.xml index fcdd61fd71d..7efe61efc77 100644 --- a/xml/System.ServiceModel.Security/SecurityAlgorithmSuite.xml +++ b/xml/System.ServiceModel.Security/SecurityAlgorithmSuite.xml @@ -435,7 +435,7 @@ The following code shows how to set to this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel.Security/ServiceCredentialsSecurityTokenManager.xml b/xml/System.ServiceModel.Security/ServiceCredentialsSecurityTokenManager.xml index 3766abd9803..1dc1eaff2ac 100644 --- a/xml/System.ServiceModel.Security/ServiceCredentialsSecurityTokenManager.xml +++ b/xml/System.ServiceModel.Security/ServiceCredentialsSecurityTokenManager.xml @@ -32,7 +32,7 @@ The following code shows how to override this class to create a customized Service Credentials Token Manager. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customcredentials/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/vb/service/service.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/service/service.vb" id="Snippet5"::: ]]> @@ -128,7 +128,7 @@ The following code is an example of how to override this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customtokenauthenticator/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtokenauthenticator/source.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following code shows how to override this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Security/UserNamePasswordClientCredential.xml b/xml/System.ServiceModel.Security/UserNamePasswordClientCredential.xml index a74fc736ecc..789e80a7099 100644 --- a/xml/System.ServiceModel.Security/UserNamePasswordClientCredential.xml +++ b/xml/System.ServiceModel.Security/UserNamePasswordClientCredential.xml @@ -98,7 +98,7 @@ To get or set this property, access the object from the property from the client object, as shown in the code below. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/source.vb" id="Snippet10"::: ]]> @@ -153,7 +153,7 @@ To get or set this property, access the object from the property from the client object, as shown in the code below. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueusernamepasswordclientcredential/source.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceModel.Security/UserNamePasswordServiceCredential.xml b/xml/System.ServiceModel.Security/UserNamePasswordServiceCredential.xml index fdc7e408ce6..b018138ef15 100644 --- a/xml/System.ServiceModel.Security/UserNamePasswordServiceCredential.xml +++ b/xml/System.ServiceModel.Security/UserNamePasswordServiceCredential.xml @@ -30,7 +30,7 @@ The following example prints the values of the properties for a service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -73,7 +73,7 @@ The following example gets the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -119,7 +119,7 @@ The following example gets the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The following example gets the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ The following example gets the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> @@ -334,7 +334,7 @@ The following example gets the value of this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/usernamepasswordservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/usernamepasswordservicecredential/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Security/WSSecurityTokenSerializer.xml b/xml/System.ServiceModel.Security/WSSecurityTokenSerializer.xml index 93d689360ff..4c8d09f6d6f 100644 --- a/xml/System.ServiceModel.Security/WSSecurityTokenSerializer.xml +++ b/xml/System.ServiceModel.Security/WSSecurityTokenSerializer.xml @@ -33,7 +33,7 @@ The following code demonstrates a custom override of this class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customtoken/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customtoken/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Security/WindowsClientCredential.xml b/xml/System.ServiceModel.Security/WindowsClientCredential.xml index f94f34f7aff..46f2fa33b7e 100644 --- a/xml/System.ServiceModel.Security/WindowsClientCredential.xml +++ b/xml/System.ServiceModel.Security/WindowsClientCredential.xml @@ -56,7 +56,7 @@ The following example creates a client and gets a reference to the . The code then changes the to a new value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/windowsclientcredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/source.vb" id="Snippet1"::: ]]> @@ -115,7 +115,7 @@ The following example shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/windowsclientcredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/windowsclientcredential/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Security/WindowsServiceCredential.xml b/xml/System.ServiceModel.Security/WindowsServiceCredential.xml index d8e27a5d7eb..544d872e9cd 100644 --- a/xml/System.ServiceModel.Security/WindowsServiceCredential.xml +++ b/xml/System.ServiceModel.Security/WindowsServiceCredential.xml @@ -70,7 +70,7 @@ The following code shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewindowsservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb" id="Snippet1"::: ]]> @@ -114,7 +114,7 @@ The following code shows how to get this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewindowsservicecredential/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewindowsservicecredential/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel.Security/X509CertificateInitiatorClientCredential.xml b/xml/System.ServiceModel.Security/X509CertificateInitiatorClientCredential.xml index 007e7d48792..860bfbdd6e8 100644 --- a/xml/System.ServiceModel.Security/X509CertificateInitiatorClientCredential.xml +++ b/xml/System.ServiceModel.Security/X509CertificateInitiatorClientCredential.xml @@ -229,7 +229,7 @@ The following code specifies the certificate to use. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_tcpclient/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_tcpclient/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Security/X509CertificateRecipientClientCredential.xml b/xml/System.ServiceModel.Security/X509CertificateRecipientClientCredential.xml index e87ce873dfd..ce049b41c88 100644 --- a/xml/System.ServiceModel.Security/X509CertificateRecipientClientCredential.xml +++ b/xml/System.ServiceModel.Security/X509CertificateRecipientClientCredential.xml @@ -54,7 +54,7 @@ This code shows one way to create an instance of this class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet18"::: ]]> @@ -529,7 +529,7 @@ This code shows how to call this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_creatests/cs/source.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/vb/source.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_creatests/source.vb" id="Snippet20"::: ]]> diff --git a/xml/System.ServiceModel.Security/X509CertificateRecipientServiceCredential.xml b/xml/System.ServiceModel.Security/X509CertificateRecipientServiceCredential.xml index 8a646885ba5..d661c416d5a 100644 --- a/xml/System.ServiceModel.Security/X509CertificateRecipientServiceCredential.xml +++ b/xml/System.ServiceModel.Security/X509CertificateRecipientServiceCredential.xml @@ -23,7 +23,7 @@ The following code shows how to use this method to set a certificate for a service credential. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb" id="Snippet6"::: ]]> @@ -66,7 +66,7 @@ The following code shows how to use this method to get the certificate used in a service's credentials. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb" id="Snippet7"::: ]]> @@ -122,7 +122,7 @@ The following code shows how to use this method to set a certificate for a service credential from a subject name. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb" id="Snippet4"::: ]]> @@ -176,7 +176,7 @@ The following code shows how to use this method to set a certificate for a service credential. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb" id="Snippet5"::: ]]> @@ -234,7 +234,7 @@ The following code shows how to use this method to set a certificate for a service credential. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509certificaterecipientservicecredential/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Security/X509ClientCertificateAuthentication.xml b/xml/System.ServiceModel.Security/X509ClientCertificateAuthentication.xml index 513aff54bd2..e27c7cceb7a 100644 --- a/xml/System.ServiceModel.Security/X509ClientCertificateAuthentication.xml +++ b/xml/System.ServiceModel.Security/X509ClientCertificateAuthentication.xml @@ -38,7 +38,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet1"::: The property can also be set in a configuration file. @@ -125,7 +125,7 @@ The following example uses the to print to the screen. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet7"::: The property can also be set in a configuration file. @@ -180,7 +180,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet2"::: The property can also be set in a configuration file. @@ -241,7 +241,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet3"::: The property can also be set in a configuration file. @@ -295,7 +295,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet4"::: The property can also be set in a configuration file. @@ -352,7 +352,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet5"::: The property can also be set in a configuration file. @@ -406,7 +406,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/x509clientcertificateauthentication/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/x509clientcertificateauthentication/source.vb" id="Snippet6"::: The property can also be set in a configuration file. diff --git a/xml/System.ServiceModel.Security/X509ServiceCertificateAuthentication.xml b/xml/System.ServiceModel.Security/X509ServiceCertificateAuthentication.xml index df905be089d..614177cb89a 100644 --- a/xml/System.ServiceModel.Security/X509ServiceCertificateAuthentication.xml +++ b/xml/System.ServiceModel.Security/X509ServiceCertificateAuthentication.xml @@ -53,7 +53,7 @@ The following example shows how to use this class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509servicecertificateauthentication/cs/client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb" id="Snippet4"::: ]]> @@ -135,7 +135,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509servicecertificateauthentication/cs/client.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb" id="Snippet0"::: The property can also be set in a configuration file. @@ -193,7 +193,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509servicecertificateauthentication/cs/client.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb" id="Snippet1"::: The property can also be set in a configuration file. @@ -252,7 +252,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509servicecertificateauthentication/cs/client.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb" id="Snippet2"::: The property can also be set in a configuration file. @@ -311,7 +311,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uex509servicecertificateauthentication/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uex509servicecertificateauthentication/client.vb" id="Snippet3"::: The property can also be set in a configuration file. diff --git a/xml/System.ServiceModel.Syndication/Atom10FeedFormatter.xml b/xml/System.ServiceModel.Syndication/Atom10FeedFormatter.xml index 815e9eca2f3..8dd8bcf3628 100644 --- a/xml/System.ServiceModel.Syndication/Atom10FeedFormatter.xml +++ b/xml/System.ServiceModel.Syndication/Atom10FeedFormatter.xml @@ -68,7 +68,7 @@ The following code shows how to create a and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet0"::: ]]> @@ -113,7 +113,7 @@ The following code shows how to create a and read in a syndication feed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ The following code shows how to create a and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet0"::: ]]> @@ -198,7 +198,7 @@ The following code shows how to use this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet11"::: ]]> @@ -247,7 +247,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet12"::: ]]> @@ -458,7 +458,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet12"::: ]]> @@ -828,7 +828,7 @@ The following code shows how to create a syndication feed and use a to write the feed to an . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Atom10FeedFormatter`1.xml b/xml/System.ServiceModel.Syndication/Atom10FeedFormatter`1.xml index a422c23f87d..bae4ba5e8ec 100644 --- a/xml/System.ServiceModel.Syndication/Atom10FeedFormatter`1.xml +++ b/xml/System.ServiceModel.Syndication/Atom10FeedFormatter`1.xml @@ -73,7 +73,7 @@ The following code shows how to create a -derived class and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet2"::: ]]> @@ -118,7 +118,7 @@ The following code shows how to create a -derived class and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet3"::: ]]> @@ -158,7 +158,7 @@ The following code shows how to create a -derived class and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Atom10ItemFormatter.xml b/xml/System.ServiceModel.Syndication/Atom10ItemFormatter.xml index 7df127c8467..c569647a44e 100644 --- a/xml/System.ServiceModel.Syndication/Atom10ItemFormatter.xml +++ b/xml/System.ServiceModel.Syndication/Atom10ItemFormatter.xml @@ -68,7 +68,7 @@ The following code shows how to create a instance and serialize it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet7"::: ]]> @@ -143,7 +143,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet8"::: ]]> @@ -188,7 +188,7 @@ The following code shows how to use this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet15"::: ]]> @@ -232,7 +232,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet13"::: ]]> @@ -435,7 +435,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet13"::: ]]> @@ -629,7 +629,7 @@ The following code shows how to call the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet14"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Atom10ItemFormatter`1.xml b/xml/System.ServiceModel.Syndication/Atom10ItemFormatter`1.xml index d45265b8c74..c0abc04d24a 100644 --- a/xml/System.ServiceModel.Syndication/Atom10ItemFormatter`1.xml +++ b/xml/System.ServiceModel.Syndication/Atom10ItemFormatter`1.xml @@ -73,7 +73,7 @@ The following code demonstrates how to create a -derived class and serialize it to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet9"::: ]]> @@ -148,7 +148,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/atomformatter/cs/snippets.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/atomformatter/snippets.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Rss20FeedFormatter.xml b/xml/System.ServiceModel.Syndication/Rss20FeedFormatter.xml index 83255d3a901..918f0a04246 100644 --- a/xml/System.ServiceModel.Syndication/Rss20FeedFormatter.xml +++ b/xml/System.ServiceModel.Syndication/Rss20FeedFormatter.xml @@ -65,7 +65,7 @@ The following code shows how to create a and serialize it to RSS 2.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet0"::: ]]> @@ -110,7 +110,7 @@ The following code shows how to create an instance and read in an RSS syndication feed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet13"::: ]]> @@ -156,7 +156,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet1"::: ]]> @@ -201,7 +201,7 @@ The following code shows how to use this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet14"::: ]]> @@ -248,7 +248,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet2"::: ]]> @@ -292,7 +292,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet15"::: ]]> @@ -496,7 +496,7 @@ The following code shows how to use the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet15"::: ]]> @@ -946,7 +946,7 @@ The following code shows how to create a syndication feed and use a to write the feed to an . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Rss20FeedFormatter`1.xml b/xml/System.ServiceModel.Syndication/Rss20FeedFormatter`1.xml index 3b82f5b612a..cf8a9cb7e8f 100644 --- a/xml/System.ServiceModel.Syndication/Rss20FeedFormatter`1.xml +++ b/xml/System.ServiceModel.Syndication/Rss20FeedFormatter`1.xml @@ -70,7 +70,7 @@ The following code shows how to create a derived class and serialize it to RSS 2.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet3"::: ]]> @@ -145,7 +145,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet4"::: ]]> @@ -192,7 +192,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Rss20ItemFormatter.xml b/xml/System.ServiceModel.Syndication/Rss20ItemFormatter.xml index 674e6ce055b..fb8ec622965 100644 --- a/xml/System.ServiceModel.Syndication/Rss20ItemFormatter.xml +++ b/xml/System.ServiceModel.Syndication/Rss20ItemFormatter.xml @@ -65,7 +65,7 @@ The following code shows how to create a instance and serialize it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet7"::: ]]> @@ -146,7 +146,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet8"::: ]]> @@ -237,7 +237,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/Rss20ItemFormatter`1.xml b/xml/System.ServiceModel.Syndication/Rss20ItemFormatter`1.xml index f0b341be205..2901d26840d 100644 --- a/xml/System.ServiceModel.Syndication/Rss20ItemFormatter`1.xml +++ b/xml/System.ServiceModel.Syndication/Rss20ItemFormatter`1.xml @@ -74,7 +74,7 @@ The following code shows how to create a derived class and serialize it to RSS 2.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet10"::: ]]> @@ -149,7 +149,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet11"::: ]]> @@ -196,7 +196,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/rssformatter/cs/snippets.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/vb/snippets.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/rssformatter/snippets.vb" id="Snippet12"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/SyndicationCategory.xml b/xml/System.ServiceModel.Syndication/SyndicationCategory.xml index 53b4b2e69ed..464eb5a0f15 100644 --- a/xml/System.ServiceModel.Syndication/SyndicationCategory.xml +++ b/xml/System.ServiceModel.Syndication/SyndicationCategory.xml @@ -57,7 +57,7 @@ The following code shows how to create a and add a with a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcategory/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/program.vb" id="Snippet0"::: ]]> @@ -174,7 +174,7 @@ The following code shows how to create a and add a with a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcategory/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/program.vb" id="Snippet0"::: ]]> @@ -218,7 +218,7 @@ The following code demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcategory/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcategory/snippets.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/SyndicationFeed.xml b/xml/System.ServiceModel.Syndication/SyndicationFeed.xml index 7a82cc613bc..fd23787418c 100644 --- a/xml/System.ServiceModel.Syndication/SyndicationFeed.xml +++ b/xml/System.ServiceModel.Syndication/SyndicationFeed.xml @@ -95,7 +95,7 @@ The following code shows how to create a instance and serialize it to both Atom 1.0 and RSS 2.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet0"::: The following XML shows how a is serialized to Atom 1.0. @@ -195,7 +195,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet3"::: ]]> @@ -284,7 +284,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet4"::: ]]> @@ -330,7 +330,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet5"::: ]]> @@ -384,7 +384,7 @@ The following code shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet49"::: ]]> @@ -434,7 +434,7 @@ The following code shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet50"::: ]]> @@ -479,7 +479,7 @@ The following code shows how to add an attribute extension to a syndication feed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/program.vb" id="Snippet0"::: The following XML shows how an attribute extension is serialized to Atom 1.0. @@ -532,7 +532,7 @@ The following code shows how to add an author to the collection of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet8"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -590,7 +590,7 @@ The following code shows how to access the base URI of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet48"::: ]]> @@ -637,7 +637,7 @@ The following code shows how to add a category to the collection of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet10"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -694,7 +694,7 @@ The following code shows how to call this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet47"::: ]]> @@ -741,7 +741,7 @@ The following code shows how to add a contributor to the collection of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet11"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -806,7 +806,7 @@ The following code shows how to set the copyright information for a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet12"::: The following XML shows how the is serialized to Atom 1.0. @@ -1027,7 +1027,7 @@ The following code shows how to set the of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet13"::: The following XML shows how is serialized to Atom 1.0. @@ -1118,7 +1118,7 @@ The following code shows how to add element extensions to a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb" id="Snippet1"::: ]]> @@ -1173,7 +1173,7 @@ The following code shows how to set the of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet39"::: :::code language="xml" source="~/snippets/common/VS_Snippets_CFX/syndicationfeed/common/atom.xml" id="Snippet39"::: The following XML shows how the property is serialized to Atom 1.0 and RSS 2.0. @@ -1353,7 +1353,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet40"::: The following XML shows how the property is serialized to Atom 1.0. @@ -1418,7 +1418,7 @@ The following code shows how to set the on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet41"::: The following XML shows how the property is serialized to Atom 1.0. @@ -1473,7 +1473,7 @@ The following code shows how to set the collection of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet42"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -1538,7 +1538,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet43"::: The following XML shows how the property is serialized to Atom 1.0. @@ -1603,7 +1603,7 @@ The following code shows how to se the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet44"::: The following XML shows how the property is serialized to Atom 1.0. @@ -1658,7 +1658,7 @@ The following code shows how to add a link to the collection of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet45"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -1716,7 +1716,7 @@ The following example demonstrates how to call this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet9"::: ]]> @@ -1774,7 +1774,7 @@ The following code shows how to load a syndication feed from an instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet9"::: ]]> @@ -1818,7 +1818,7 @@ The following code shows how to write out a instance in the Atom 1.0 format. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet52"::: ]]> @@ -1861,7 +1861,7 @@ The following code shows how to write out a instance in the RSS 2.0 format. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet51"::: ]]> @@ -2093,12 +2093,12 @@ The following code shows how to set the property of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet46"::: The following XML shows how the property is serialized to Atom 1.0. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationfeed/cs/program.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/vb/snippets.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationfeed/snippets.vb" id="Snippet39"::: :::code language="xml" source="~/snippets/common/VS_Snippets_CFX/syndicationfeed/common/atom.xml" id="Snippet39"::: The following XML shows how the property is serialized to RSS 2.0. diff --git a/xml/System.ServiceModel.Syndication/SyndicationItem.xml b/xml/System.ServiceModel.Syndication/SyndicationItem.xml index f14956d1118..fea07b9aa59 100644 --- a/xml/System.ServiceModel.Syndication/SyndicationItem.xml +++ b/xml/System.ServiceModel.Syndication/SyndicationItem.xml @@ -93,7 +93,7 @@ The following code shows how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet0"::: ]]> @@ -208,7 +208,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following code shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet35"::: ]]> @@ -304,7 +304,7 @@ The following code shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet34"::: ]]> @@ -352,7 +352,7 @@ The following code shows how to add a permalink to a syndication item. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet36"::: ]]> @@ -397,7 +397,7 @@ The following code shows how to add an attribute extension to a syndication feed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb" id="Snippet3"::: The following XML code shows an Atom 1.0 serialization of a instance with a custom attribute called `itemAttrib`. @@ -452,7 +452,7 @@ The following code shows how to add an author to the collection of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet22"::: The following XML shows how the preceding is serialized to Atom 1.0. @@ -510,7 +510,7 @@ The following example shows how to set the base URI of a syndication item. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet33"::: ]]> @@ -555,7 +555,7 @@ The following code shows how to add a category to the collection of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet23"::: The following XML shows how a instance with a category is serialized to Atom 1.0. @@ -604,7 +604,7 @@ The following code shows how to clone an instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet41"::: ]]> @@ -671,7 +671,7 @@ The following code shows how to add content to a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet24"::: The following XML shows how the property is serialized for Atom 1.0. @@ -762,7 +762,7 @@ The following code shows how to add a contributor to a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet25"::: The following XML shows how this property is serialized to Atom 1.0. @@ -825,7 +825,7 @@ The following code shows how to add copyright information to a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet26"::: The following XML shows how this property is serialized to Atom 1.0. @@ -1002,7 +1002,7 @@ The following code shows how to add element extensions to a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb" id="Snippet2"::: ]]> @@ -1043,7 +1043,7 @@ The following code shows how to write a syndication item in Atom 1.0 format to an XML file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet42"::: ]]> @@ -1099,7 +1099,7 @@ The following code shows how to write a syndication item in RSS 2.0 format to an XML file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet43"::: ]]> @@ -1148,7 +1148,7 @@ The following code shows how to write a syndication item in RSS 2.0 format to an XML file, serializing attribute and element extensions. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet44"::: ]]> @@ -1203,7 +1203,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet27"::: The following XML shows how this property is serialized to Atom 1.0. @@ -1270,7 +1270,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet28"::: The following XML shows how this property is serialized to Atom 1.0. @@ -1327,7 +1327,7 @@ The following code shows how to add a link to the collection of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet29"::: The following XML shows how this property is serialized to Atom 1.0. @@ -1385,7 +1385,7 @@ The following example shows how to load a syndication item into a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet21"::: ]]> @@ -1444,7 +1444,7 @@ The following code shows how to load a syndication item of the specified type from an XML reader. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet37"::: ]]> @@ -1499,7 +1499,7 @@ The following code shows how to set the on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet30"::: The following XML shows how this property is serialized to Atom 1.0. @@ -1554,7 +1554,7 @@ The following code shows how to save a syndication item in Atom 1.0 format to the specified XML writer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet38"::: ]]> @@ -1597,7 +1597,7 @@ The following code shows how to save a syndication item in RSS 2.0 format to the specified XML writer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet39"::: ]]> @@ -1710,7 +1710,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet31"::: The following XML shows how the property is serialized to Atom 1.0. @@ -1773,7 +1773,7 @@ The following code shows how to set the property on a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/vb/snippets.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationitem/snippets.vb" id="Snippet32"::: The following XML shows how the property is serialized to Atom 1.0. diff --git a/xml/System.ServiceModel.Syndication/SyndicationLink.xml b/xml/System.ServiceModel.Syndication/SyndicationLink.xml index 40b5ff7c1d2..356fc62cb50 100644 --- a/xml/System.ServiceModel.Syndication/SyndicationLink.xml +++ b/xml/System.ServiceModel.Syndication/SyndicationLink.xml @@ -57,7 +57,7 @@ The following example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet0"::: ]]> @@ -162,7 +162,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet1"::: ]]> @@ -225,7 +225,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet0"::: ]]> @@ -270,7 +270,7 @@ The following code shows how to add an attribute extension to a syndication link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb" id="Snippet4"::: ]]> @@ -426,7 +426,7 @@ The following example shows how to create an alternate link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet4"::: ]]> @@ -472,7 +472,7 @@ The following example shows how to create an alternate link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet5"::: ]]> @@ -525,7 +525,7 @@ The following example shows how to create a media enclosure link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet6"::: ]]> @@ -592,7 +592,7 @@ The following example shows how to create a self link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet7"::: ]]> @@ -638,7 +638,7 @@ The following example shows how to create a self link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet8"::: ]]> @@ -683,7 +683,7 @@ The following code shows how to add an element extension to a syndication link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/looselytypedextensions/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/looselytypedextensions/snippets.vb" id="Snippet5"::: ]]> @@ -976,7 +976,7 @@ The following code shows how to set the title of a syndication link. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationlink/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationlink/snippets.vb" id="Snippet0"::: The following XML shows how the property is serialized to Atom 1.0. diff --git a/xml/System.ServiceModel.Syndication/SyndicationPerson.xml b/xml/System.ServiceModel.Syndication/SyndicationPerson.xml index 88515329944..ec971be5057 100644 --- a/xml/System.ServiceModel.Syndication/SyndicationPerson.xml +++ b/xml/System.ServiceModel.Syndication/SyndicationPerson.xml @@ -61,7 +61,7 @@ The following code shows how to add a to the authors collection of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet8"::: The following XML shows how a is serialized to Atom 1.0. @@ -186,7 +186,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet2"::: ]]> @@ -230,7 +230,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet3"::: ]]> @@ -277,7 +277,7 @@ The following code shows how to add an attribute extension to a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet9"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -326,7 +326,7 @@ The following code shows how to clone a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet14"::: ]]> @@ -375,7 +375,7 @@ The following code shows how to add an element extension to a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet10"::: The following XML shows how the collection is serialized to Atom 1.0. @@ -440,7 +440,7 @@ The following code shows how to set the email address of a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet11"::: The following XML shows how the is serialized for Atom 1.0. @@ -505,7 +505,7 @@ The following code shows how to set the name of a . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet12"::: The following XML shows how the is serialized for Atom 1.0. @@ -662,7 +662,7 @@ The following code shows how to set the URI for a instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationperson/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/vb/snippets.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationperson/snippets.vb" id="Snippet13"::: The following XML shows how the is serialized for Atom 1.0. diff --git a/xml/System.ServiceModel.Syndication/TextSyndicationContent.xml b/xml/System.ServiceModel.Syndication/TextSyndicationContent.xml index 19403c277e5..7c2d42f501a 100644 --- a/xml/System.ServiceModel.Syndication/TextSyndicationContent.xml +++ b/xml/System.ServiceModel.Syndication/TextSyndicationContent.xml @@ -57,7 +57,7 @@ The following example demonstrates how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcontent/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb" id="Snippet0"::: ]]> @@ -142,7 +142,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcontent/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb" id="Snippet1"::: :::code language="xml" source="~/snippets/common/VS_Snippets_CFX/syndicationcontent/common/rss.xml" id="Snippet1"::: ]]> @@ -196,7 +196,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcontent/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel.Syndication/UrlSyndicationContent.xml b/xml/System.ServiceModel.Syndication/UrlSyndicationContent.xml index 5c9bc3e5e78..66f727b67a7 100644 --- a/xml/System.ServiceModel.Syndication/UrlSyndicationContent.xml +++ b/xml/System.ServiceModel.Syndication/UrlSyndicationContent.xml @@ -52,7 +52,7 @@ The following example demonstrates how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcontent/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb" id="Snippet3"::: ]]> @@ -138,7 +138,7 @@ The following example demonstrates how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/syndicationcontent/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/syndicationcontent/snippets.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel.Web/WebChannelFactory`1.xml b/xml/System.ServiceModel.Web/WebChannelFactory`1.xml index b42b0d2f8da..0e2dce4c5a7 100644 --- a/xml/System.ServiceModel.Web/WebChannelFactory`1.xml +++ b/xml/System.ServiceModel.Web/WebChannelFactory`1.xml @@ -42,7 +42,7 @@ The following code shows how to use the class to call a WCF service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet0"::: For a full code example, see [Basic WCF REST Programming Model Sample](https://msdn.microsoft.com/library/d3265542-febc-4018-84ea-32ddcfd2d874). @@ -103,7 +103,7 @@ The following code shows how use this constructor to create a and use it to call a WCF service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet1"::: ]]> @@ -135,7 +135,7 @@ The following code shows how use this constructor to create a and use it to call a WCF service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following code shows how use this constructor to create a instance and use it to call a WCF service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet3"::: ]]> @@ -233,7 +233,7 @@ The following code shows how to use this constructor to create a instance and call a service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet4"::: ]]> @@ -267,7 +267,7 @@ The following code shows how to use this constructor to create a instance and call a service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet5"::: ]]> @@ -306,7 +306,7 @@ The following code shows how to use this constructor to create a instance and call a service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/basicwebprogramming/cs/snippets.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/vb/snippets.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/basicwebprogramming/snippets.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel.Web/WebGetAttribute.xml b/xml/System.ServiceModel.Web/WebGetAttribute.xml index 015f32b6d25..b7241e4cd56 100644 --- a/xml/System.ServiceModel.Web/WebGetAttribute.xml +++ b/xml/System.ServiceModel.Web/WebGetAttribute.xml @@ -41,7 +41,7 @@ The following example shows how to use the attribute. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet0"::: ]]> @@ -96,7 +96,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet1"::: ]]> @@ -220,7 +220,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet2"::: ]]> @@ -257,7 +257,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet3"::: ]]> @@ -440,7 +440,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel.Web/WebInvokeAttribute.xml b/xml/System.ServiceModel.Web/WebInvokeAttribute.xml index 7ce97f99c36..1555d2728cd 100644 --- a/xml/System.ServiceModel.Web/WebInvokeAttribute.xml +++ b/xml/System.ServiceModel.Web/WebInvokeAttribute.xml @@ -42,7 +42,7 @@ > Because the property is not specified in the following code, all service operations are mapped to the HTTP POST method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet5"::: ]]> @@ -100,7 +100,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet6"::: ]]> @@ -224,7 +224,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet7"::: ]]> @@ -261,7 +261,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet8"::: ]]> @@ -298,7 +298,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet8"::: ]]> @@ -481,7 +481,7 @@ The following example shows how to set the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webattribute/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webattribute/program.vb" id="Snippet9"::: ]]> diff --git a/xml/System.ServiceModel.Web/WebOperationContext.xml b/xml/System.ServiceModel.Web/WebOperationContext.xml index 12955e8ecbf..b7f6f04954c 100644 --- a/xml/System.ServiceModel.Web/WebOperationContext.xml +++ b/xml/System.ServiceModel.Web/WebOperationContext.xml @@ -28,7 +28,7 @@ The following code shows how to retrieve the instance associated with the Web operation context of the current call. The code also shows how to set the HTTP status for the outgoing response. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/service.vb" id="Snippet0"::: ]]> @@ -649,7 +649,7 @@ The following code shows how to access the current instance. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb" id="Snippet2"::: ]]> @@ -734,7 +734,7 @@ The following code shows how to use the property to access the headers in the incoming HTTP request. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb" id="Snippet2"::: ]]> @@ -766,7 +766,7 @@ The following code shows how to get the content length, content type, and status code from the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb" id="Snippet3"::: ]]> @@ -798,7 +798,7 @@ The following code shows how to set the method, content type and add a header to the outgoing request. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/snippets.vb" id="Snippet4"::: ]]> @@ -830,7 +830,7 @@ The following code shows how to set the status of the outgoing response. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/advancedwebprogramming/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/advancedwebprogramming/service.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel.Web/WebServiceHost.xml b/xml/System.ServiceModel.Web/WebServiceHost.xml index 163892bbe7f..2ea01e5f5d1 100644 --- a/xml/System.ServiceModel.Web/WebServiceHost.xml +++ b/xml/System.ServiceModel.Web/WebServiceHost.xml @@ -32,7 +32,7 @@ The following example shows how to use the class to host a service that makes use of the WCF REST programming model. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webservicehost/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/program.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/program.vb" id="Snippet0"::: ]]> @@ -105,7 +105,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webservicehost/cs/snippets.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/snippets.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/snippets.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following example shows how to call this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/webservicehost/cs/snippets.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/vb/snippets.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/webservicehost/snippets.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/AddressFilterMode.xml b/xml/System.ServiceModel/AddressFilterMode.xml index 954a58c424b..594a58c9de9 100644 --- a/xml/System.ServiceModel/AddressFilterMode.xml +++ b/xml/System.ServiceModel/AddressFilterMode.xml @@ -28,7 +28,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ue_addressfilter/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ue_addressfilter/service.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel/AuditLevel.xml b/xml/System.ServiceModel/AuditLevel.xml index 7cb0387a25c..3bbb8905f54 100644 --- a/xml/System.ServiceModel/AuditLevel.xml +++ b/xml/System.ServiceModel/AuditLevel.xml @@ -44,7 +44,7 @@ The following example sets the and properties to one of the values. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/AuditLogLocation.xml b/xml/System.ServiceModel/AuditLogLocation.xml index 33b05392852..2321337b25a 100644 --- a/xml/System.ServiceModel/AuditLogLocation.xml +++ b/xml/System.ServiceModel/AuditLogLocation.xml @@ -48,7 +48,7 @@ The following example sets the property to one of the `AuditLogLocation` values: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/auditingsecurityevents/cs/auditingsecurityevents.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/vb/auditingsecurityevents.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/auditingsecurityevents/auditingsecurityevents.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/BasicHttpBinding.xml b/xml/System.ServiceModel/BasicHttpBinding.xml index aa5bc5600d6..8a7bd5d78c2 100644 --- a/xml/System.ServiceModel/BasicHttpBinding.xml +++ b/xml/System.ServiceModel/BasicHttpBinding.xml @@ -72,7 +72,7 @@ The following example shows how to programmatically configure . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/service.vb" id="Snippet1"::: ]]> @@ -131,7 +131,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/service.vb" id="Snippet2"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet3"::: ]]> @@ -213,12 +213,12 @@ This example initializes a new class with a binding specified by the configuration name `myBinding`. You must create a bindings section in the service's configuration file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet5"::: Then the name of the binding configuration is specified in the call to the constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/BasicHttpMessageSecurity.xml b/xml/System.ServiceModel/BasicHttpMessageSecurity.xml index db5a3cc607f..35aac7eeb33 100644 --- a/xml/System.ServiceModel/BasicHttpMessageSecurity.xml +++ b/xml/System.ServiceModel/BasicHttpMessageSecurity.xml @@ -45,7 +45,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet5"::: ]]> @@ -119,7 +119,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet7"::: ]]> @@ -173,7 +173,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel/BasicHttpSecurity.xml b/xml/System.ServiceModel/BasicHttpSecurity.xml index 3a3df521638..e7ef0d936ed 100644 --- a/xml/System.ServiceModel/BasicHttpSecurity.xml +++ b/xml/System.ServiceModel/BasicHttpSecurity.xml @@ -49,7 +49,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet8"::: ]]> @@ -135,7 +135,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet9"::: ]]> @@ -188,7 +188,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet10"::: ]]> @@ -310,7 +310,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uebasichttpbinding/cs/snippets.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/vb/snippets.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uebasichttpbinding/snippets.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ServiceModel/CallbackBehaviorAttribute.xml b/xml/System.ServiceModel/CallbackBehaviorAttribute.xml index c2769fdd9c6..7c3d4b41d33 100644 --- a/xml/System.ServiceModel/CallbackBehaviorAttribute.xml +++ b/xml/System.ServiceModel/CallbackBehaviorAttribute.xml @@ -97,7 +97,7 @@ The following code example shows a on a callback object that uses the object to determine which thread to marshal to, the property to enforce message validation, and the property to return exceptions as objects to the service for debugging purposes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> @@ -162,7 +162,7 @@ The following code example shows a on a callback object that uses the object to determine which thread to marshal to, the property to enforce message validation, and the property to return exceptions as objects to the service for debugging purposes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> @@ -391,7 +391,7 @@ The following code example shows a on a callback object that uses the object to determine which thread to marshal to, the property to enforce message validation, and the property to return exceptions as objects to the service for debugging purposes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> @@ -787,7 +787,7 @@ The following code example shows a on a callback object that uses the object to determine which thread to marshal to, the property to enforce message validation, and the property to return exceptions as objects to the service for debugging purposes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> @@ -841,7 +841,7 @@ The following code example shows a on a callback object that uses the object to determine which thread to marshal to, the property to enforce message validation, and the property to return exceptions as objects to the service for debugging purposes. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/ChannelFactory.xml b/xml/System.ServiceModel/ChannelFactory.xml index 648fe15a4ad..744c9a3217c 100644 --- a/xml/System.ServiceModel/ChannelFactory.xml +++ b/xml/System.ServiceModel/ChannelFactory.xml @@ -87,7 +87,7 @@ The following code example shows how to insert programmatically a client behavior prior to the creation of the channel object by the factory. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelfactorybehaviors/cs/client.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/client.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceModel/ChannelFactory`1.xml b/xml/System.ServiceModel/ChannelFactory`1.xml index ace7bd0f615..a0202902d3e 100644 --- a/xml/System.ServiceModel/ChannelFactory`1.xml +++ b/xml/System.ServiceModel/ChannelFactory`1.xml @@ -79,7 +79,7 @@ The following code example shows how to insert programmatically a client behavior prior to the creation of the channel object by the factory. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/channelfactorybehaviors/cs/client.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/vb/client.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/channelfactorybehaviors/client.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceModel/ClientBase`1.xml b/xml/System.ServiceModel/ClientBase`1.xml index 71ac9c06de5..1d90c4594d1 100644 --- a/xml/System.ServiceModel/ClientBase`1.xml +++ b/xml/System.ServiceModel/ClientBase`1.xml @@ -94,7 +94,7 @@ The following code example shows how the [ServiceModel Metadata Utility Tool (Svcutil.exe)](/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe) extends the class to create a WCF client class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/clientbase/cs/clientbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientbase/vb/clientbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientbase/clientbase.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ The following code example shows how a client uses this constructor in a `SampleServiceClient` class that extends the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicecontractattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/client.vb" id="Snippet3"::: ]]> @@ -228,7 +228,7 @@ The following code example shows how to use this constructor with a `SampleDuplexHelloClient` class to pass a callback object that listens for messages from the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> @@ -774,7 +774,7 @@ The following code shows how to use the property to set the username and password prior to calling the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/ClientCredentialsSecurityTokenManager.xml b/xml/System.ServiceModel/ClientCredentialsSecurityTokenManager.xml index 7dbf4e06f97..f179ca3e20a 100644 --- a/xml/System.ServiceModel/ClientCredentialsSecurityTokenManager.xml +++ b/xml/System.ServiceModel/ClientCredentialsSecurityTokenManager.xml @@ -50,7 +50,7 @@ The following code shows how you can override this class to create a custom Client Credentials Security Token Manager. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customcredentials/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/vb/client/client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customcredentials/client/client.vb" id="Snippet2"::: ]]> @@ -90,7 +90,7 @@ The following code shows how to override this constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/source.vb" id="Snippet8"::: ]]> @@ -235,7 +235,7 @@ The following code shows how to override this method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/clientcredentialssecuritytokenmanager/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/CommunicationException.xml b/xml/System.ServiceModel/CommunicationException.xml index 0a5267c1c40..c57b8ada15e 100644 --- a/xml/System.ServiceModel/CommunicationException.xml +++ b/xml/System.ServiceModel/CommunicationException.xml @@ -80,7 +80,7 @@ The following code example shows a client that handles types. This client also handles objects because the service has set to `true`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/DataContractFormatAttribute.xml b/xml/System.ServiceModel/DataContractFormatAttribute.xml index 2f93c56df99..7784ef2733f 100644 --- a/xml/System.ServiceModel/DataContractFormatAttribute.xml +++ b/xml/System.ServiceModel/DataContractFormatAttribute.xml @@ -66,7 +66,7 @@ The following example applies the and sets the property to . The RPC style is described in the Web Service Description Language specification (WSDL). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/datacontractformatattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/datacontractformatattribute/source.vb" id="Snippet1"::: :::code language="vb" source="~/snippets/csharp/VS_Snippets_CFX/datacontractformatattribute/cs/vb/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/DeliveryRequirementsAttribute.xml b/xml/System.ServiceModel/DeliveryRequirementsAttribute.xml index 064db7b7aa6..19375d55194 100644 --- a/xml/System.ServiceModel/DeliveryRequirementsAttribute.xml +++ b/xml/System.ServiceModel/DeliveryRequirementsAttribute.xml @@ -72,7 +72,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uedeliveryrequirementsattribute/cs/snippet1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet1.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example uses the attribute to instruct WCF to confirm at runtime that the actual binding does not support queued contracts but does support ordered messages. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uedeliveryrequirementsattribute/cs/snippet1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet1.vb" id="Snippet1"::: ]]> @@ -223,7 +223,7 @@ The following code example uses the attribute to instruct WCF to confirm at runtime that the actual binding does support ordered messages. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uedeliveryrequirementsattribute/cs/snippet1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet1.vb" id="Snippet1"::: ]]> @@ -465,7 +465,7 @@ The following code example uses the attribute to instruct WCF to confirm at runtime that the actual binding does not support queued contracts but does support ordered messages. It also specifies the target contract to which this restriction should be applied. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uedeliveryrequirementsattribute/cs/snippet2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/vb/snippet2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uedeliveryrequirementsattribute/snippet2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/DuplexClientBase`1.xml b/xml/System.ServiceModel/DuplexClientBase`1.xml index 32693f91375..23772b89339 100644 --- a/xml/System.ServiceModel/DuplexClientBase`1.xml +++ b/xml/System.ServiceModel/DuplexClientBase`1.xml @@ -78,7 +78,7 @@ The following example shows the use in the client of a duplex WCF client type, the `SampleDuplexHelloClient`, to pass a new object with the callback object to listen for callbacks. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/callbackbehaviorattribute/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/callbackbehaviorattribute/client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/EndpointAddress10.xml b/xml/System.ServiceModel/EndpointAddress10.xml index 9c00d73c232..0834803e497 100644 --- a/xml/System.ServiceModel/EndpointAddress10.xml +++ b/xml/System.ServiceModel/EndpointAddress10.xml @@ -42,7 +42,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddress10/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/source.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddress10/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/source.vb" id="Snippet1"::: ]]> @@ -243,7 +243,7 @@ This member is an explicit interface member implementation. It can be used only This example shows how convert an `EndpointAddress10` into an `EndpointAddress`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddress10/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddress10/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/EndpointAddressAugust2004.xml b/xml/System.ServiceModel/EndpointAddressAugust2004.xml index 4ccb1a41322..e90bfd5e431 100644 --- a/xml/System.ServiceModel/EndpointAddressAugust2004.xml +++ b/xml/System.ServiceModel/EndpointAddressAugust2004.xml @@ -42,7 +42,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddressaugust2004/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/source.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddressaugust2004/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/source.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ This member is an explicit interface member implementation. It can be used only ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/endpointaddressaugust2004/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/endpointaddressaugust2004/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/EndpointAddressBuilder.xml b/xml/System.ServiceModel/EndpointAddressBuilder.xml index d2e5d7b80fe..3d4406ff9a2 100644 --- a/xml/System.ServiceModel/EndpointAddressBuilder.xml +++ b/xml/System.ServiceModel/EndpointAddressBuilder.xml @@ -56,7 +56,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet0"::: ]]> @@ -104,7 +104,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet2"::: ]]> @@ -197,7 +197,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet5"::: ]]> @@ -236,7 +236,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet8"::: ]]> @@ -289,7 +289,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet3"::: ]]> @@ -346,7 +346,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet4"::: ]]> @@ -387,7 +387,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet6"::: ]]> @@ -428,7 +428,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet9"::: ]]> @@ -476,7 +476,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet7"::: ]]> @@ -533,7 +533,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueendpointaddressbuilder/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueendpointaddressbuilder/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/EnvelopeVersion.xml b/xml/System.ServiceModel/EnvelopeVersion.xml index 98681434fb0..a51f5f83390 100644 --- a/xml/System.ServiceModel/EnvelopeVersion.xml +++ b/xml/System.ServiceModel/EnvelopeVersion.xml @@ -56,7 +56,7 @@ The following code shows how to access the methods and properties of . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet0"::: ]]> @@ -104,7 +104,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet5"::: ]]> @@ -152,7 +152,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet4"::: ]]> @@ -207,7 +207,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet3"::: ]]> @@ -260,7 +260,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet2"::: ]]> @@ -361,7 +361,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueenvelopeversion/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueenvelopeversion/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel/FaultContractAttribute.xml b/xml/System.ServiceModel/FaultContractAttribute.xml index 6b32c1e58a1..a79e90d115b 100644 --- a/xml/System.ServiceModel/FaultContractAttribute.xml +++ b/xml/System.ServiceModel/FaultContractAttribute.xml @@ -90,12 +90,12 @@ > The following code examples do not set the , , or properties. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_fca/cs/fcademo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_fca/vb/fcademo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_fca/fcademo.vb" id="Snippet1"::: Then, in your service method, throw a new where the type parameter is the type that contains the error information (in the above case, a ). For example: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_fca/cs/fcademo.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_fca/vb/fcademo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_fca/fcademo.vb" id="Snippet2"::: The preceding example is very basic; almost any information can be passed using an code, so this detail type is not the most useful. Typically, WCF applications specify SOAP faults with detail types specific to the error information requirements of the client. For a more complete example, see the Example section. @@ -117,12 +117,12 @@ The following code example shows the use of to specify that the `SampleMethod` operation can return a SOAP fault with the detail type of `GreetingFault`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Host/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb" id="Snippet1"::: The following code example shows that WCF clients of `ISampleService` experience this SOAP fault as a of type `GreetingFault`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Client/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/client.vb" id="Snippet3"::: ]]> @@ -171,7 +171,7 @@ The following code example shows the use of to specify that the `SampleMethod` operation can return a SOAP fault with the detail type of `GreetingFault`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Host/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb" id="Snippet1"::: ]]> @@ -269,7 +269,7 @@ The following code example shows the use of to specify that the `SampleMethod` operation can return a SOAP fault with the detail type of `GreetingFault`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Host/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/FaultException.xml b/xml/System.ServiceModel/FaultException.xml index 467123647fd..c2bedd59144 100644 --- a/xml/System.ServiceModel/FaultException.xml +++ b/xml/System.ServiceModel/FaultException.xml @@ -94,7 +94,7 @@ The following code example shows the use of a try/catch block to catch and handle objects thrown from a service. This often occurs when debugging is turned on in the service application. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/ierrorhandler/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/ierrorhandler/client.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/FaultException`1.xml b/xml/System.ServiceModel/FaultException`1.xml index a4284dc427b..b579a627191 100644 --- a/xml/System.ServiceModel/FaultException`1.xml +++ b/xml/System.ServiceModel/FaultException`1.xml @@ -75,7 +75,7 @@ The following code example shows how a service uses the type to throw a managed exception that gets converted into the SOAP fault specified by the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Host/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb" id="Snippet1"::: The following code example shows how the client code looks when imported by the client using the [ServiceModel Metadata Utility Tool (Svcutil.exe)](/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe). @@ -84,7 +84,7 @@ The following code example shows how a client can catch the type that represents the custom SOAP fault specified in the operation contract. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Client/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/client.vb" id="Snippet3"::: ]]> @@ -146,7 +146,7 @@ The following code example shows how a service uses the type to throw a managed exception that gets converted into the SOAP fault specified by the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/faultcontractattribute/cs/Host/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/faultcontractattribute/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/FederatedMessageSecurityOverHttp.xml b/xml/System.ServiceModel/FederatedMessageSecurityOverHttp.xml index c8657d99392..9a09cc5b0ee 100644 --- a/xml/System.ServiceModel/FederatedMessageSecurityOverHttp.xml +++ b/xml/System.ServiceModel/FederatedMessageSecurityOverHttp.xml @@ -80,7 +80,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet5"::: ]]> @@ -126,7 +126,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet11"::: ]]> @@ -201,7 +201,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet7"::: ]]> @@ -255,7 +255,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet4"::: ]]> @@ -308,7 +308,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet8"::: ]]> @@ -361,7 +361,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet9"::: ]]> @@ -412,7 +412,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet10"::: ]]> @@ -464,7 +464,7 @@ The following code shows how to access this property from the binding, and set it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel/HttpClientCredentialType.xml b/xml/System.ServiceModel/HttpClientCredentialType.xml index ae2969b7f7e..05f0fb16585 100644 --- a/xml/System.ServiceModel/HttpClientCredentialType.xml +++ b/xml/System.ServiceModel/HttpClientCredentialType.xml @@ -57,7 +57,7 @@ The following code shows how to set to a member of this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ServiceModel/HttpTransportSecurity.xml b/xml/System.ServiceModel/HttpTransportSecurity.xml index d2677281e46..4a12bce20d4 100644 --- a/xml/System.ServiceModel/HttpTransportSecurity.xml +++ b/xml/System.ServiceModel/HttpTransportSecurity.xml @@ -144,7 +144,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet11"::: ]]> diff --git a/xml/System.ServiceModel/ImpersonationOption.xml b/xml/System.ServiceModel/ImpersonationOption.xml index ea61fdb6f62..4f04bd8d833 100644 --- a/xml/System.ServiceModel/ImpersonationOption.xml +++ b/xml/System.ServiceModel/ImpersonationOption.xml @@ -40,7 +40,7 @@ The following code example on the service shows how to have a method impersonate the caller by using the to set the impersonation level. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_basic_service_behaviors_security_impersonation/service.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/InstanceContextMode.xml b/xml/System.ServiceModel/InstanceContextMode.xml index 70f772c731e..aee3c10c4ad 100644 --- a/xml/System.ServiceModel/InstanceContextMode.xml +++ b/xml/System.ServiceModel/InstanceContextMode.xml @@ -43,7 +43,7 @@ The `Single` value specifies that a single for a service class: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_reliablesession/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_reliablesession/service.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/MessageBodyMemberAttribute.xml b/xml/System.ServiceModel/MessageBodyMemberAttribute.xml index 644e8eed091..709b8d91412 100644 --- a/xml/System.ServiceModel/MessageBodyMemberAttribute.xml +++ b/xml/System.ServiceModel/MessageBodyMemberAttribute.xml @@ -70,7 +70,7 @@ The following code example shows the use of the to control the SOAP envelope structure for both the request message and the response message, and the use of both the (to create a SOAP header for the response message) and the (to specify the bodies of both the request and response message). The code example contains an example of each message when sent. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageheaderattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/MessageContractAttribute.xml b/xml/System.ServiceModel/MessageContractAttribute.xml index f1b8e16aabe..e12b3defc89 100644 --- a/xml/System.ServiceModel/MessageContractAttribute.xml +++ b/xml/System.ServiceModel/MessageContractAttribute.xml @@ -78,7 +78,7 @@ The following code example shows the use of the to control the SOAP envelope structure for both the request message and the response message, and the use of both the (to create a SOAP header for the response message) and the (to specify the bodies of both the request and response message). The code example contains an example of each message when sent. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageheaderattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb" id="Snippet1"::: ]]> @@ -352,7 +352,7 @@ The following code example shows the use of the to control the SOAP envelope structure for both the request message and the response message, and the use of both the (to create a SOAP header for the response message) and the (to specify the bodies of both the request and response message). The code example contains an example of each message when sent. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageheaderattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/MessageCredentialType.xml b/xml/System.ServiceModel/MessageCredentialType.xml index ba33c85bc5d..b32c2257f58 100644 --- a/xml/System.ServiceModel/MessageCredentialType.xml +++ b/xml/System.ServiceModel/MessageCredentialType.xml @@ -55,7 +55,7 @@ The following code shows how to access and set to a member of this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet5"::: ]]> diff --git a/xml/System.ServiceModel/MessageHeaderAttribute.xml b/xml/System.ServiceModel/MessageHeaderAttribute.xml index b2232ef1088..4ae341a02cb 100644 --- a/xml/System.ServiceModel/MessageHeaderAttribute.xml +++ b/xml/System.ServiceModel/MessageHeaderAttribute.xml @@ -100,7 +100,7 @@ The following code example shows the use of the to create a SOAP header for the response message with the , and properties set to values appropriate for this header. The code example is followed by an example of the message when sent. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageheaderattribute/cs/services.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb" id="Snippet4"::: ]]> @@ -240,7 +240,7 @@ The following code example shows the use of the to create a SOAP header for the response message with the , and properties set to values appropriate for this header. The code example is followed by an example of the message when sent. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageheaderattribute/cs/services.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/vb/services.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageheaderattribute/services.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/MessageParameterAttribute.xml b/xml/System.ServiceModel/MessageParameterAttribute.xml index 340378ba428..f36206109cc 100644 --- a/xml/System.ServiceModel/MessageParameterAttribute.xml +++ b/xml/System.ServiceModel/MessageParameterAttribute.xml @@ -69,12 +69,12 @@ The following code example shows the use of to establish the name of the parameter and the return value in metadata. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/services.vb" id="Snippet1"::: The following example shows the generated service contract for the preceding service. Note that the name of the parameter is now `Input`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/proxycode.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/proxycode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/proxycode.vb" id="Snippet2"::: ]]> @@ -120,12 +120,12 @@ The following code example shows the use of to establish the name of the parameter and the return value in metadata. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/services.vb" id="Snippet1"::: The following example shows the generated service contract for the preceding service. Note that the name of the parameter is now `Input`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/proxycode.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/proxycode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/proxycode.vb" id="Snippet2"::: ]]> @@ -175,12 +175,12 @@ The following code example shows the use of to establish the name of the parameter and the return value in metadata. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/services.vb" id="Snippet1"::: The following example shows the generated service contract for the preceding service. Note that the name of the parameter is now `Input`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messageparameterattribute/cs/proxycode.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/vb/proxycode.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messageparameterattribute/proxycode.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/MessagePropertyAttribute.xml b/xml/System.ServiceModel/MessagePropertyAttribute.xml index 3c1db99a9f4..67a4bd54676 100644 --- a/xml/System.ServiceModel/MessagePropertyAttribute.xml +++ b/xml/System.ServiceModel/MessagePropertyAttribute.xml @@ -62,7 +62,7 @@ The following code example demonstrates the use of the attribute. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/messagepropertyattribute/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/messagepropertyattribute/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel/MessageSecurityOverHttp.xml b/xml/System.ServiceModel/MessageSecurityOverHttp.xml index 5a28baf8bb3..dac0454381e 100644 --- a/xml/System.ServiceModel/MessageSecurityOverHttp.xml +++ b/xml/System.ServiceModel/MessageSecurityOverHttp.xml @@ -119,7 +119,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet8"::: ]]> @@ -276,7 +276,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.ServiceModel/MessageSecurityOverMsmq.xml b/xml/System.ServiceModel/MessageSecurityOverMsmq.xml index b59fc152230..b9ccd8b3c5b 100644 --- a/xml/System.ServiceModel/MessageSecurityOverMsmq.xml +++ b/xml/System.ServiceModel/MessageSecurityOverMsmq.xml @@ -26,7 +26,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemessagesecurityovermsmq/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/program.vb" id="Snippet1"::: ]]> @@ -88,7 +88,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemessagesecurityovermsmq/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/program.vb" id="Snippet2"::: ]]> @@ -148,7 +148,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uemessagesecurityovermsmq/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uemessagesecurityovermsmq/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/MessageSecurityOverTcp.xml b/xml/System.ServiceModel/MessageSecurityOverTcp.xml index 9fc7755a416..04bc7a15e09 100644 --- a/xml/System.ServiceModel/MessageSecurityOverTcp.xml +++ b/xml/System.ServiceModel/MessageSecurityOverTcp.xml @@ -134,7 +134,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uemessagesecurityovertcp/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/source.vb" id="Snippet2"::: ]]> @@ -206,7 +206,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uemessagesecurityovertcp/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/NetMsmqBinding.xml b/xml/System.ServiceModel/NetMsmqBinding.xml index c5a531d22bc..16575ef414b 100644 --- a/xml/System.ServiceModel/NetMsmqBinding.xml +++ b/xml/System.ServiceModel/NetMsmqBinding.xml @@ -36,13 +36,13 @@ Next, the actual service code. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_msmq_default/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/service.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_msmq_default/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/service.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_msmq_default/cs/hostapp.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/vb/hostapp.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_msmq_default/hostapp.vb" id="Snippet10"::: ]]> diff --git a/xml/System.ServiceModel/NetMsmqSecurity.xml b/xml/System.ServiceModel/NetMsmqSecurity.xml index 62425ceab84..78d9067dd3c 100644 --- a/xml/System.ServiceModel/NetMsmqSecurity.xml +++ b/xml/System.ServiceModel/NetMsmqSecurity.xml @@ -26,7 +26,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uenetmsmqsecurity/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb" id="Snippet1"::: ]]> @@ -97,7 +97,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uenetmsmqsecurity/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb" id="Snippet2"::: ]]> @@ -150,7 +150,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uenetmsmqsecurity/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb" id="Snippet3"::: ]]> @@ -196,7 +196,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uenetmsmqsecurity/cs/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uenetmsmqsecurity/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/NonDualMessageSecurityOverHttp.xml b/xml/System.ServiceModel/NonDualMessageSecurityOverHttp.xml index eeeadd30934..be83b6268b8 100644 --- a/xml/System.ServiceModel/NonDualMessageSecurityOverHttp.xml +++ b/xml/System.ServiceModel/NonDualMessageSecurityOverHttp.xml @@ -117,7 +117,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uemessagesecurityovertcp/cs/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/vb/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uemessagesecurityovertcp/source.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel/OperationBehaviorAttribute.xml b/xml/System.ServiceModel/OperationBehaviorAttribute.xml index cc7ff9c9498..c07bce64640 100644 --- a/xml/System.ServiceModel/OperationBehaviorAttribute.xml +++ b/xml/System.ServiceModel/OperationBehaviorAttribute.xml @@ -53,7 +53,7 @@ The following code example shows an operation that executes within a mandatory distributed transaction. The property indicates that the method executes under the caller's transaction and the property indicates that if no unhandled exceptions occur, the transaction commits automatically. If an unhandled exception does occur, the transaction is aborted. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute_transaction/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/services.vb" id="Snippet2"::: ]]> @@ -176,12 +176,12 @@ The following service code example requires impersonation by setting the property to . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute_impersonation/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/services.vb" id="Snippet1"::: The following code example shows using the property to set the client application credentials prior to invoking the operation that requires those credentials for impersonation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute_impersonation/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_impersonation/client.vb" id="Snippet3"::: ]]> @@ -242,7 +242,7 @@ The following example code shows the use of to recycle service objects both before and after a call. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/oba.releaseinstancemode/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/services.vb" id="Snippet1"::: ]]> @@ -411,7 +411,7 @@ The following code example shows an operation that executes within a mandatory distributed transaction. The property indicates that the operation executes under a transaction scope and the property indicates that if no unhandled exceptions occur, the transaction scope is completed automatically. If an unhandled exception does occur, the transaction is aborted. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute_transaction/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/services.vb" id="Snippet2"::: ]]> @@ -467,7 +467,7 @@ The following code example shows an operation that executes within a mandatory distributed transaction. The property indicates that the operation executes under a transaction scope and the property indicates that if no unhandled exceptions occur, the transaction scope is completed automatically. If an unhandled exception does occur, the transaction is aborted. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute_transaction/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute_transaction/services.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/OperationContext.xml b/xml/System.ServiceModel/OperationContext.xml index ba8ac630832..164fd450a50 100644 --- a/xml/System.ServiceModel/OperationContext.xml +++ b/xml/System.ServiceModel/OperationContext.xml @@ -92,7 +92,7 @@ The following code example uses the property and method to obtain the channel back to the caller from within a method. All methods in this example are one-way methods, enabling the service and the client to communicate in both directions independently. In this case, the example client application expects only one return call before it exits, but another client, for example a Windows Forms client, can receive any number of calls from the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb" id="Snippet1"::: The following client implements the `SampleDuplexHelloCallback` to receive the callback message. The imported callback contract is not the same name as the one in the service, due to the use of the property in the preceding example. Note that the client makes no assumptions about whether or when it might receive a callback; the server callback is entirely independent of the client's outbound call. @@ -100,7 +100,7 @@ > For an example that uses the class in a client scenario, see . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/client.vb" id="Snippet3"::: ]]> @@ -149,7 +149,7 @@ The following example shows how to use the to create a new context in a client application in order to add a custom header to the outgoing message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontextscope/cs/client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb" id="Snippet4"::: ]]> @@ -265,7 +265,7 @@ The following code example uses the property and method to create a channel back to the caller from within a method. All methods in this example are one-way methods, enabling the service and the client to communicate in both directions independently. In this case, the example client application expects only one return call before it exits, but another client, for example a Windows Forms client, can receive any number of calls from the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb" id="Snippet1"::: ]]> @@ -399,7 +399,7 @@ The following code example uses the property and method to create a channel back to the caller from within a operation. All operations in this example are one-way operations, enabling the service and the client to communicate in both directions independently. In this case, the example client application expects only one return call before it exits, but another client, for example a Windows Forms client, can receive any number of calls from the service. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb" id="Snippet1"::: The following client implements the `SampleDuplexHelloCallback` to receive the callback message. The imported callback contract is not the same name as the one in the service, due to the use of the property in the preceding example. Note that the client makes no assumptions about whether or when it might receive a callback; the server callback is entirely independent of the client's outbound call. @@ -407,7 +407,7 @@ > For an example that uses the class in a client scenario, see . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/client.vb" id="Snippet3"::: ]]> @@ -513,7 +513,7 @@ The following code example shows how to read the incoming message headers in a service operation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontextscope/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/services.vb" id="Snippet2"::: ]]> @@ -768,7 +768,7 @@ The following example shows how to use the to create a new context in a client application in order to add a custom header to the outgoing message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontextscope/cs/client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/OperationContextScope.xml b/xml/System.ServiceModel/OperationContextScope.xml index be6300bf97a..cbf98e953b4 100644 --- a/xml/System.ServiceModel/OperationContextScope.xml +++ b/xml/System.ServiceModel/OperationContextScope.xml @@ -75,7 +75,7 @@ The following example shows how to use the to create a new context in a client application to add a custom header to the outgoing message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontextscope/cs/client.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb" id="Snippet3"::: ]]> @@ -136,7 +136,7 @@ The following example shows how to use the to create a new context in a client application in order to add a custom header to the outgoing message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontextscope/cs/client.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/vb/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontextscope/client.vb" id="Snippet4"::: ]]> diff --git a/xml/System.ServiceModel/OperationContractAttribute.xml b/xml/System.ServiceModel/OperationContractAttribute.xml index 261db036fe1..036fb3a8258 100644 --- a/xml/System.ServiceModel/OperationContractAttribute.xml +++ b/xml/System.ServiceModel/OperationContractAttribute.xml @@ -98,7 +98,7 @@ The following code example shows a simple service contract with one operation. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontractattribute/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute/services.vb" id="Snippet1"::: The following example is a service that implements an implicit service contract that specifies three operations. Two of the operations are two-way operations, which return underlying response messages to the caller no matter what the return value is. The third operation receives a call, an underlying inbound message, but returns no underlying response message. @@ -224,7 +224,7 @@ public class OneAndTwoWay The following example is a service that uses the and properties to explicitly control the SOAP actions of both the input and output (or reply) messages, and the property to control the name of the operation in metadata. Finally, the application also uses an value of "*" to indicate a method that handles unrecognized messages. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontractattribute_properties/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/services.vb" id="Snippet1"::: A service that implements this contract sends messages that look like the following example: @@ -710,7 +710,7 @@ public class InitializeAndTerminateService The following code example uses the property to declare the name of the operation as exposed in metadata. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontractattribute_properties/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/services.vb" id="Snippet1"::: ]]> @@ -834,7 +834,7 @@ public class InitializeAndTerminateService The following example is a service that uses the and properties to explicitly control the SOAP actions of both the input and output (or reply) messages. It also uses the property to declare the name of the operation as exposed in metadata. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationcontractattribute_properties/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationcontractattribute_properties/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/OperationFormatStyle.xml b/xml/System.ServiceModel/OperationFormatStyle.xml index 67114a0e247..8425c094947 100644 --- a/xml/System.ServiceModel/OperationFormatStyle.xml +++ b/xml/System.ServiceModel/OperationFormatStyle.xml @@ -73,7 +73,7 @@ The following code shows how to use this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/style_and_use/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/style_and_use/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/style_and_use/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel/OperationFormatUse.xml b/xml/System.ServiceModel/OperationFormatUse.xml index 8b51917a824..c23a081b7c3 100644 --- a/xml/System.ServiceModel/OperationFormatUse.xml +++ b/xml/System.ServiceModel/OperationFormatUse.xml @@ -69,7 +69,7 @@ The following code shows how to use this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/style_and_use/cs/source.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/style_and_use/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/style_and_use/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel/OptionalReliableSession.xml b/xml/System.ServiceModel/OptionalReliableSession.xml index 383443912a7..f18f767f5e5 100644 --- a/xml/System.ServiceModel/OptionalReliableSession.xml +++ b/xml/System.ServiceModel/OptionalReliableSession.xml @@ -53,7 +53,7 @@ The following example shows how to create a new reliable session, access and change the default values of that session. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueoptionalreliablesession/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/source.vb" id="Snippet0"::: ]]> @@ -194,7 +194,7 @@ The following example shows how to create a new reliable session, access and change the default values of that session. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueoptionalreliablesession/cs/program.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/vb/source.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueoptionalreliablesession/source.vb" id="Snippet0"::: ]]> diff --git a/xml/System.ServiceModel/ReleaseInstanceMode.xml b/xml/System.ServiceModel/ReleaseInstanceMode.xml index 1f581ef0fcf..c2f65667e8a 100644 --- a/xml/System.ServiceModel/ReleaseInstanceMode.xml +++ b/xml/System.ServiceModel/ReleaseInstanceMode.xml @@ -28,7 +28,7 @@ The following example code shows the use of to recycle service objects both before and after a call. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/oba.releaseinstancemode/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/oba.releaseinstancemode/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/ReliableSession.xml b/xml/System.ServiceModel/ReliableSession.xml index ac8b6ec7b00..adc4ed6d90d 100644 --- a/xml/System.ServiceModel/ReliableSession.xml +++ b/xml/System.ServiceModel/ReliableSession.xml @@ -49,7 +49,7 @@ The following example shows how to create a new reliable session, and access and change the property values of that session. The class allows you to write: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uereliablesession/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uereliablesession/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb" id="Snippet1"::: ]]> @@ -183,7 +183,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uereliablesession/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb" id="Snippet2"::: ]]> @@ -235,7 +235,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/uereliablesession/cs/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/uereliablesession/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/SecurityMode.xml b/xml/System.ServiceModel/SecurityMode.xml index 4d706e57edc..9794209a647 100644 --- a/xml/System.ServiceModel/SecurityMode.xml +++ b/xml/System.ServiceModel/SecurityMode.xml @@ -59,7 +59,7 @@ The following example sets the `Mode` property of the . For more examples, see [How to: Set the Security Mode](/dotnet/framework/wcf/how-to-set-the-security-mode). :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_settingsecuritymode/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_settingsecuritymode/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/ServiceAuthorizationManager.xml b/xml/System.ServiceModel/ServiceAuthorizationManager.xml index 2e513dcbf4b..c02530eff58 100644 --- a/xml/System.ServiceModel/ServiceAuthorizationManager.xml +++ b/xml/System.ServiceModel/ServiceAuthorizationManager.xml @@ -51,7 +51,7 @@ The following example shows a class named `MyServiceAuthorizationManager` that inherits from the and overrides the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customauthmgr/cs/c_customauthmgr.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/vb/c_customauthmgr.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/c_customauthmgr.vb" id="Snippet2"::: ]]> @@ -137,7 +137,7 @@ The following code shows how to override this method to enforce custom access control requirements. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_federation/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federation/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federation/source.vb" id="Snippet1"::: ]]> @@ -191,7 +191,7 @@ The following code shows how to override this method to enforce custom access control requirements that require access to the message body. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_federation/cs/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federation/vb/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_federation/source.vb" id="Snippet6"::: ]]> @@ -241,7 +241,7 @@ The following example shows an override of the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_customauthmgr/cs/c_customauthmgr.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/vb/c_customauthmgr.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_customauthmgr/c_customauthmgr.vb" id="Snippet6"::: For another example, see [How to: Create a Custom Authorization Manager for a Service](/dotnet/framework/wcf/extending/how-to-create-a-custom-authorization-manager-for-a-service). diff --git a/xml/System.ServiceModel/ServiceBehaviorAttribute.xml b/xml/System.ServiceModel/ServiceBehaviorAttribute.xml index a5b7125a14f..b5056afef04 100644 --- a/xml/System.ServiceModel/ServiceBehaviorAttribute.xml +++ b/xml/System.ServiceModel/ServiceBehaviorAttribute.xml @@ -80,7 +80,7 @@ Furthermore, at the operation level, the values indicate that the `TxWork` method automatically enlists in flowed transactions or creates a new transaction to do the work, and that the transaction is committed automatically if an unhandled exception does not occur. [!code-csharp[OperationBehaviorAttribute1#2](~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute1/cs/services.cs#2)] - [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb#2)] + [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb#2)] The underlying binding must support flowed transactions for the following code example to execute properly. To support flowed transactions using the , for example, set the property to `true` in code or in an application configuration file. The following code example shows the configuration file for the preceding sample. @@ -533,7 +533,7 @@ public void MyMethod() Furthermore, at the operation level, the values indicate that the `TxWork` method automatically enlists in flowed transactions or creates a new transaction to do the work, and that the transaction is committed automatically if an unhandled exception does not occur. [!code-csharp[OperationBehaviorAttribute1#2](~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute1/cs/services.cs#2)] - [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb#2)] + [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb#2)] The underlying binding must support flowed transactions for the following code example to execute properly. To support flowed transactions using the , for example, set the property to `true` in code or in an application configuration file. The following code example shows the configuration file for the preceding sample. @@ -599,7 +599,7 @@ public void MyMethod() Furthermore, at the operation level, the values indicate that the `TxWork` method automatically enlists in flowed transactions or creates a new transaction to do the work, and that the transaction is committed automatically if an unhandled exception does not occur. [!code-csharp[OperationBehaviorAttribute1#2](~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute1/cs/services.cs#2)] - [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb#2)] + [!code-vb[OperationBehaviorAttribute1#2](~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb#2)] The underlying binding must support flowed transactions for the following code example to execute properly. To support flowed transactions using the , for example, set the property to `true` in code or in an application configuration file. The following code example shows the configuration file for the preceding sample. @@ -769,7 +769,7 @@ public void MyMethod() The following code example sets the transaction isolation level to , disables support for concurrent transactions, requires a flowed transaction from the operation call, and commits the transaction on the service automatically if no unhandled exception occurs. [!code-csharp[SBA.Transactions#2](~/snippets/csharp/VS_Snippets_CFX/sba.transactions/cs/services.cs#2)] - [!code-vb[SBA.Transactions#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/services.vb#2)] + [!code-vb[SBA.Transactions#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/services.vb#2)] The underlying binding must support flowed transactions for the following code example to execute properly. To support flowed transactions using the , for example, set the property to `true` in code or in an application configuration file. The following code example shows a configuration file for the preceding sample. @@ -1115,7 +1115,7 @@ public void MyMethod() The following code example sets the transaction isolation level to , does not support concurrent transactions, requires a flowed transaction from the method call, and commits the transaction automatically if no unhandled exception occurs. [!code-csharp[SBA.Transactions#2](~/snippets/csharp/VS_Snippets_CFX/sba.transactions/cs/services.cs#2)] - [!code-vb[SBA.Transactions#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/vb/services.vb#2)] + [!code-vb[SBA.Transactions#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactions/services.vb#2)] The underlying binding must support flowed transactions for the following code example to execute properly. To support flowed transactions using the , for example, set the property to `true` in code or in an application configuration file. The following code example shows a configuration file for the preceding sample. @@ -1163,7 +1163,7 @@ public void MyMethod() The following configuration file specifies a transaction timeout period of three minutes. [!code-csharp[SBA.TransactionTimeout#2](~/snippets/csharp/VS_Snippets_CFX/sba.transactiontimeout/cs/services.cs#2)] - [!code-vb[SBA.TransactionTimeout#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/vb/services.vb#2)] + [!code-vb[SBA.TransactionTimeout#2](~/snippets/visualbasic/VS_Snippets_CFX/sba.transactiontimeout/services.vb#2)] ]]> diff --git a/xml/System.ServiceModel/ServiceContractAttribute.xml b/xml/System.ServiceModel/ServiceContractAttribute.xml index 37d555b8b8f..72f3a287d6a 100644 --- a/xml/System.ServiceModel/ServiceContractAttribute.xml +++ b/xml/System.ServiceModel/ServiceContractAttribute.xml @@ -97,7 +97,7 @@ The code example then implements that contract on the `SampleService` class. [!code-csharp[ServiceContractAttribute#1](~/snippets/csharp/VS_Snippets_CFX/servicecontractattribute/cs/services.cs#1)] - [!code-vb[ServiceContractAttribute#1](~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/services.vb#1)] + [!code-vb[ServiceContractAttribute#1](~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/services.vb#1)] The following code example shows a simple configuration file for the preceding service that creates one endpoint. @@ -106,7 +106,7 @@ The following code example shows a simple client that invokes the preceding `SampleService`. [!code-csharp[ServiceContractAttribute#3](~/snippets/csharp/VS_Snippets_CFX/servicecontractattribute/cs/client.cs#3)] - [!code-vb[ServiceContractAttribute#3](~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/vb/client.vb#3)] + [!code-vb[ServiceContractAttribute#3](~/snippets/visualbasic/VS_Snippets_CFX/servicecontractattribute/client.vb#3)] ]]> @@ -217,7 +217,7 @@ The following code example shows a service that specifies a callback contract, which indicates that a service of type `IDuplexHello` must have a correspondent that implements a service of type `IHelloCallbackContract`. In addition, `IHelloCallbackContract` implements a one-way callback method, enabling the service to call the client without waiting for a reply to support a distributed, event-driven client. [!code-csharp[SCA.CallbackContract#1](~/snippets/csharp/VS_Snippets_CFX/sca.callbackcontract/cs/services.cs#1)] - [!code-vb[SCA.CallbackContract#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/vb/services.vb#1)] + [!code-vb[SCA.CallbackContract#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.callbackcontract/services.vb#1)] ]]> @@ -365,12 +365,12 @@ The following code example shows how to use the and properties of the to set the corresponding values in WSDL. [!code-csharp[SCA.Names#1](~/snippets/csharp/VS_Snippets_CFX/sca.names/cs/services.cs#1)] - [!code-vb[SCA.Names#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/services.vb#1)] + [!code-vb[SCA.Names#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/services.vb#1)] The following code example shows an Windows Communication Foundation (WCF) client for the preceding service that imported WSDL using the [ServiceModel Metadata Utility Tool (Svcutil.exe)](/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe). This client uses a `HelloWorldProxy` client rather than a `SampleServiceProxy` client (as is the case with the sample in the Example section of ). [!code-csharp[SCA.Names#3](~/snippets/csharp/VS_Snippets_CFX/sca.names/cs/client.cs#3)] - [!code-vb[SCA.Names#3](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vb#3)] + [!code-vb[SCA.Names#3](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/client.vb#3)] ]]> @@ -422,12 +422,12 @@ The following code example shows how to use the and properties of the to set the corresponding values in WSDL. [!code-csharp[SCA.Names#1](~/snippets/csharp/VS_Snippets_CFX/sca.names/cs/services.cs#1)] - [!code-vb[SCA.Names#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/services.vb#1)] + [!code-vb[SCA.Names#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/services.vb#1)] The following code example shows an Windows Communication Foundation (WCF) client for the preceding service that imported WSDL using the [ServiceModel Metadata Utility Tool (Svcutil.exe)](/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe). This client uses a `HelloWorldClient` client rather than a `SampleServiceClient` client (as is the case with the sample in the Example section of ). [!code-csharp[SCA.Names#3](~/snippets/csharp/VS_Snippets_CFX/sca.names/cs/client.cs#3)] - [!code-vb[SCA.Names#3](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/vb/client.vb#3)] + [!code-vb[SCA.Names#3](~/snippets/visualbasic/VS_Snippets_CFX/sca.names/client.vb#3)] ]]> @@ -562,7 +562,7 @@ The following service contract requires that configured bindings use sessions when interacting with `SampleDuplexHello` service implementations. [!code-csharp[SCA.Session#1](~/snippets/csharp/VS_Snippets_CFX/sca.session/cs/services.cs#1)] - [!code-vb[SCA.Session#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/services.vb#1)] + [!code-vb[SCA.Session#1](~/snippets/visualbasic/VS_Snippets_CFX/sca.session/services.vb#1)] ]]> diff --git a/xml/System.ServiceModel/ServiceHost.xml b/xml/System.ServiceModel/ServiceHost.xml index c106a8561d7..77469a96250 100644 --- a/xml/System.ServiceModel/ServiceHost.xml +++ b/xml/System.ServiceModel/ServiceHost.xml @@ -32,7 +32,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_selfhost/cs/wholeenchilada.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/vb/wholeenchilada.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/wholeenchilada.vb" id="Snippet1"::: ]]> @@ -118,7 +118,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost2/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost2/service.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ This sample illustrates how to use the class to host a Windows Communication Foundation service: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb" id="Snippet1"::: ]]> @@ -221,7 +221,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost/cs/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb" id="Snippet3"::: ]]> @@ -267,7 +267,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost/cs/service.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb" id="Snippet4"::: ]]> @@ -314,7 +314,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost/cs/service.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb" id="Snippet5"::: ]]> @@ -361,7 +361,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_ueservicehost/cs/service.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/vb/service.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_ueservicehost/service.vb" id="Snippet6"::: ]]> diff --git a/xml/System.ServiceModel/ServiceHostBase.xml b/xml/System.ServiceModel/ServiceHostBase.xml index 26ef2bfdf29..408f03b506a 100644 --- a/xml/System.ServiceModel/ServiceHostBase.xml +++ b/xml/System.ServiceModel/ServiceHostBase.xml @@ -40,7 +40,7 @@ This sample uses the class, which is derived from . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_selfhost/cs/wholeenchilada.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/vb/wholeenchilada.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_selfhost/wholeenchilada.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/ServiceKnownTypeAttribute.xml b/xml/System.ServiceModel/ServiceKnownTypeAttribute.xml index 6ae9d2e7401..d021310beaa 100644 --- a/xml/System.ServiceModel/ServiceKnownTypeAttribute.xml +++ b/xml/System.ServiceModel/ServiceKnownTypeAttribute.xml @@ -69,12 +69,12 @@ The following example applies the attribute to an interface where the attribute specifies a method name and a declaring type. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/serviceknowntypeattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb" id="Snippet1"::: Alternatively, apply the attribute to the interface specifying the known type to include. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/serviceknowntypeattribute/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ The following example applies the attribute to an interface where the attribute specifies the type to include. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/serviceknowntypeattribute/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb" id="Snippet2"::: ]]> @@ -243,7 +243,7 @@ The following example applies the attribute to an interface where the attribute specifies a method name and a declaring type. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/serviceknowntypeattribute/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/serviceknowntypeattribute/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/ServiceSecurityContext.xml b/xml/System.ServiceModel/ServiceSecurityContext.xml index 426ec21ffbf..c51ff0fc1eb 100644 --- a/xml/System.ServiceModel/ServiceSecurityContext.xml +++ b/xml/System.ServiceModel/ServiceSecurityContext.xml @@ -64,12 +64,12 @@ The following example uses the class to provide information about the current security context. The code creates an instance of the class to write the information to a file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicesecuritycontext/cs/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/source.vb" id="Snippet1"::: The following example shows an implementation of the method that uses the to parse a set of claims. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/servicesecuritycontext/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/servicesecuritycontext/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/SessionMode.xml b/xml/System.ServiceModel/SessionMode.xml index a48b71f19a2..bd5ae6ccbf9 100644 --- a/xml/System.ServiceModel/SessionMode.xml +++ b/xml/System.ServiceModel/SessionMode.xml @@ -65,7 +65,7 @@ The following code example shows how to use the property of the to specify that the `IMyService` service contract requires bindings that support session state. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/sca.session/cs/services.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.session/vb/services.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/sca.session/services.vb" id="Snippet1"::: ]]> diff --git a/xml/System.ServiceModel/SpnEndpointIdentity.xml b/xml/System.ServiceModel/SpnEndpointIdentity.xml index 7961e74edc0..8ff45ec0978 100644 --- a/xml/System.ServiceModel/SpnEndpointIdentity.xml +++ b/xml/System.ServiceModel/SpnEndpointIdentity.xml @@ -72,7 +72,7 @@ The following code shows one common way to create an instance of this class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uespnendpointidentity/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/service.vb" id="Snippet1"::: ]]> @@ -129,7 +129,7 @@ The following code shows how to create identities from a set of claims. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uespnendpointidentity/cs/service.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/vb/service.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/service.vb" id="Snippet2"::: ]]> @@ -189,7 +189,7 @@ The following code shows how to create identities from a string representation of the SPN. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uespnendpointidentity/cs/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/vb/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uespnendpointidentity/service.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/TcpTransportSecurity.xml b/xml/System.ServiceModel/TcpTransportSecurity.xml index 1eb49ffbcdf..34421ee9586 100644 --- a/xml/System.ServiceModel/TcpTransportSecurity.xml +++ b/xml/System.ServiceModel/TcpTransportSecurity.xml @@ -148,7 +148,7 @@ The following code shows how to access and set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/c_programmingsecurity/cs/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/vb/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/c_programmingsecurity/source.vb" id="Snippet13"::: ]]> diff --git a/xml/System.ServiceModel/TransactionFlowAttribute.xml b/xml/System.ServiceModel/TransactionFlowAttribute.xml index 700b3acf732..eda14b3b277 100644 --- a/xml/System.ServiceModel/TransactionFlowAttribute.xml +++ b/xml/System.ServiceModel/TransactionFlowAttribute.xml @@ -148,7 +148,7 @@ namespace Microsoft.WCF.Documentation The following code example shows the use of this enumeration together with the class at the operation level. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute1/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/TransactionFlowOption.xml b/xml/System.ServiceModel/TransactionFlowOption.xml index bd95c380142..c3a8edca57e 100644 --- a/xml/System.ServiceModel/TransactionFlowOption.xml +++ b/xml/System.ServiceModel/TransactionFlowOption.xml @@ -28,7 +28,7 @@ The following code example demonstrates the use of this enumeration together with the class at the operation level. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/operationbehaviorattribute1/cs/services.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/vb/services.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/operationbehaviorattribute1/services.vb" id="Snippet2"::: ]]> diff --git a/xml/System.ServiceModel/WSDualHttpBinding.xml b/xml/System.ServiceModel/WSDualHttpBinding.xml index a6b0e23205c..d5196d084c2 100644 --- a/xml/System.ServiceModel/WSDualHttpBinding.xml +++ b/xml/System.ServiceModel/WSDualHttpBinding.xml @@ -84,7 +84,7 @@ The following example shows how to use the parameterless constructor for wsDualHttpBinding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet1"::: ]]> @@ -121,7 +121,7 @@ The following example shows how to use the `wsDualHttpBinding` constructor with a security mode. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet3"::: ]]> @@ -198,7 +198,7 @@ The following example sets this property to indicate that the proxy should be bypassed for local resources. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet6"::: The value of this property can also be set in the configuration file. @@ -245,7 +245,7 @@ The following example shows how to specify the wsDualHttpBinding binding in a configuration file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet8"::: ]]> @@ -278,7 +278,7 @@ The following example shows how to get an ordered collection of binding elements contained in the current binding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet20"::: ]]> @@ -310,7 +310,7 @@ The following example shows how to get the version of SOAP that is used for messages that are processed by this binding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet21"::: ]]> @@ -348,7 +348,7 @@ The following example shows how to specify the wsDualHttpBinding binding in a configuration file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet9"::: ]]> @@ -393,7 +393,7 @@ The following example shows how to set the `MaxBufferPoolSize`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet10"::: ]]> @@ -438,7 +438,7 @@ The following example shows how to get the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet22"::: ]]> @@ -485,7 +485,7 @@ The following example shows how to set the `WSMessageEncoding` property to MTOM. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet11"::: ]]> @@ -528,7 +528,7 @@ The following example shows how to specify the address of the HTTP proxy. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet12"::: ]]> @@ -565,7 +565,7 @@ The following example shows how to get the `ReaderQuotas` property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet13"::: ]]> @@ -612,7 +612,7 @@ The following example shows how to get the property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet14"::: ]]> @@ -644,7 +644,7 @@ The following example shows how to specify the wsDualHttpBinding binding in a configuration file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet15"::: ]]> @@ -691,7 +691,7 @@ The following example shows how to get the type of security of the binding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet16"::: ]]> @@ -848,10 +848,10 @@ The following examples show how to get the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet23"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet24"::: ]]> @@ -889,7 +889,7 @@ The following example shows how to get the character encoding that is used for the message text. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet17"::: ]]> @@ -933,7 +933,7 @@ The following example shows how to set the `TransactionFlow` property to support the flowing of transactions. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet18"::: ]]> @@ -972,7 +972,7 @@ The following example shows how to set the `UseDefaultWebProxy` property to use the auto-configured HTTP proxy of the system. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_dualhttp/cs/program.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/vb/module1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_dualhttp/module1.vb" id="Snippet19"::: ]]> diff --git a/xml/System.ServiceModel/WSDualHttpSecurity.xml b/xml/System.ServiceModel/WSDualHttpSecurity.xml index 4e19f947f02..0e46de5f608 100644 --- a/xml/System.ServiceModel/WSDualHttpSecurity.xml +++ b/xml/System.ServiceModel/WSDualHttpSecurity.xml @@ -84,7 +84,7 @@ The following code shows how to set the property by accessing this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdualhttpsecurity/cs/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/vb/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/module1.vb" id="Snippet30"::: ]]> @@ -127,7 +127,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdualhttpsecurity/cs/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/vb/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/module1.vb" id="Snippet30"::: ]]> diff --git a/xml/System.ServiceModel/WSDualHttpSecurityMode.xml b/xml/System.ServiceModel/WSDualHttpSecurityMode.xml index dfbe10b07e7..5012b8075a2 100644 --- a/xml/System.ServiceModel/WSDualHttpSecurityMode.xml +++ b/xml/System.ServiceModel/WSDualHttpSecurityMode.xml @@ -28,7 +28,7 @@ The following code shows how to set to a member of this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/s_uewsdualhttpsecurity/cs/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/vb/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/s_uewsdualhttpsecurity/module1.vb" id="Snippet30"::: ]]> diff --git a/xml/System.ServiceModel/WSFederationHttpSecurity.xml b/xml/System.ServiceModel/WSFederationHttpSecurity.xml index baae92050c7..40e358c8124 100644 --- a/xml/System.ServiceModel/WSFederationHttpSecurity.xml +++ b/xml/System.ServiceModel/WSFederationHttpSecurity.xml @@ -88,7 +88,7 @@ The following code shows how to access this property and use it to set properties of the `wsFederationHttpBinding`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet2"::: ]]> @@ -137,7 +137,7 @@ The following code shows how to set this property. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/WSFederationHttpSecurityMode.xml b/xml/System.ServiceModel/WSFederationHttpSecurityMode.xml index df53c3846ab..3c98bc9f785 100644 --- a/xml/System.ServiceModel/WSFederationHttpSecurityMode.xml +++ b/xml/System.ServiceModel/WSFederationHttpSecurityMode.xml @@ -28,7 +28,7 @@ The following code shows how to set to a member of this enumeration. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wsfederationhttpsecurity/cs/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/vb/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wsfederationhttpsecurity/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.ServiceModel/WSHttpBinding.xml b/xml/System.ServiceModel/WSHttpBinding.xml index 3d619703a4e..96a6054a4d6 100644 --- a/xml/System.ServiceModel/WSHttpBinding.xml +++ b/xml/System.ServiceModel/WSHttpBinding.xml @@ -51,7 +51,7 @@ The following sample code shows how to use the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet0"::: ]]> @@ -96,7 +96,7 @@ The following sample code shows how to initialize a new instance of the class. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet1"::: ]]> @@ -142,7 +142,7 @@ The following example shows how to initialize a new instance of the class with a `securityMode` parameter. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet7"::: ]]> @@ -177,7 +177,7 @@ The following example shows how to initialize a new instance of the class with a string argument. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet5"::: ]]> @@ -221,7 +221,7 @@ The following example shows how to initialize a new instance of the class with a `securityMode` and `reliableSessionEnabled` parameter. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet6"::: ]]> @@ -380,7 +380,7 @@ MyWebServiceClient client = new MyWebServiceClient(); The following example shows how to obtain the that contains the ordered stack of binding elements described by binding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet9"::: ]]> @@ -498,7 +498,7 @@ MyWebServiceClient client = new MyWebServiceClient(); The following example shows how to obtain the value of the . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbinding/cs/wshttpbinding.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/vb/wshttpbinding.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbinding/wshttpbinding.vb" id="Snippet8"::: ]]> diff --git a/xml/System.ServiceModel/WSHttpBindingBase.xml b/xml/System.ServiceModel/WSHttpBindingBase.xml index 578165d4f63..7c8acc1f8c5 100644 --- a/xml/System.ServiceModel/WSHttpBindingBase.xml +++ b/xml/System.ServiceModel/WSHttpBindingBase.xml @@ -64,7 +64,7 @@ The following example shows how to use the functionality provided by the class with the derived classes, and . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet0"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet0"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet0"::: ]]> @@ -109,7 +109,7 @@ This example shows how to use the parameterless constructor. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet1"::: ]]> @@ -197,7 +197,7 @@ The following example sets this property to indicate that the proxy should be bypassed for local resources. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet3"::: The value of this property can also be set in the configuration file. @@ -247,7 +247,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet16"::: ]]> @@ -322,7 +322,7 @@ This example shows how to get the envelope version. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet4"::: ]]> @@ -394,7 +394,7 @@ This example shows how to get the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet5"::: ]]> @@ -445,7 +445,7 @@ This example shows how to get the value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet6"::: ]]> @@ -496,7 +496,7 @@ This example shows how to get the maximum size for a message :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet7"::: ]]> @@ -552,7 +552,7 @@ This example shows how to get the maximum size for a message :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet8"::: ]]> @@ -607,7 +607,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet9"::: ]]> @@ -652,7 +652,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet10"::: ]]> @@ -707,7 +707,7 @@ This example shows how to get the properties of a reliable session binding. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet11"::: ]]> @@ -747,7 +747,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet12"::: ]]> @@ -882,7 +882,7 @@ This example shows how to use the ReceiveSynchronously member. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet19"::: ]]> @@ -928,7 +928,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet13"::: ]]> @@ -975,7 +975,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet14"::: ]]> @@ -1027,7 +1027,7 @@ This example shows how to get the maximum size for a message. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wshttpbindingbase/cs/service.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/vb/service.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wshttpbindingbase/service.vb" id="Snippet15"::: ]]> diff --git a/xml/System.ServiceModel/XmlSerializerFormatAttribute.xml b/xml/System.ServiceModel/XmlSerializerFormatAttribute.xml index 9414c820f4b..b19d5fdd5b4 100644 --- a/xml/System.ServiceModel/XmlSerializerFormatAttribute.xml +++ b/xml/System.ServiceModel/XmlSerializerFormatAttribute.xml @@ -73,7 +73,7 @@ The following example applies the to an interface. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/xmlserializerformatattribute/cs/xmlserializerformat_example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/vb/xmlserializerformat_example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/xmlserializerformatattribute/xmlserializerformat_example.vb" id="Snippet1"::: ]]> 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..fb00e04f74e 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/VS_Snippets_CLR/regex match, nextmatch, groups, captures/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/VS_Snippets_CLR/regex match, nextmatch, groups, captures/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..842da580896 100644 --- a/xml/System.Text.RegularExpressions/MatchCollection.xml +++ b/xml/System.Text.RegularExpressions/MatchCollection.xml @@ -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..84254e1cc8e 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/VB/regexreplace.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Regex.xml b/xml/System.Text.RegularExpressions/Regex.xml index 5d4b22dddc0..5a8c2b0f955 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/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/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/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/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/VS_Snippets_CLR_System/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..7a095bf8ffb 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/VS_Snippets_CLR/sys.txt.rgxCompInfo/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/VS_Snippets_CLR/sys.txt.rgxCompInfo/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/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..02f40f2f6ea 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/VB/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/VB/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/GetByteCount2/VB/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/GetByteCount1/VB/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/GetBytes1/VB/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/GetBytes2/VB/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/VB/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/VB/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/VB/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/VB/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/GetString1/VB/getstring-byte[].vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Decoder.xml b/xml/System.Text/Decoder.xml index 720bd3c84ca..800a3e93c8d 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/VB/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/VS_Snippets_CLR/sys.txt.EncoderDecoder.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/VB/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/VB/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..fa8ee0a03af 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/VS_Snippets_CLR/sys.txt.fallbackDecExc/fallDecExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/DecoderFallbackException.xml b/xml/System.Text/DecoderFallbackException.xml index 5803a895783..cdab12407d5 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/VS_Snippets_CLR/sys.txt.fallbackDecExc/fallDecExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/DecoderReplacementFallback.xml b/xml/System.Text/DecoderReplacementFallback.xml index 15b72b4ef1d..42d52368019 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/VS_Snippets_CLR/sys.txt.fallbackDecRpl/fallDecRpl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoder.xml b/xml/System.Text/Encoder.xml index 3b1b3d9c2e4..05c3c3bd75e 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/VB/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/VB/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/VS_Snippets_CLR/sys.txt.EncoderDecoder.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/VB/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/VB/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..119b130299c 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/VS_Snippets_CLR/sys.txt.fallbackEncExc/fallEncExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncoderFallbackException.xml b/xml/System.Text/EncoderFallbackException.xml index 93dd2de32ee..05a8525b39b 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/VS_Snippets_CLR/sys.txt.fallbackEncExc/fallEncExc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncoderReplacementFallback.xml b/xml/System.Text/EncoderReplacementFallback.xml index faa3caf6761..76fd61e3452 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/VS_Snippets_CLR/sys.txt.fallbackEncRpl/fallEncRpl.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoding.xml b/xml/System.Text/Encoding.xml index 9e36efb5add..64bf2a0c5c0 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/Convert/VB/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/VB/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/VB/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/VB/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/GetBytes_CharArr/VB/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/Names/VB/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/Names/VB/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/Convert/VB/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/Names/VB/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/VB/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/VB/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/VS_Snippets_CLR/sys.txt.fallbackEncRpl/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/VS_Snippets_CLR/sys.txt.fallbackEncRpl/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/IsProps/VB/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/GetBytes_CharArr/VB/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/GetChars/VB/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/VB/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/VB/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/VB/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/Names/VB/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/IsProps/VB/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/IsProps/VB/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/IsProps/VB/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/IsProps/VB/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/IsProps/VB/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/GetBytes_CharArr/VB/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/GetBytes_CharArr/VB/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/GetBytes_CharArr/VB/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/VB/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/Names/VB/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/CodePage/VB/codepage.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncodingInfo.xml b/xml/System.Text/EncodingInfo.xml index 27af0549c49..3887211ecac 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/VB/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/VB/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/VB/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/VB/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/VB/encodinginfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/StringBuilder.xml b/xml/System.Text/StringBuilder.xml index f4059a81161..1e5fffae685 100644 --- a/xml/System.Text/StringBuilder.xml +++ b/xml/System.Text/StringBuilder.xml @@ -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 @@ -2983,7 +2983,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/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"::: ]]> @@ -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"::: ]]> @@ -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"::: ]]> @@ -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"::: ]]> diff --git a/xml/System.Text/UTF32Encoding.xml b/xml/System.Text/UTF32Encoding.xml index bd7e337ce73..acdb66d755d 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/ErrorDetection/VB/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/GetPreamble/VB/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/GetPreamble/VB/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/ErrorDetection/VB/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/VB/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_CharArr/VB/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_String/VB/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/GetChars/VB/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/GetChars/VB/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/EncDec/VB/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/EncDec/VB/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_String/VB/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/GetChars/VB/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/GetPreamble/VB/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/GetPreamble/VB/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/VB/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/VB/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..155924b1cc7 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/VB/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/Ctor1/VB/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/Ctor2/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/getstring.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/UTF8Encoding.xml b/xml/System.Text/UTF8Encoding.xml index e3a9db1f65a..a0295606ad5 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/VB/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/VB/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/Ctor1/VB/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/Ctor2/VB/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/Ctor3/VB/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/VB/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/GetBytes3/VB/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/GetBytes1/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/VB/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/UTF8Encoding/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..2ade3fa143f 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/VB/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/VB/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/VB/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/Ctor2/VB/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/ErrorDetection/VB/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/VB/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/Ctor2/VB/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/GetBytes3/VB/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/GetBytes1/VB/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/VB/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/VB/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/EncDec/VB/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/EncDec/VB/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/VB/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/VB/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/VB/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/UTF8Encoding/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.Dataflow/ActionBlock`1.xml b/xml/System.Threading.Tasks.Dataflow/ActionBlock`1.xml index bd4f8c616b2..a08590d8814 100644 --- a/xml/System.Threading.Tasks.Dataflow/ActionBlock`1.xml +++ b/xml/System.Threading.Tasks.Dataflow/ActionBlock`1.xml @@ -71,7 +71,7 @@ The following example shows the use of the class to perform several computations using dataflow blocks, and returns the elapsed time required to perform the computations. This code example is part of a larger example provided for the [How to: Specify the Degree of Parallelism in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-the-degree-of-parallelism-in-a-dataflow-block) article. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks.Dataflow/ActionBlock`1/dataflowdegreeofparallelism.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb" id="Snippet2"::: ]]> @@ -186,7 +186,7 @@ The following example shows how to use the constructor to create a new object. This code example is part of a larger example provided for the [How to: Specify the Degree of Parallelism in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-the-degree-of-parallelism-in-a-dataflow-block) topic. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks.Dataflow/ActionBlock`1/dataflowdegreeofparallelism.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb" id="Snippet2"::: ]]> @@ -284,7 +284,7 @@ The following example shows the use of the method to signal to the dataflow block that it shouldn't accept or produce any more messages nor consume any more postponed messages. This code example is part of a larger example provided for the [How to: Specify the Degree of Parallelism in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-the-degree-of-parallelism-in-a-dataflow-block) topic. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks.Dataflow/ActionBlock`1/dataflowdegreeofparallelism.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb" id="Snippet2"::: ]]> @@ -335,7 +335,7 @@ The following example shows how to use the property to wait for all messages to propagate through the network. This code example is part of a larger example provided for the [How to: Specify the Degree of Parallelism in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-the-degree-of-parallelism-in-a-dataflow-block) topic. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks.Dataflow/ActionBlock`1/dataflowdegreeofparallelism.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb" id="Snippet2"::: ]]> @@ -423,7 +423,7 @@ The following example shows how to use the method to post an item to the target dataflow block. This code example is part of a larger example provided for the [How to: Specify the Degree of Parallelism in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-the-degree-of-parallelism-in-a-dataflow-block) topic. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks.Dataflow/ActionBlock`1/dataflowdegreeofparallelism.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/vb/dataflowdegreeofparallelism.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_degreeofparallelism/dataflowdegreeofparallelism.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair.xml b/xml/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair.xml index 6db2bb2635b..ca4d4f7d2ad 100644 --- a/xml/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair.xml +++ b/xml/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair.xml @@ -74,7 +74,7 @@ The following example shows the use of the class. Readers run on the concurrent part of the scheduler. The writer runs on the exclusive part of the scheduler. This code example is part of a larger example provided for the [How to: Specify a Task Scheduler in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-a-task-scheduler-in-a-dataflow-block) article. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/vb/writerreaderswinforms/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/writerreaderswinforms/form1.vb" id="Snippet4"::: ]]> @@ -135,7 +135,7 @@ The following example shows the use of the constructor to create a new object. This code example is part of a larger example provided for the [How to: Specify a Task Scheduler in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-a-task-scheduler-in-a-dataflow-block) article. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/vb/writerreaderswinforms/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/writerreaderswinforms/form1.vb" id="Snippet4"::: ]]> @@ -422,7 +422,7 @@ The following example shows the use of the property to run a reader. This code example is part of a larger example provided for the [How to: Specify a Task Scheduler in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-a-task-scheduler-in-a-dataflow-block) article. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/vb/writerreaderswinforms/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/writerreaderswinforms/form1.vb" id="Snippet4"::: ]]> @@ -476,7 +476,7 @@ The following example shows the use of the property to run a writer. This code example is part of a larger example provided for the [How to: Specify a Task Scheduler in a Dataflow Block](/dotnet/standard/parallel-programming/how-to-specify-a-task-scheduler-in-a-dataflow-block) article. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/ConcurrentExclusiveSchedulerPair/form1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/vb/writerreaderswinforms/form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_writerreaderswinforms/writerreaderswinforms/form1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Threading.Tasks/Parallel.xml b/xml/System.Threading.Tasks/Parallel.xml index 88a84869ed3..84a8b8f195d 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/Overviewloopstate/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/Overview_rangepartitioners/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/Foreach/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..5594b461339 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/Overviewloopstate/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/Overviewloopstate/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/Overviewloopstate/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/Overviewloopstate/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/Overviewloopstate/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/Overviewloopstate/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 cd654e48442..da30b9acbd0 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/Overview.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/Overview.run/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/Overview.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/Overview.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/Overview.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/Overview/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/Overview/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/Overview.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/Overview.fromresult/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/Overview.fromresult/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/Overview.run/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/Overview.run/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/Overview.run/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/Overview.run/run4.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/Overview.run/run3.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/Overview.run/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/Overview.run/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/Overview.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/Overview.run/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/Overview.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/Overview.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/Overview.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/Overview.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/Overview.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/Overview/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"::: ]]> @@ -6464,7 +6464,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"::: ]]> @@ -6608,7 +6608,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"::: ]]> @@ -6693,7 +6693,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. @@ -6859,7 +6859,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 1ff755c964c..544e6d316c6 100644 --- a/xml/System.Threading.Tasks/TaskCompletionSource`1.xml +++ b/xml/System.Threading.Tasks/TaskCompletionSource`1.xml @@ -84,7 +84,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/Task/Overviewcompletionsource/taskcompletionsource.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskExtensions.xml b/xml/System.Threading.Tasks/TaskExtensions.xml index 91249d1e400..ac4e93d9873 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/Overview/unwrap.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory.xml b/xml/System.Threading.Tasks/TaskFactory.xml index 8d6c0a468cb..1db8871258d 100644 --- a/xml/System.Threading.Tasks/TaskFactory.xml +++ b/xml/System.Threading.Tasks/TaskFactory.xml @@ -90,7 +90,7 @@ The static property returns a default object. You can also call one of the class constructors to configure the objects that the class creates. The following example configures a new object to create tasks that have a specified cancellation token, task creation options, continuation options, and a customized task scheduler. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factories_vb.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factories_vb.vb" id="Snippet1"::: In most cases, you do not have to instantiate a new instance. Instead, you can use the property, which returns a factory object that uses default values. You can then call its methods to start new tasks or define task continuations. For an illustration, see the example. @@ -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/Overview.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/Task/Overview.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/Task/Overview.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/Overview/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/Task/Overviewfactory.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/Task/Overviewfactory.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/Task/Overviewfactory.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/Task/Overviewfactory.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/Overview.run/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/Overview.run/Run9.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory`1.xml b/xml/System.Threading.Tasks/TaskFactory`1.xml index 5644e270b49..6ed5dd94fb2 100644 --- a/xml/System.Threading.Tasks/TaskFactory`1.xml +++ b/xml/System.Threading.Tasks/TaskFactory`1.xml @@ -98,7 +98,7 @@ The static property returns a default object. You can also call one of the class constructors to configure the objects that the class creates. The following example configures a new object to create tasks that have a specified cancellation token, task creation options, continuation options, and a customized task scheduler. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory`1/Overview/factoriestresult.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/vb/factoriestresult.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_factories/factoriestresult.vb" id="Snippet2"::: In most cases, you do not have to instantiate a new instance. Instead, you can use the static property, which returns a factory object that uses default values. You can then call its methods to start new tasks or define task continuations. For an illustration, see the example. @@ -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/Overview.factory/factory2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskScheduler.xml b/xml/System.Threading.Tasks/TaskScheduler.xml index 3fc2f3861e5..15ca5da9b3f 100644 --- a/xml/System.Threading.Tasks/TaskScheduler.xml +++ b/xml/System.Threading.Tasks/TaskScheduler.xml @@ -76,7 +76,7 @@ The following example creates a custom task scheduler that limits the number of threads used by the app. It then launches two sets of tasks and displays information about the task and the thread on which the task is executing. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskScheduler/Overview/limitex1.cs" id="Snippet02"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/vb/module2.vb" id="Snippet02"::: +:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_schedulers/module2.vb" id="Snippet02"::: ]]> All members of the abstract type are thread-safe and may be used from multiple threads concurrently. diff --git a/xml/System.Threading.Tasks/TaskStatus.xml b/xml/System.Threading.Tasks/TaskStatus.xml index e39e6ddf596..18a07b212bf 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/Overview.run/Run7.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading.Tasks/Task`1.xml b/xml/System.Threading.Tasks/Task`1.xml index c8bf1229437..9aa7325681a 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/Task`1/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/Task`1/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/Overview.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/Task`1/Overview.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/Task`1/Overview.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. @@ -1642,7 +1642,7 @@ For operations that do not return a value, you use the object, for the state argument of the method. Each value represents the time at which the continue task is created. Each task produces as its result a second value that represents the time at which the task finishes. After all tasks finish, the example displays the date and times at which each continuation task starts and finishes. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task`1/ContinueWith/continuationstate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/vb/continuationstate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl_continuationstate/continuationstate.vb" id="Snippet1"::: ]]> @@ -2367,7 +2367,7 @@ For operations that do not return a value, you use the property to make three calls to the method. The first starts a `Task` object, which executes a lambda expression that returns 1. The second starts a `Task` object, which executes a lambda expression that instantiates a new `Test` instance. The third starts a `Task` object, which enumerates the files in the C:\Users\Public\Pictures\Sample Pictures\ directory. (Note that successful execution of the example requires that the directory exist and that it contain files. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task`1/Factory/returnavalue10.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl/vb/10_returnavalue.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Misc/tpl/10_returnavalue.vb" id="Snippet10"::: ]]> @@ -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/Overview.fromresult/fromresult1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AbandonedMutexException.xml b/xml/System.Threading/AbandonedMutexException.xml index 3b4e5fb73f8..a2f635b354b 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/VB/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/VB/koax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ApartmentState.xml b/xml/System.Threading/ApartmentState.xml index f2899077d78..19d33239542 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/Thread/ApartmentState/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AsyncLocal`1.xml b/xml/System.Threading/AsyncLocal`1.xml index 3b04108cfb8..81f95620208 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/VS_Snippets_CLR_System/system.threading.asynclocal/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AutoResetEvent.xml b/xml/System.Threading/AutoResetEvent.xml index 51552ecfdde..66e3351d35a 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/VB/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/VB/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..335307fe732 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/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/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/VS_Snippets_CLR_System/System.Threading.Tasks.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..fbe51e0c5ad 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/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/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/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/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..063a41d9cc9 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/WaitHandle/SignalAndWait/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/EventWaitHandle.xml b/xml/System.Threading/EventWaitHandle.xml index 0f063d873ce..53ada262aaf 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/WaitHandle/SignalAndWait/VB/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/WaitHandle/SignalAndWait/VB/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 named 5/VB/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 named 5/VB/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 named 5/VB/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/WaitHandle/SignalAndWait/VB/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 named 5/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Interlocked.xml b/xml/System.Threading/Interlocked.xml index 292d8139635..1fc94e18c0e 100644 --- a/xml/System.Threading/Interlocked.xml +++ b/xml/System.Threading/Interlocked.xml @@ -87,7 +87,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/Exchange Int32/VB/class1.vb" id="Snippet1"::: ]]> @@ -619,7 +619,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/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/source.vb" id="Snippet1"::: ]]> @@ -1076,7 +1076,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/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/source.vb" id="Snippet1"::: ]]> @@ -1441,12 +1441,12 @@ If `comparand` and the object 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"::: ]]> @@ -1810,7 +1810,7 @@ If `comparand` and the object 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/Exchange Int32/VB/class1.vb" id="Snippet1"::: ]]> @@ -2467,12 +2467,12 @@ If `comparand` and the object 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/Increment2/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/Increment2/Increment4.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Threading/LockCookie.xml b/xml/System.Threading/LockCookie.xml index a670352bd16..81cf75ae7c0 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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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..46e4bc010f5 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/VB/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..d1c4f21b24c 100644 --- a/xml/System.Threading/Monitor.xml +++ b/xml/System.Threading/Monitor.xml @@ -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"::: ]]> @@ -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"::: @@ -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..db42d3501eb 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"::: ]]> @@ -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 named 4/VB/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 named 4/VB/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 named 4/VB/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 named 4/VB/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. @@ -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 named 4/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ParameterizedThreadStart.xml b/xml/System.Threading/ParameterizedThreadStart.xml index 5b39bd19359..0b57038bbab 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLock.xml b/xml/System.Threading/ReaderWriterLock.xml index b596e6bf407..bad55c46b3a 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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/IsWriterLockHeld/VB/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/IsWriterLockHeld/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/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/ReaderWriterLock/Overview/VB/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLockSlim.xml b/xml/System.Threading/ReaderWriterLockSlim.xml index 337ad09528b..1825663ef79 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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Shadow/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/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/ReaderWriterLock/OverviewSlim_Aux/source.vb" id="Snippet32"::: ]]> diff --git a/xml/System.Threading/Semaphore.xml b/xml/System.Threading/Semaphore.xml index 2ca6f2c6f56..d3e1c8eefbb 100644 --- a/xml/System.Threading/Semaphore.xml +++ b/xml/System.Threading/Semaphore.xml @@ -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 named 3/VB/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 named 4/VB/source.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 named 5a/VB/source.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 named 5a/VB/source.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 named 5a/VB/source.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 named 5a/VB/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 named 5a/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SemaphoreFullException.xml b/xml/System.Threading/SemaphoreFullException.xml index dbaa17f81ab..3fa85051f78 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/VB/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..c58494863e9 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/VB/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/VB/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/Ctor2/VB/source.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/Abort2/VB/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/DoNotUseDataSlots/source.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/DataSlot/VB/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/DoNotUseDataSlots/source.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/NamedDataSlot/VB/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/Thread/ApartmentState/VB/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/VB/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/VB/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/Culture/VB/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/VB/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/Culture/VB/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/VB/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/VB/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/DoNotUseDataSlots/source.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/NamedDataSlot/VB/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/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/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/DoNotUseDataSlots/source.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/DataSlot/VB/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/Domain/VB/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/Domain/VB/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/DoNotUseDataSlots/source.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/NamedDataSlot/VB/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/VB/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/VB/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/VB/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/Timespan/VB/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/VS_Snippets_CLR_System/System.Threading.ThreadPriority/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/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/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/DoNotUseDataSlots/source.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/NamedDataSlot/VB/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/VS_Snippets_CLR/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/VS_Snippets_CLR/thread.sleep_timespan/example.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/VB/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/VS_Snippets_CLR/Thread.GetSetTrySetApartmentState/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadAbortException.xml b/xml/System.Threading/ThreadAbortException.xml index 71e607515ff..2901fddfddb 100644 --- a/xml/System.Threading/ThreadAbortException.xml +++ b/xml/System.Threading/ThreadAbortException.xml @@ -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/Abort2/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadInterruptedException.xml b/xml/System.Threading/ThreadInterruptedException.xml index 9f28dc2132e..7c788731c1b 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadLocal`1.xml b/xml/System.Threading/ThreadLocal`1.xml index 4bc41a9a604..cd1112dca3d 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/VS_Snippets_CLR_System/system.threading.threadlocal/threadlocal.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/ThreadPool.xml b/xml/System.Threading/ThreadPool.xml index 14fee295f78..df223438463 100644 --- a/xml/System.Threading/ThreadPool.xml +++ b/xml/System.Threading/ThreadPool.xml @@ -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/VB/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/VB/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/GetSetMinThreads/VB/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..21c4b49afd7 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/VS_Snippets_CLR_System/System.Threading.ThreadPriority/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Timeout.xml b/xml/System.Threading/Timeout.xml index 0b5ef8442ee..42ad8097a27 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Timer.xml b/xml/System.Threading/Timer.xml index aff33bbd1b8..8f544efbbc6 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/VB/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/VB/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/Overview2/VB/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/VB/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/Overview2/VB/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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/TimerCallback.xml b/xml/System.Threading/TimerCallback.xml index f22998f9673..f9dd3bd10b8 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/VB/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/WaitHandle.xml b/xml/System.Threading/WaitHandle.xml index 4ecb06c68a0..c0af5b2ab44 100644 --- a/xml/System.Threading/WaitHandle.xml +++ b/xml/System.Threading/WaitHandle.xml @@ -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/WaitHandle/SignalAndWait/VB/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/WaitAll2/VB/source2.vb" id="Snippet1"::: ]]> @@ -1344,7 +1344,7 @@ The maximum value for `timeout` is @@ -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/WaitAny2/VB/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/Waitone4/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.Timers/ElapsedEventArgs.xml b/xml/System.Timers/ElapsedEventArgs.xml index 202ba284e33..3cf89acd8e8 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/Timer/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/Timer/Overview/timer1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Timers/Timer.xml b/xml/System.Timers/Timer.xml index 81af146fa48..ef25f1fa67f 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/Timer/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/Timer/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/Timer/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/Timer/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/Timer/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/Timer/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/Overview.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/Timer/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/Timer/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). @@ -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/CommittableTransaction.xml b/xml/System.Transactions/CommittableTransaction.xml index 4e82b3945be..fc36730efb3 100644 --- a/xml/System.Transactions/CommittableTransaction.xml +++ b/xml/System.Transactions/CommittableTransaction.xml @@ -129,7 +129,7 @@ The following sample creates a new instance of and commits it. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_committabletx/cs/committabletxwithsql.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/vb/committabletxwithsql.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_committabletx/committabletxwithsql.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/DependentCloneOption.xml b/xml/System.Transactions/DependentCloneOption.xml index 489257675d8..65540fae711 100644 --- a/xml/System.Transactions/DependentCloneOption.xml +++ b/xml/System.Transactions/DependentCloneOption.xml @@ -53,7 +53,7 @@ The following example shows you how to create a dependent transaction. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_dependenttx/cs/dependenttx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/vb/dependenttx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/dependenttx.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/DependentTransaction.xml b/xml/System.Transactions/DependentTransaction.xml index 8df4ad94e51..2f83650de62 100644 --- a/xml/System.Transactions/DependentTransaction.xml +++ b/xml/System.Transactions/DependentTransaction.xml @@ -66,7 +66,7 @@ The following example shows you how to create a dependent transaction. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_dependenttx/cs/dependenttx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/vb/dependenttx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/dependenttx.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/Enlistment.xml b/xml/System.Transactions/Enlistment.xml index 73d2a3f7d22..f9968f24ea8 100644 --- a/xml/System.Transactions/Enlistment.xml +++ b/xml/System.Transactions/Enlistment.xml @@ -58,7 +58,7 @@ The following example shows an implementation of the interface, and when the method should be called. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Transactions/IEnlistmentNotification.xml b/xml/System.Transactions/IEnlistmentNotification.xml index 812e79d8731..b2297b1a95e 100644 --- a/xml/System.Transactions/IEnlistmentNotification.xml +++ b/xml/System.Transactions/IEnlistmentNotification.xml @@ -66,7 +66,7 @@ The following example shows an implementation of this interface, as well as enlisting the object as a participant in a transaction using the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/PreparingEnlistment.xml b/xml/System.Transactions/PreparingEnlistment.xml index 5cb5072b703..a6e28033498 100644 --- a/xml/System.Transactions/PreparingEnlistment.xml +++ b/xml/System.Transactions/PreparingEnlistment.xml @@ -56,7 +56,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet2"::: ]]> @@ -121,7 +121,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet2"::: ]]> @@ -222,7 +222,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Transactions/Transaction.xml b/xml/System.Transactions/Transaction.xml index d1b2d3ce504..0fe2ee38436 100644 --- a/xml/System.Transactions/Transaction.xml +++ b/xml/System.Transactions/Transaction.xml @@ -235,7 +235,7 @@ The following example shows you how to create a dependent transaction. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_dependenttx/cs/dependenttx.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/vb/dependenttx.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_dependenttx/dependenttx.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ The following example shows an implementation of interface, as well as enlisting the object as a participant in a transaction using the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_enlist/cs/enlist.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/vb/enlist.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_enlist/enlist.vb" id="Snippet1"::: ]]> @@ -1340,7 +1340,7 @@ The following sample shows how an application can obtain the outcome of a transaction by subscribing to the event. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_outcome/cs/txoutcome.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/vb/txoutcome.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/txoutcome.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/TransactionCompletedEventHandler.xml b/xml/System.Transactions/TransactionCompletedEventHandler.xml index 967ded49a92..821fbf55dc6 100644 --- a/xml/System.Transactions/TransactionCompletedEventHandler.xml +++ b/xml/System.Transactions/TransactionCompletedEventHandler.xml @@ -65,7 +65,7 @@ The following example shows how an application can obtain the outcome of a transaction by subscribing to the event. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/tx_outcome/cs/txoutcome.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/vb/txoutcome.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/tx_outcome/txoutcome.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Transactions/TransactionScope.xml b/xml/System.Transactions/TransactionScope.xml index 1f82d4a2e7c..4fe229c7f4a 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/VS_Snippets_Remoting/TransactionScope/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/VS_Snippets_Remoting/TransactionScope/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/VS_Snippets_Remoting/TransactionScope/ScopeWithSQL.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.ApplicationServices/AuthenticatingEventArgs.xml b/xml/System.Web.ApplicationServices/AuthenticatingEventArgs.xml index f1ac845cee3..41b7f72fbf4 100644 --- a/xml/System.Web.ApplicationServices/AuthenticatingEventArgs.xml +++ b/xml/System.Web.ApplicationServices/AuthenticatingEventArgs.xml @@ -34,7 +34,7 @@ The following example shows an event handler that passes the and values to a custom membership provider to validate the user credentials. The event handler sets to the return value of the method and sets to `true` so that the class does not validate the credentials. [!code-csharp[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/Global.asax#2)] ]]> @@ -83,7 +83,7 @@ The following example shows an event handler that passes and values to a custom membership provider to validate the user credentials. The event handler sets to the return value of the method and sets to `true` so that the class does not validate the credentials. [!code-csharp[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/Global.asax#2)] ]]> @@ -134,7 +134,7 @@ The following example shows an event handler that passes and values to a custom membership provider to validate the user credentials. The event handler sets to the return value of the method and sets to `true` so that the class does not validate the credentials. [!code-csharp[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/Global.asax#2)] ]]> @@ -180,7 +180,7 @@ The following example shows an event handler for the event that parses two authentication values from the property. It passes the two values and the user name and password to a custom authentication class named `StudentAuthentication`. [!code-csharp[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/Global.asax#2)] ]]> @@ -224,7 +224,7 @@ The following example shows an event handler that passes and values to a custom membership provider to validate the user credentials. The event handler sets to the return value of the method and sets to `true` so that the class does not validate the credentials. [!code-csharp[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/Global.asax#2)] ]]> @@ -268,7 +268,7 @@ The following example shows an event handler that selects a membership provider to use based on the value of the property. The handler passes and values to the custom membership provider to validate the user credentials. It sets to the return value of the method and sets to `true` so that the class does not validate the credentials. [!code-csharp[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_NonDefaultProvider#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_NonDefaultProvider/Global.asax#2)] ]]> diff --git a/xml/System.Web.ApplicationServices/AuthenticationService.xml b/xml/System.Web.ApplicationServices/AuthenticationService.xml index 966baef9bb2..c4057362d0b 100644 --- a/xml/System.Web.ApplicationServices/AuthenticationService.xml +++ b/xml/System.Web.ApplicationServices/AuthenticationService.xml @@ -98,12 +98,12 @@ The following example shows how to bind an event handler for the event in the `Application_Start` method of the Global.asax file. [!code-csharp[System.Web.Security.LoginService_MultipleCredentials#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/cs/Global.asax#1)] - [!code-vb[System.Web.Security.LoginService_MultipleCredentials#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/vb/Global.asax#1)] + [!code-vb[System.Web.Security.LoginService_MultipleCredentials#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/Global.asax#1)] The following example shows an event handler for the event in the Global.asax file. The event handler reads two authentication values from the property and passes them together with the user name and password to a custom authentication class named `StudentAuthentication`. [!code-csharp[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService_MultipleCredentials#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService_MultipleCredentials/Global.asax#2)] ]]> @@ -141,12 +141,12 @@ The following example shows how to bind an event handler to the event in the `Application_Start` method of the Global.asax file. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#1)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#1)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#1)] The following example shows an event handler for the event in the Global.asax file. The event handler customizes the authentication cookie by adding the value in the property to the property. Store the property in a cookie only if you know that the data in the property is not sensitive. Malicious users can access the values in the cookie. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> diff --git a/xml/System.Web.ApplicationServices/CreatingCookieEventArgs.xml b/xml/System.Web.ApplicationServices/CreatingCookieEventArgs.xml index 4c45cda4037..f197b636c45 100644 --- a/xml/System.Web.ApplicationServices/CreatingCookieEventArgs.xml +++ b/xml/System.Web.ApplicationServices/CreatingCookieEventArgs.xml @@ -32,7 +32,7 @@ The following example shows an event handler for the event. The handler retrieves user values from the object to customize the authentication cookie. The handler saves the value from the property in the authentication ticket and sets the property to `true` to indicate that the authentication cookie has been created. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> @@ -81,7 +81,7 @@ The following example shows an event handler for the event. The handler retrieves user values from the object to customize the authentication cookie. The property is set to `true` after the authentication ticket is created. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> @@ -128,7 +128,7 @@ > Store the property in a cookie only when you know that the data in the property is not sensitive. Malicious users can access the values in the cookie. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> @@ -172,7 +172,7 @@ The following example shows an event handler for the event. The handler retrieves user values from the object in order to customize the authentication cookie. The property of the object is set to the value in the property. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> @@ -253,7 +253,7 @@ The following example shows an event handler for the event. The handler retrieves user values from the object to customize the authentication cookie. The property is set to the values of the property. [!code-csharp[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/cs/Global.asax#2)] - [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/vb/Global.asax#2)] + [!code-vb[System.Web.Security.LoginService.CreatingCookieEventArgs#2](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.LoginService.CreatingCookieEventArgs/Global.asax#2)] ]]> diff --git a/xml/System.Web.ApplicationServices/ProfileService.xml b/xml/System.Web.ApplicationServices/ProfileService.xml index 0eb9e8a8d1d..79bd4eb8096 100644 --- a/xml/System.Web.ApplicationServices/ProfileService.xml +++ b/xml/System.Web.ApplicationServices/ProfileService.xml @@ -283,7 +283,7 @@ The following example shows an event handler for the event. When the value passed for `FirstName` property is empty or `null`, the `FirstName` property is added to the collection. [!code-csharp[System.Web.ApplicationServices.ProfileService#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/cs/Global.asax#1)] - [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/vb/Global.asax#1)] + [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/Global.asax#1)] ]]> diff --git a/xml/System.Web.ApplicationServices/RoleService.xml b/xml/System.Web.ApplicationServices/RoleService.xml index 95e3eae92a9..6f43e8d5afb 100644 --- a/xml/System.Web.ApplicationServices/RoleService.xml +++ b/xml/System.Web.ApplicationServices/RoleService.xml @@ -186,7 +186,7 @@ The following example shows how to bind an event handler to the event in the Global.asax file. The event handler determines at run time which role provider to use, based on the user name. [!code-csharp[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/Global.asax#1)] ]]> diff --git a/xml/System.Web.ApplicationServices/SelectingProviderEventArgs.xml b/xml/System.Web.ApplicationServices/SelectingProviderEventArgs.xml index 15c2caf8edd..06dd47a0872 100644 --- a/xml/System.Web.ApplicationServices/SelectingProviderEventArgs.xml +++ b/xml/System.Web.ApplicationServices/SelectingProviderEventArgs.xml @@ -32,7 +32,7 @@ The following example shows an event handler for the event. The event handler uses the object to check the user name and to set the role provider to use. The event handler is bound to the event in the `Application_Start` method of the Global.asax file. [!code-csharp[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/Global.asax#1)] ]]> @@ -80,7 +80,7 @@ The following example shows an event handler for the event. The event handler uses the object to check the user name and to set the role provider to use. The event handler is bound to the event in the `Application_Start` method of the Global.asax file. [!code-csharp[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/Global.asax#1)] ]]> @@ -124,7 +124,7 @@ The following example shows an event handler for the event. The event handler uses the object to check the user name and set the role provider to use. The event handler is bound to the event in the `Application_Start` method of the Global.asax file. [!code-csharp[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Security.SelectingProviderEventHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Security.SelectingProviderEventHandler/Global.asax#1)] ]]> diff --git a/xml/System.Web.ApplicationServices/ValidatingPropertiesEventArgs.xml b/xml/System.Web.ApplicationServices/ValidatingPropertiesEventArgs.xml index 79c6a4c7b01..5ba42fa140f 100644 --- a/xml/System.Web.ApplicationServices/ValidatingPropertiesEventArgs.xml +++ b/xml/System.Web.ApplicationServices/ValidatingPropertiesEventArgs.xml @@ -28,7 +28,7 @@ The following example shows an event handler for the event. When the value passed for `FirstName` property is empty or `null`, the `FirstName` property is added to the collection. [!code-csharp[System.Web.ApplicationServices.ProfileService#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/cs/Global.asax#1)] - [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/vb/Global.asax#1)] + [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/Global.asax#1)] ]]> @@ -71,7 +71,7 @@ The following example shows an event handler for the event. When the value passed for `FirstName` property is empty or `null`, the `FirstName` property is added to the collection. [!code-csharp[System.Web.ApplicationServices.ProfileService#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/cs/Global.asax#1)] - [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/vb/Global.asax#1)] + [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/Global.asax#1)] ]]> @@ -114,7 +114,7 @@ The following example shows an event handler for the event. When the value passed for `FirstName` property is empty or `null`, the `FirstName` property is added to the collection. [!code-csharp[System.Web.ApplicationServices.ProfileService#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/cs/Global.asax#1)] - [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/vb/Global.asax#1)] + [!code-vb[System.Web.ApplicationServices.ProfileService#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.ApplicationServices.ProfileService/Global.asax#1)] ]]> diff --git a/xml/System.Web.Configuration/UrlMapping.xml b/xml/System.Web.Configuration/UrlMapping.xml index 331cdc54767..226d50ae0e8 100644 --- a/xml/System.Web.Configuration/UrlMapping.xml +++ b/xml/System.Web.Configuration/UrlMapping.xml @@ -34,7 +34,7 @@ [!code-aspx-csharp[System.Web.Configuration.UrlMapping2#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/cs/default.aspx#1)] -[!code-aspx-vb[System.Web.Configuration.UrlMapping2#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/vb/default.aspx#1)] +[!code-aspx-vb[System.Web.Configuration.UrlMapping2#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/default.aspx#1)] ]]> @@ -76,7 +76,7 @@ [!code-aspx-csharp[System.Web.Configuration.UrlMapping2#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/cs/default.aspx#1)] -[!code-aspx-vb[System.Web.Configuration.UrlMapping2#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/vb/default.aspx#1)] +[!code-aspx-vb[System.Web.Configuration.UrlMapping2#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/default.aspx#1)] ]]> @@ -124,7 +124,7 @@ The following code example shows how to obtain the property. This example is from a larger example for the class. [!code-csharp[System.Web.Configuration.UrlMapping2#4](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/cs/default.aspx#4)] - [!code-vb[System.Web.Configuration.UrlMapping2#4](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/vb/default.aspx#4)] + [!code-vb[System.Web.Configuration.UrlMapping2#4](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.UrlMapping2/default.aspx#4)] ]]> diff --git a/xml/System.Web.DynamicData/DynamicDataManager.xml b/xml/System.Web.DynamicData/DynamicDataManager.xml index dbd1ac4b68b..43106817e67 100644 --- a/xml/System.Web.DynamicData/DynamicDataManager.xml +++ b/xml/System.Web.DynamicData/DynamicDataManager.xml @@ -105,7 +105,7 @@ The following example shows how to use a control to enable dynamic behavior for an instance of the control. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/cs/List.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/vb/List.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/List.aspx" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ The following example shows how to register a control in the `Page_Init` method of an ASP.NET Web page. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/cs/List.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/vb/List.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.DynamicDataManager/List.aspx" id="Snippet1"::: ]]> diff --git a/xml/System.Web.DynamicData/DynamicFilter.xml b/xml/System.Web.DynamicData/DynamicFilter.xml index eac77d7442f..7435a70167d 100644 --- a/xml/System.Web.DynamicData/DynamicFilter.xml +++ b/xml/System.Web.DynamicData/DynamicFilter.xml @@ -110,10 +110,10 @@ - A Dynamic Data Web site or a Dynamic Data Web application. This enables you to create the `AdventureWorksLTDataContext` data context for the database and to create the classes for the tables to access. For more information, see `Walkthrough: Creating a New Dynamic Data Web Site using Scaffolding`. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/cs/dynamicfilter.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/vb/dynamicfilter.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/dynamicfilter.aspx" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/cs/dynamicfilter.aspx.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/vb/dynamicfilter.aspx.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/dynamicfilter.aspx.vb" id="Snippet2"::: ]]> @@ -262,7 +262,7 @@ The following example shows how to handle a filter-changed event. The handler resets the page index before the filtered rows are displayed. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/cs/dynamicfilter.aspx.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/vb/dynamicfilter.aspx.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicfilter/dynamicfilter.aspx.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.DynamicData/DynamicHyperLink.xml b/xml/System.Web.DynamicData/DynamicHyperLink.xml index 25ea9f41b35..c7bab66454d 100644 --- a/xml/System.Web.DynamicData/DynamicHyperLink.xml +++ b/xml/System.Web.DynamicData/DynamicHyperLink.xml @@ -75,10 +75,10 @@ The following examples show how to create controls for data rows, for a collection, and to perform the specified action. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/cs/dynamicdatadynamichyperlink.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/vb/dynamicdatadynamichyperlink.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/dynamicdatadynamichyperlink.aspx" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/cs/dynamicdatadynamichyperlink.aspx.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/vb/dynamicdatadynamichyperlink.aspx.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/dynamicdata.dynamichyperlinks/dynamicdatadynamichyperlink.aspx.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.DynamicData/DynamicRouteExpression.xml b/xml/System.Web.DynamicData/DynamicRouteExpression.xml index b16cf4c8ab8..1b311c25c79 100644 --- a/xml/System.Web.DynamicData/DynamicRouteExpression.xml +++ b/xml/System.Web.DynamicData/DynamicRouteExpression.xml @@ -47,10 +47,10 @@ - The AdventureWorksLT sample database. For more information, see [How to: Connect to the AdventureWorksLT Database using an .MDF File](https://msdn.microsoft.com/library/d34ffbac-607d-40f1-b088-0a3304ea032b). :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/cs/list.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/vb/list.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/list.aspx" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/cs/list.aspx.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/vb/list.aspx.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.dynamicrouteexpression/list.aspx.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.DynamicData/QueryableFilterRepeater.xml b/xml/System.Web.DynamicData/QueryableFilterRepeater.xml index cf304bab44d..21a29977530 100644 --- a/xml/System.Web.DynamicData/QueryableFilterRepeater.xml +++ b/xml/System.Web.DynamicData/QueryableFilterRepeater.xml @@ -111,13 +111,13 @@ - A Dynamic Data Web site or a Dynamic Data Web application. For more information, see `Walkthrough: Creating a New Dynamic Data Web Site using Scaffolding`. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/cs/queryablefilterrepeater.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/queryablefilterrepeater.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/queryablefilterrepeater.aspx" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/cs/queryablefilterrepeater.aspx.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/queryablefilterrepeater.aspx.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/queryablefilterrepeater.aspx.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/cs/awltl2spartials.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/awltpartiall2sclasses.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/awltpartiall2sclasses.vb" id="Snippet4"::: ]]> @@ -251,7 +251,7 @@ The following example shows how to set the control's property so that it contains controls to create the UI for each supported column type. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/cs/queryablefilterrepeater.aspx" id="Snippet2"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/vb/queryablefilterrepeater.aspx" id="Snippet2"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/system.web.dynamicdata.queryablefilterrepeater/queryablefilterrepeater.aspx" id="Snippet2"::: ]]> diff --git a/xml/System.Web.DynamicData/TableNameAttribute.xml b/xml/System.Web.DynamicData/TableNameAttribute.xml index d07419b67a3..5b979421441 100644 --- a/xml/System.Web.DynamicData/TableNameAttribute.xml +++ b/xml/System.Web.DynamicData/TableNameAttribute.xml @@ -56,7 +56,7 @@ The following example shows how to set the table name. In the example, the displayed table name is changed from "ProductModelProductDescriptions" to "Prod Model Desc". :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/cs/ProductModelProductDescription.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/vb/ProductModelProductDescription.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.DynamicData.TableNameAttribute/ProductModelProductDescription.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Web.Routing/HttpMethodConstraint.xml b/xml/System.Web.Routing/HttpMethodConstraint.xml index 7cd1bd82596..34f72b460d6 100644 --- a/xml/System.Web.Routing/HttpMethodConstraint.xml +++ b/xml/System.Web.Routing/HttpMethodConstraint.xml @@ -48,7 +48,7 @@ The following example shows a object whose property contains an item that has a key named `httpMethod` and that has a value that is an instance of the class. [!code-csharp[System.Web.Routing.Route.Constraints#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/Global.asax#1)] ]]> @@ -91,7 +91,7 @@ The following example shows a object whose property contains an item that has a key named `httpMethod` and that has a value that is an instance of the class. [!code-csharp[System.Web.Routing.Route.Constraints#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/Global.asax#1)] ]]> diff --git a/xml/System.Web.Routing/Route.xml b/xml/System.Web.Routing/Route.xml index 3ee7f75f042..43f029c476b 100644 --- a/xml/System.Web.Routing/Route.xml +++ b/xml/System.Web.Routing/Route.xml @@ -44,7 +44,7 @@ The following example shows how to create a object and add it to the property. [!code-csharp[System.Web.Routing.RouteTable.Routes#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Global.asax#1)] ]]> @@ -91,7 +91,7 @@ The following example shows how to create a object and add it to the property. [!code-csharp[System.Web.Routing.RouteTable.Routes#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Global.asax#1)] ]]> @@ -255,7 +255,7 @@ The following example shows a object whose property contains a parameter named `httpMethod` with an instance of the class for the value. [!code-csharp[System.Web.Routing.Route.Constraints#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.Route.Constraints#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Constraints/Global.asax#1)] ]]> @@ -364,7 +364,7 @@ The following example shows a object whose property contains a parameter that is not part of the pattern in the property. [!code-csharp[System.Web.Routing.Route.Defaults#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.Route.Defaults/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.Route.Defaults#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Defaults/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.Route.Defaults#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.Route.Defaults/Global.asax#1)] ]]> @@ -546,7 +546,7 @@ The following example shows how to set the property in the class constructor. The pattern contains the literal value "Category" for the first segment and URL parameters for the next two segments. [!code-csharp[System.Web.Routing.RouteTable.Routes#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Global.asax#1)] ]]> diff --git a/xml/System.Web.Routing/RouteCollection.xml b/xml/System.Web.Routing/RouteCollection.xml index 2e92593df80..2b29f0bfe06 100644 --- a/xml/System.Web.Routing/RouteCollection.xml +++ b/xml/System.Web.Routing/RouteCollection.xml @@ -157,7 +157,7 @@ The following example shows how to add a route to a object and assign a name to the route. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#1](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#1)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#1](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#1)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#1](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#1)] ]]> @@ -494,7 +494,7 @@ The default template for MVC projects uses this method to exclude .axd files from routing, as shown in the following example: [!code-csharp[MvcDefaultApp#2](~/snippets/csharp/VS_Snippets_WebNet/mvcdefaultapp/cs/global.asax.cs#2)] - [!code-vb[MvcDefaultApp#2](~/snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/vb/global.asax.vb#2)] + [!code-vb[MvcDefaultApp#2](~/snippets/visualbasic/VS_Snippets_WebNet/mvcdefaultapp/global.asax.vb#2)] ]]> @@ -688,7 +688,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define routes for a Web Forms application by using this method. The example shows a method named `RegisterRoutes` that is called from `Application_Start` in the Global.asax file. The method uses each overload of to add a route to the application. For more information about how to define routes for Web Forms applications, see [How to: Define Routes for Web Forms Applications](https://msdn.microsoft.com/library/200fe812-d0a6-4531-b9b4-cfc4ee83a678). [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#122](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#122)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#122](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#122)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#122](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#122)] ]]> @@ -742,7 +742,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define a route by using this method. The first statement defines a route that does not have a name. The second statement defines a named route. This example is part of a larger example that is available in the method overview. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#140](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#140)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#140](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#140)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#140](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#140)] ]]> @@ -798,7 +798,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define a route by using this method. This example is part of a larger example that is available in the method overview. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#145](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#145)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#145](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#145)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#145](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#145)] ]]> @@ -856,7 +856,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define a route by using this method. This example is part of a larger example that is available in the method overview. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#150](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#150)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#150](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#150)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#150](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#150)] ]]> @@ -916,7 +916,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define a route by using this method. This example is part of a larger example that is available in the method overview. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#155](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#155)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#155](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#155)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#155](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#155)] ]]> @@ -972,7 +972,7 @@ routes.Ignore("{*allaspx}", new {allaspx=@".*\.aspx(/.*)?"}); The following example shows how to define a route by using this method. This example is part of a larger example that is available in the method overview. [!code-csharp[System.Web.Routing.RouteCollection.MapPageRoute#160](~/snippets/csharp/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/cs/global.asax#160)] - [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#160](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/vb/global.asax#160)] + [!code-vb[System.Web.Routing.RouteCollection.MapPageRoute#160](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.routing.routecollection.mappageroute/global.asax#160)] ]]> diff --git a/xml/System.Web.Routing/RouteTable.xml b/xml/System.Web.Routing/RouteTable.xml index 619621ad062..561f2494c9d 100644 --- a/xml/System.Web.Routing/RouteTable.xml +++ b/xml/System.Web.Routing/RouteTable.xml @@ -42,7 +42,7 @@ The following example shows how to add a object to the property. [!code-csharp[System.Web.Routing.RouteTable.Routes#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Global.asax#1)] ]]> @@ -119,7 +119,7 @@ The following example shows how to add a object to the property. [!code-csharp[System.Web.Routing.RouteTable.Routes#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.RouteTable.Routes#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Global.asax#1)] ]]> diff --git a/xml/System.Web.Routing/StopRoutingHandler.xml b/xml/System.Web.Routing/StopRoutingHandler.xml index e32b44dea32..ea3d37b00c4 100644 --- a/xml/System.Web.Routing/StopRoutingHandler.xml +++ b/xml/System.Web.Routing/StopRoutingHandler.xml @@ -44,7 +44,7 @@ The following example shows how to prevent routing from handling requests for .axd requests. [!code-csharp[System.Web.Routing.StopRoutingHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.StopRoutingHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.StopRoutingHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/Global.asax#1)] ]]> @@ -82,7 +82,7 @@ The following example shows how to prevent routing from handling requests for .axd files. [!code-csharp[System.Web.Routing.StopRoutingHandler#1](~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/cs/Global.asax#1)] - [!code-vb[System.Web.Routing.StopRoutingHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/vb/Global.asax#1)] + [!code-vb[System.Web.Routing.StopRoutingHandler#1](~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.StopRoutingHandler/Global.asax#1)] ]]> diff --git a/xml/System.Web.Routing/VirtualPathData.xml b/xml/System.Web.Routing/VirtualPathData.xml index 28efae021bd..af99453b9be 100644 --- a/xml/System.Web.Routing/VirtualPathData.xml +++ b/xml/System.Web.Routing/VirtualPathData.xml @@ -40,7 +40,7 @@ The following example shows a control that creates a URL that is based on a route that has parameters that are named `action` and `categoryName`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Default.aspx.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Default.aspx.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Default.aspx.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ The following example shows a control that creates a URL based on a route that has parameters that are named `action` and `categoryName`. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/cs/Default.aspx.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/vb/Default.aspx.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Routing.RouteTable.Routes/Default.aspx.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Web.Script.Serialization/JavaScriptSerializer.xml b/xml/System.Web.Script.Serialization/JavaScriptSerializer.xml index 02e41250e53..81861445bc8 100644 --- a/xml/System.Web.Script.Serialization/JavaScriptSerializer.xml +++ b/xml/System.Web.Script.Serialization/JavaScriptSerializer.xml @@ -59,10 +59,10 @@ To serialize an object, use the class to save and restore the state of an object by using JSON serialization. This code uses a custom converter that is provided for the class. @@ -379,12 +379,12 @@ To serialize an object, use the @@ -675,12 +675,12 @@ It requires a class named `Person`, which is shown in the following example. The following example provides a simple illustration of how to serialize and deserialize data objects. [!code-csharp[System.Web.Script.JavaScriptSerializer](~/snippets/csharp/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/cs/default.aspx.cs#1)] -[!code-vb[System.Web.Script.JavaScriptSerializer](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/vb/default.aspx.vb#1)] +[!code-vb[System.Web.Script.JavaScriptSerializer](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/default.aspx.vb#1)] It requires a class named `Person`, which is shown in the following example. [!code-csharp[System.Web.Script.JavaScriptSerializer](~/snippets/csharp/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/cs/default.aspx.cs#2)] -[!code-vb[System.Web.Script.JavaScriptSerializer](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/vb/default.aspx.vb#2)] +[!code-vb[System.Web.Script.JavaScriptSerializer](~/snippets/visualbasic/VS_Snippets_WebNet/system.web.script.serialization.javascriptserializer/default.aspx.vb#2)] ]]> diff --git a/xml/System.Web.UI.Design.WebControls.WebParts/ConnectionsZoneDesigner.xml b/xml/System.Web.UI.Design.WebControls.WebParts/ConnectionsZoneDesigner.xml index e38f1d95e40..fda3164c8b5 100644 --- a/xml/System.Web.UI.Design.WebControls.WebParts/ConnectionsZoneDesigner.xml +++ b/xml/System.Web.UI.Design.WebControls.WebParts/ConnectionsZoneDesigner.xml @@ -32,7 +32,7 @@ The following code example shows how to hide additional properties from a custom control by overriding the method. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/CS/ConnectionsZoneSample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/vb/connectionszonesample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_ConnectionsZoneDesigner_Overview/connectionszonesample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.Design.WebControls.WebParts/EditorPartDesigner.xml b/xml/System.Web.UI.Design.WebControls.WebParts/EditorPartDesigner.xml index c73c1c4ca80..c7fc0dd9540 100644 --- a/xml/System.Web.UI.Design.WebControls.WebParts/EditorPartDesigner.xml +++ b/xml/System.Web.UI.Design.WebControls.WebParts/EditorPartDesigner.xml @@ -30,17 +30,17 @@ The following code example creates a simple custom control that allows the user to change the property of the target control. The associated validates the control and replaces the user input text box at design time with a label explaining that it is hidden. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/CS/SecretEditorPart.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/secreteditorpart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/secreteditorpart.vb" id="Snippet1"::: In order for the custom control to render, the page must have a control, an with a for the control to reside in, and a containing a control for the custom to act on, as shown in the following code example. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/CS/Default.aspx" id="Snippet2"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/default.aspx" id="Snippet2"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/default.aspx" id="Snippet2"::: For the to be usable at run time, edit mode must be enabled on the page. The following code example demonstrates how to do so with a code-behind file. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/CS/Default.aspx.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/vb/default.aspx.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_EditorPartDesigner_Overview/default.aspx.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Web.UI.Design.WebControls.WebParts/WebPartDesigner.xml b/xml/System.Web.UI.Design.WebControls.WebParts/WebPartDesigner.xml index 80671f710f8..cc8a31143a4 100644 --- a/xml/System.Web.UI.Design.WebControls.WebParts/WebPartDesigner.xml +++ b/xml/System.Web.UI.Design.WebControls.WebParts/WebPartDesigner.xml @@ -34,7 +34,7 @@ All the methods overridden in this example derive from the base class. For other available members and their use, see . :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/CS/BirthdayPart.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/vb/birthdaypart.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartDesigner_Overview/birthdaypart.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.Design.WebControls.WebParts/WebPartManagerDesigner.xml b/xml/System.Web.UI.Design.WebControls.WebParts/WebPartManagerDesigner.xml index 456103e252d..115ae48d94b 100644 --- a/xml/System.Web.UI.Design.WebControls.WebParts/WebPartManagerDesigner.xml +++ b/xml/System.Web.UI.Design.WebControls.WebParts/WebPartManagerDesigner.xml @@ -28,7 +28,7 @@ The following code example shows how to change the design-time appearance of a custom control by overriding the method of the designer. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/CS/PrettyPartManager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/vb/prettypartmanager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebPartsDesigners_WebPartManagerDesigner_Overview/prettypartmanager.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.Design/ControlDesigner.xml b/xml/System.Web.UI.Design/ControlDesigner.xml index c3e604263cd..23ef9ef3dc3 100644 --- a/xml/System.Web.UI.Design/ControlDesigner.xml +++ b/xml/System.Web.UI.Design/ControlDesigner.xml @@ -100,9 +100,9 @@ To try the example, add a reference to the System.Design.dll assembly and compile the code. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/ControlDesignerSample/cs/TextControlDesigner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/vb/TextControlDesigner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/TextControlDesigner.vb" id="Snippet1"::: :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/ControlDesignerSample/cs/TextControlDesigner.aspx" id="Snippet8"::: -:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/vb/TextControlDesigner.aspx" id="Snippet8"::: +:::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/ControlDesignerSample/TextControlDesigner.aspx" id="Snippet8"::: ]]> diff --git a/xml/System.Web.UI.Design/XmlDataFileEditor.xml b/xml/System.Web.UI.Design/XmlDataFileEditor.xml index 92f06ccab9f..e9d7d2de4f2 100644 --- a/xml/System.Web.UI.Design/XmlDataFileEditor.xml +++ b/xml/System.Web.UI.Design/XmlDataFileEditor.xml @@ -32,7 +32,7 @@ The following code example demonstrates how to associate an instance of the class with a property that is contained within a custom control. When the control property is edited on the design surface, the class provides the user interface to select and edit an XML file name for the property value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/cs/simplecontrolwithfilename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/vb/simplecontrolwithfilename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XmlDataFileEditor/simplecontrolwithfilename.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.Design/XsdSchemaFileEditor.xml b/xml/System.Web.UI.Design/XsdSchemaFileEditor.xml index eaa140cf6e7..711ed0e8337 100644 --- a/xml/System.Web.UI.Design/XsdSchemaFileEditor.xml +++ b/xml/System.Web.UI.Design/XsdSchemaFileEditor.xml @@ -32,7 +32,7 @@ The following code example demonstrates how to associate an instance of the class with a property that is contained within a custom control. When the control property is edited on the design surface, the class provides the user interface to select and edit an XML schema definition file name for the property value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/cs/simplecontrolwithfilename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/vb/simplecontrolwithfilename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XsdSchemaFileEditor/simplecontrolwithfilename.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.Design/XslTransformFileEditor.xml b/xml/System.Web.UI.Design/XslTransformFileEditor.xml index 60088654bd8..a9d786caf34 100644 --- a/xml/System.Web.UI.Design/XslTransformFileEditor.xml +++ b/xml/System.Web.UI.Design/XslTransformFileEditor.xml @@ -32,7 +32,7 @@ The following code example demonstrates how to associate an instance of the class with a property that is contained within a custom control. When the control property is edited on the design surface, the class allows the user interface to select and edit an XML transform file name for the property value. :::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/cs/simplecontrolwithfilename.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/vb/simplecontrolwithfilename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/WebDesigner.XslTransformFileEditor/simplecontrolwithfilename.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.HtmlControls/HtmlInputButton.xml b/xml/System.Web.UI.HtmlControls/HtmlInputButton.xml index fe7002a82cc..c3b18e54c81 100644 --- a/xml/System.Web.UI.HtmlControls/HtmlInputButton.xml +++ b/xml/System.Web.UI.HtmlControls/HtmlInputButton.xml @@ -47,7 +47,7 @@ The following code example demonstrates how to use the control to create a command button, a Submit button, and a Reset button. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlInputButton/cs/htmlinputbuttoncs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlInputButton/vb/htmlinputbuttonvb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlInputButton/htmlinputbuttonvb.aspx" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.HtmlControls/HtmlInputImage.xml b/xml/System.Web.UI.HtmlControls/HtmlInputImage.xml index 56a51abef13..9d027575a15 100644 --- a/xml/System.Web.UI.HtmlControls/HtmlInputImage.xml +++ b/xml/System.Web.UI.HtmlControls/HtmlInputImage.xml @@ -840,7 +840,7 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates how to use the property to specify the controls to validate when an control posts back to the server. The page contains two text boxes to capture data from the user and two controls to ensure that the user does not leave a text box blank. The control for the first text box is in the `CityInfoGroup` validation group and the control for the second box is in the `StateInfoGroup` validation group. When the `CityQueryButton` is clicked, only the control in the `CityInfoGroup` validation group is validated. When the `StateQueryButton` is clicked, only the control in the `StateInfoGroup` validation group is validated. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/HtmlInputImageValidationGroup/cs/htmlinputimagevalidationgroupcs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/HtmlInputImageValidationGroup/vb/htmlinputimagevalidationgroupvb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/HtmlInputImageValidationGroup/htmlinputimagevalidationgroupvb.aspx" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.HtmlControls/HtmlMeta.xml b/xml/System.Web.UI.HtmlControls/HtmlMeta.xml index d6a833ed207..d2326bc79cd 100644 --- a/xml/System.Web.UI.HtmlControls/HtmlMeta.xml +++ b/xml/System.Web.UI.HtmlControls/HtmlMeta.xml @@ -38,7 +38,7 @@ The following code example demonstrates how to use the control to define HTML `` elements for a Web page. Two `` elements are defined, one listing keywords describing the page and one listing the date the page was created. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/cs/sourcecs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/vb/sourcevb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/sourcevb.aspx" id="Snippet1"::: ]]> @@ -125,7 +125,7 @@ The following code example demonstrates how to use the control to define HTML `` elements for a Web page. Two `` elements are defined, one listing keywords describing the page and one listing the date the page was created. The property is used to define the `content` attribute for each `` tag. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/cs/sourcecs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/vb/sourcevb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/sourcevb.aspx" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ The following code example demonstrates how to use the control to define HTML `` elements for a Web page. Two `` tags are defined, one listing keywords describing the page and one listing the date the page was created. The property is used to define the `name` attribute of each `` tag. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/cs/sourcecs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/vb/sourcevb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/sourcevb.aspx" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The following code example demonstrates how to use the control to define HTML `` elements for a Web page. Two `` tags are defined, one listing keywords describing the page and one listing the date the page was created. The property is used for the date-related `` tag to aid user agents reading the date value. :::code language="aspx-csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/cs/sourcecs.aspx" id="Snippet1"::: - :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/vb/sourcevb.aspx" id="Snippet1"::: + :::code language="aspx-vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.UI.HtmlControls.HtmlMeta/sourcevb.aspx" id="Snippet1"::: ]]> diff --git a/xml/System.Web.UI.HtmlControls/HtmlSelectBuilder.xml b/xml/System.Web.UI.HtmlControls/HtmlSelectBuilder.xml index 23173d758dd..c18c2a39738 100644 --- a/xml/System.Web.UI.HtmlControls/HtmlSelectBuilder.xml +++ b/xml/System.Web.UI.HtmlControls/HtmlSelectBuilder.xml @@ -30,10 +30,10 @@ The following code example demonstrates how to create a custom control that defines two types of `