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/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb rename to snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.CodeDirectives/VB/codedirective.vb b/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb rename to snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb b/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb rename to snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codemethodreferenceexpression/vb/source.vb b/snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.codedom.codemethodreferenceexpression/vb/source.vb rename to snippets/visualbasic/System.CodeDom/CodeMethodReferenceExpression/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb b/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb rename to snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb b/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb rename to snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb b/snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb rename to snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb b/snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb rename to snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb b/snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb rename to snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/vb.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Default/vb.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/EqualityComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb b/snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb rename to snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb b/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb rename to snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb b/snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb rename to snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.generic.list.sort/vb/Sort1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb b/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb rename to snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb b/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb rename to snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb b/snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb rename to snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb b/snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb rename to snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb b/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb b/snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb rename to snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb b/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb rename to snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb b/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb rename to snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringDictionary.CopyTo/VB/stringdictionary_copyto.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/CopyTo/stringdictionary_copyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringDictionary.CopyTo/VB/stringdictionary_copyto.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/CopyTo/stringdictionary_copyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb b/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb rename to snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb b/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb rename to snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb b/snippets/visualbasic/System.Collections/ArrayList/Item/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb rename to snippets/visualbasic/System.Collections/ArrayList/Item/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb b/snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb rename to snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb b/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb rename to snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb b/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb rename to snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb b/snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb rename to snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb b/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb rename to snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb rename to snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb b/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb rename to snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb b/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb rename to snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb rename to snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb b/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb rename to snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb b/snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryEntry/vb/DictionaryEntrySample.vb rename to snippets/visualbasic/System.Collections/DictionaryEntry/Overview/DictionaryEntrySample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb b/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb rename to snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb b/snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb rename to snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb b/snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb rename to snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb b/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb rename to snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb b/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb rename to snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb b/snippets/visualbasic/System.Collections/IList/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb rename to snippets/visualbasic/System.Collections/IList/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb b/snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.collections.istructuralequatable/vb/nanexample1.vb rename to snippets/visualbasic/System.Collections/IStructuralEquatable/Overview/nanexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb rename to snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb b/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb rename to snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb b/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb rename to snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb diff --git a/snippets/visualbasic/VS_Snippets_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/assnattribute.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/AssociationAttribute/Overview/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/assnattribute.vbproj 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.ColumnAttribute/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb rename to snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/vb-ColumnAttributes.vbproj b/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/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/AutoSync/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/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/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/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/change_action.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/DataContext.vbproj b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/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/CreateDatabase/DataContext.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb rename to snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/northwind.vb b/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/northwind.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/northwind.vb rename to snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/northwind.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.data.datatableextensions.asenumerable/vb/source.vb b/snippets/visualbasic/System.Data/DataTableExtensions/AsEnumerable/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.data.datatableextensions.asenumerable/vb/source.vb rename to snippets/visualbasic/System.Data/DataTableExtensions/AsEnumerable/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb b/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb rename to snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow1.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow1.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow2.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow2.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow3.vb b/snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.contracts.contractargumentvalidatorattribute/vb/ifthenthrow3.vb rename to snippets/visualbasic/System.Diagnostics.Contracts/ContractArgumentValidatorAttribute/Overview/ifthenthrow3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb b/snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb rename to snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb b/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb rename to snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb rename to snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb rename to snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb b/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb rename to snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb b/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb b/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb b/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb rename to snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb b/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb rename to snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb b/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb rename to snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.EnableExited/VB/processexitedevent.vb b/snippets/visualbasic/System.Diagnostics/Process/EnableRaisingEvents/processexitedevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.EnableExited/VB/processexitedevent.vb rename to snippets/visualbasic/System.Diagnostics/Process/EnableRaisingEvents/processexitedevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Id/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Id/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/Process/Id/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb b/snippets/visualbasic/System.Diagnostics/Process/Start/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Process.Start/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/Process/Start/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb b/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.Stopwatch/VB/source.vb b/snippets/visualbasic/System.Diagnostics/Stopwatch/Overview/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/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb b/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb rename to snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb b/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb rename to snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb b/snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb rename to snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb b/snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb rename to snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb b/snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb rename to snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_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/AddDays/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb rename to snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb b/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb rename to snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb b/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb rename to snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb b/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb b/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb b/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb rename to snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb b/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb rename to snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb b/snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb rename to snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb b/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb rename to snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.compare/vb/compare1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.compare/vb/compare1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrInt/VB/comparestrintstrint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstropt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStrOpt/VB/comparestrstropt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstropt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/indexof.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexof.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/indexof.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexof.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfIntInt/VB/indexofintint.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofintint.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfIntInt/VB/indexofintint.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofintint.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffix/VB/isprefixsuffix.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffix.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffix/VB/isprefixsuffix.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffix.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb b/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb b/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb rename to snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/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/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/Project.vbproj rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/Project1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb b/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb rename to snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vb b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vb rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vbproj b/snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureandregioninfobuilder.class/vb/car.vbproj rename to snippets/visualbasic/System.Globalization/CultureAndRegionInfoBuilder/Overview/car.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb b/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Program.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Program.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Project.vbproj b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/Project.vbproj rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb b/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb b/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb b/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb b/snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb b/snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb rename to snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsinv.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsinv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsinv.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsinv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.RFC1123Pattern/VB/dtfi_rfc1123pattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/RFC1123Pattern/dtfi_rfc1123pattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.RFC1123Pattern/VB/dtfi_rfc1123pattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/RFC1123Pattern/dtfi_rfc1123pattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb b/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb rename to snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb b/snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb rename to snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb b/snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb rename to snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb b/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb b/snippets/visualbasic/System.Globalization/IdnMapping/GetHashCode/conversion1b.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.getascii/vb/conversion1b.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/GetHashCode/conversion1b.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb b/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb b/snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb rename to snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_MinMax/VB/japanesecalendar_minmax.vb b/snippets/visualbasic/System.Globalization/JapaneseCalendar/MaxSupportedDateTime/japanesecalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_MinMax/VB/japanesecalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/JapaneseCalendar/MaxSupportedDateTime/japanesecalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/Project.vbproj b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/Project.vbproj rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb b/snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb rename to snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/.ctor/regioninfo_ctorculturename.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb b/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb b/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb b/snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb rename to snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb b/snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb rename to snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb b/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb rename to snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb b/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb rename to snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortversion/vb/example1.vb b/snippets/visualbasic/System.Globalization/SortVersion/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortversion/vb/example1.vb rename to snippets/visualbasic/System.Globalization/SortVersion/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.stringinfo.class/vb/indexing1.vb b/snippets/visualbasic/System.Globalization/StringInfo/Overview/indexing1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.stringinfo.class/vb/indexing1.vb rename to snippets/visualbasic/System.Globalization/StringInfo/Overview/indexing1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb b/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb b/snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb rename to snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb b/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb rename to snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb b/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb rename to snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb b/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb rename to snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb b/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb rename to snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb b/snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb rename to snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb b/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb rename to snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb b/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb rename to snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb b/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb rename to snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb b/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb rename to snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.pipes.pipestream/vb/sample.vb b/snippets/visualbasic/System.IO.Pipes/PipeStream/Read/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.pipes.pipestream/vb/sample.vb rename to snippets/visualbasic/System.IO.Pipes/PipeStream/Read/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb b/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb rename to snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb b/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb rename to snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb b/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb rename to snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb b/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb rename to snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb b/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb rename to snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb b/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb rename to snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb b/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb rename to snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb b/snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb rename to snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb b/snippets/visualbasic/System.IO/Directory/Delete/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb rename to snippets/visualbasic/System.IO/Directory/Delete/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb b/snippets/visualbasic/System.IO/Directory/Delete/class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb rename to snippets/visualbasic/System.IO/Directory/Delete/class2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles2/vb/module1.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles2/vb/module1.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/module11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb b/snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb rename to snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb b/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb rename to snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb b/snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb rename to snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class1.vb b/snippets/visualbasic/System.IO/Directory/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class1.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb b/snippets/visualbasic/System.IO/Directory/Overview/class2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb b/snippets/visualbasic/System.IO/Directory/Overview/class3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb b/snippets/visualbasic/System.IO/Directory/Overview/class4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class5.vb b/snippets/visualbasic/System.IO/Directory/Overview/class5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class5.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb b/snippets/visualbasic/System.IO/Directory/Overview/class6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb b/snippets/visualbasic/System.IO/Directory/Overview/class7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb rename to snippets/visualbasic/System.IO/Directory/Overview/class7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb b/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb b/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb rename to snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.writeallappendall/vb/program.vb b/snippets/visualbasic/System.IO/File/AppendAllLines/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb rename to snippets/visualbasic/System.IO/File/AppendAllLines/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb b/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.AllLines/vb/AllText.vb b/snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb rename to snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb b/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb rename to snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb b/snippets/visualbasic/System.IO/File/ReadLines/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb rename to snippets/visualbasic/System.IO/File/ReadLines/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_System/system.IO.FileStream3/VB/fstreamlock.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb b/snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb rename to snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb b/snippets/visualbasic/System.IO/FileStream/Seek/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb rename to snippets/visualbasic/System.IO/FileStream/Seek/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb b/snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb rename to snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb b/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb rename to snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb b/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb rename to snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb b/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb rename to snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_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_System/system.IO.StreamReader/VB/asyncex1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/asyncex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/asyncex1.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/asyncex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb b/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb rename to snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb b/snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb rename to snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb b/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb rename to snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb b/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb rename to snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example1.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example1.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb b/snippets/visualbasic/System.IO/StringReader/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb rename to snippets/visualbasic/System.IO/StringReader/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb b/snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb rename to snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb b/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb rename to snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb b/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb rename to snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb b/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb rename to snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb b/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb rename to snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb b/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb rename to snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb b/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb rename to snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb similarity index 99% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb rename to snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb index 82e51f4a32e..47c857fb8da 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb +++ b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb @@ -5,11 +5,11 @@ Namespace SequenceExamples Module EnumerableSnippets Sub Main() OfTypeEx1() - End Sub - + End Sub + #Region "Aggregate" - - ' + + ' Sub AggregateEx1() Dim sentence As String = "the quick brown fox jumps over the lazy dog" @@ -36,7 +36,7 @@ Namespace SequenceExamples ' Count the even numbers in the array, using a seed value of 0. Dim numEven As Integer = ints.Aggregate(0, - Function(ByVal total, ByVal number) _ + Function(ByVal total, ByVal number) _ IIf(number Mod 2 = 0, total + 1, total)) ' Display the output. @@ -56,20 +56,20 @@ Namespace SequenceExamples ' Determine whether any string in the array is longer than "banana". Dim longestName As String = fruits.Aggregate("banana", - Function(ByVal longest, ByVal fruit) _ + Function(ByVal longest, ByVal fruit) _ IIf(fruit.Length > longest.Length, fruit, longest), Function(ByVal fruit) fruit.ToUpper()) ' Display the output. Console.WriteLine($"The fruit with the longest name is {longestName}") - End Sub - - ' This code produces the following output: - ' - ' The fruit with the longest name is PASSIONFRUIT - ' + End Sub + + ' This code produces the following output: + ' + ' The fruit with the longest name is PASSIONFRUIT + ' #End Region - + #Region "All" NotInheritable Class All ' @@ -113,7 +113,7 @@ Namespace SequenceExamples End Structure Sub AllEx2() - Dim people As New List(Of Person)(New Person() _ + Dim people As New List(Of Person)(New Person() _ {New Person With {.LastName = "Haas", .Pets = New Pet() {New Pet With {.Name = "Barley", .Age = 10}, New Pet With {.Name = "Boots", .Age = 14}, @@ -142,12 +142,12 @@ Namespace SequenceExamples End Sub ' - End Class - + End Class + #End Region - + #Region "Any" - + NotInheritable Class Any1 Sub AnyEx1() ' @@ -179,7 +179,7 @@ Namespace SequenceExamples End Structure Sub AnyEx2() - Dim people As New List(Of Person)(New Person() _ + Dim people As New List(Of Person)(New Person() _ {New Person With {.LastName = "Haas", .Pets = New Pet() {New Pet With {.Name = "Barley", .Age = 10}, New Pet With {.Name = "Boots", .Age = 14}, @@ -221,7 +221,7 @@ Namespace SequenceExamples Shared Sub AnyEx3() ' Create a list of Pets - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8, .Vaccinated = True}, New Pet With {.Name = "Boots", .Age = 4, .Vaccinated = False}, New Pet With {.Name = "Whiskers", .Age = 1, .Vaccinated = False}}) @@ -239,12 +239,12 @@ Namespace SequenceExamples ' ' There are unvaccinated animals over age 1. ' - End Class - + End Class + #End Region - + #Region "AsEnumerable" - ' + ' Dim output As New System.Text.StringBuilder ' A custom class. @@ -265,7 +265,7 @@ Namespace SequenceExamples Sub AsEnumerableEx1() ' Create a new Clump(Of T) object. - Dim fruitClump As New Clump(Of String)(New String() _ + Dim fruitClump As New Clump(Of String)(New String() _ {"apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry"}) @@ -285,17 +285,17 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' In Clump's implementation of Where(). - ' query1 has been created. - ' - ' query2 has been created. - ' + End Sub + + ' This code produces the following output: + ' + ' In Clump's implementation of Where(). + ' query1 has been created. + ' + ' query2 has been created. + ' #End Region - + #Region "Average" Sub AverageEx1() ' @@ -366,10 +366,10 @@ Namespace SequenceExamples ' ' The average string length is 6.5 ' - End Sub - + End Sub + #End Region - + #Region "Cast" Sub CastEx1() ' @@ -401,11 +401,11 @@ Namespace SequenceExamples ' lemon ' mango ' - End Sub + End Sub #End Region - + #Region "Concat" - + NotInheritable Class Concat ' Structure Pet @@ -439,8 +439,8 @@ Namespace SequenceExamples ' the collection of cat name strings with a collection ' of dog name strings. Dim query As IEnumerable(Of String) = - cats _ - .Select(Function(cat) cat.Name) _ + cats _ + .Select(Function(cat) cat.Name) _ .Concat(dogs.Select(Function(dog) dog.Name)) Dim output As New System.Text.StringBuilder @@ -473,7 +473,7 @@ Namespace SequenceExamples Dim animals() As IEnumerable(Of Pet) = {cats, dogs} Dim query As IEnumerable(Of String) = - (animals.SelectMany(Function(pets) _ + (animals.SelectMany(Function(pets) _ pets.Select(Function(pet) pet.Name))) Dim output As New System.Text.StringBuilder @@ -494,10 +494,10 @@ Namespace SequenceExamples ' Fido ' End Sub - End Class - + End Class + #End Region - + #Region "Contains" Sub ContainsEx1() ' @@ -519,9 +519,9 @@ Namespace SequenceExamples ' ' The array does contain mango ' - End Sub + End Sub #End Region - + #Region "Count" Sub CountEx1() ' @@ -573,10 +573,10 @@ Namespace SequenceExamples ' ' There are 2 unvaccinated animals. ' - End Class - + End Class + #End Region - + #Region "DefaultIfEmpty" NotInheritable Class DefaultIfEmpty1 ' @@ -587,7 +587,7 @@ Namespace SequenceExamples Sub DefaultIfEmptyEx1() ' Create a List of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -642,7 +642,7 @@ Namespace SequenceExamples Dim defaultPet As New Pet With {.Name = "Default Pet", .Age = 0} ' Create a List of Pet objects. - Dim pets1 As New List(Of Pet)(New Pet() _ + Dim pets1 As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -679,15 +679,15 @@ Namespace SequenceExamples ' ' Name: Default Pet ' - End Class - + End Class + #End Region - + #Region "Distinct" Sub DistinctEx1() ' ' Create a list of integers. - Dim ages As New List(Of Integer)(New Integer() _ + Dim ages As New List(Of Integer)(New Integer() _ {21, 46, 46, 55, 17, 21, 55, 55}) ' Select the unique numbers in the List. @@ -709,9 +709,9 @@ Namespace SequenceExamples ' 55 ' 17 ' - End Sub + End Sub #End Region - + #Region "ElementAt" Sub ElementAtEx1() ' @@ -731,9 +731,9 @@ Namespace SequenceExamples ' ' The name chosen at random is Ito, Shu ' - End Sub + End Sub #End Region - + #Region "ElementAtOrDefault" Sub ElementAtOrDefaultEx1() ' @@ -755,11 +755,11 @@ Namespace SequenceExamples ' ' The name chosen at index 20 is [THERE IS NO NAME AT THIS INDEX] ' - End Sub + End Sub #End Region - + #Region "Empty" - + Sub EmptyEx1() ' ' Create an empty sequence. @@ -786,7 +786,7 @@ Namespace SequenceExamples ' empty collection for the seed value. Dim allNames As IEnumerable(Of String) = namesList.Aggregate(Enumerable.Empty(Of String)(), - Function(current, nextOne) _ + Function(current, nextOne) _ IIf(nextOne.Length > 3, current.Union(nextOne), current)) Dim output As New System.Text.StringBuilder @@ -808,9 +808,9 @@ Namespace SequenceExamples ' Potra, Cristina ' Iallo, Lucio ' - End Sub + End Sub #End Region - + #Region "Except" Sub ExceptEx1() ' @@ -838,9 +838,9 @@ Namespace SequenceExamples ' 2.4 ' 2.5 ' - End Sub + End Sub #End Region - + #Region "First" Sub FirstEx1() ' @@ -876,9 +876,9 @@ Namespace SequenceExamples ' ' 92 ' - End Sub + End Sub #End Region - + #Region "FirstOrDefault" Sub FirstOrDefaultEx1() ' @@ -948,11 +948,11 @@ Namespace SequenceExamples ' The value of the firstMonth1 variable is 1 ' The value of the firstMonth2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "GroupBy" - + NotInheritable Class GroupBy ' @@ -963,7 +963,7 @@ Namespace SequenceExamples Sub GroupByEx1() 'Create a list of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}, @@ -1004,7 +1004,7 @@ Namespace SequenceExamples ' Uses query expression syntax. Sub GroupByEx2() ' Create a list of pets. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}, @@ -1056,7 +1056,7 @@ Namespace SequenceExamples Public Sub GroupByEx3() ' Create a list of pets. - Dim petsList As New List(Of Pet)(New Pet() _ + Dim petsList As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8.3}, New Pet With {.Name = "Boots", .Age = 4.9}, New Pet With {.Name = "Whiskers", .Age = 1.5}, @@ -1117,7 +1117,7 @@ Namespace SequenceExamples Public Sub GroupByEx4() ' Create a list of pets. - Dim petsList As New List(Of Pet)(New Pet() _ + Dim petsList As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8.3}, New Pet With {.Name = "Boots", .Age = 4.9}, New Pet With {.Name = "Whiskers", .Age = 1.5}, @@ -1167,12 +1167,12 @@ Namespace SequenceExamples ' Minimum age: 1.5 ' Maximum age: 1.5 ' - End Class - + End Class + #End Region - + #Region "GroupJoin" - + NotInheritable Class GroupJoin ' @@ -1205,7 +1205,7 @@ Namespace SequenceExamples people.GroupJoin(pets, Function(person) person, Function(pet) pet.Owner, - Function(person, petCollection) _ + Function(person, petCollection) _ New With {.OwnerName = person.Name, .Pets = petCollection.Select( Function(pet) pet.Name)}) @@ -1234,10 +1234,10 @@ Namespace SequenceExamples ' Weiss, Charlotte ' Whiskers ' - End Class - + End Class + #End Region - + #Region "Intersect" Sub IntersectExample1() ' @@ -1261,11 +1261,11 @@ Namespace SequenceExamples ' 26 ' 30 ' - End Sub + End Sub #End Region - + #Region "Join" - + NotInheritable Class Join ' Structure Person @@ -1297,7 +1297,7 @@ Namespace SequenceExamples people.Join(pets, Function(person) person, Function(pet) pet.Owner, - Function(person, pet) _ + Function(person, pet) _ New With {.OwnerName = person.Name, .Pet = pet.Name}) Dim output As New System.Text.StringBuilder @@ -1317,10 +1317,10 @@ Namespace SequenceExamples ' Weiss, Charlotte - Whiskers ' - End Class - + End Class + #End Region - + #Region "Last" Sub LastEx1() ' @@ -1357,9 +1357,9 @@ Namespace SequenceExamples ' ' 87 ' - End Sub + End Sub #End Region - + #Region "LastOrDefault" Sub LastOrDefaultEx1() ' @@ -1432,9 +1432,9 @@ Namespace SequenceExamples ' The value of the lastDay1 variable is 1 ' The value of the lastDay2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "LongCount" Sub LongCountEx1() ' @@ -1463,7 +1463,7 @@ Namespace SequenceExamples Sub LongCountEx2() ' Create a list of Pet objects. - Dim pets As New List(Of Pet)(New Pet() _ + Dim pets As New List(Of Pet)(New Pet() _ {New Pet With {.Name = "Barley", .Age = 8}, New Pet With {.Name = "Boots", .Age = 4}, New Pet With {.Name = "Whiskers", .Age = 1}}) @@ -1482,15 +1482,15 @@ Namespace SequenceExamples ' ' There are 2 animals over age 3 ' - End Class - + End Class + #End Region - + #Region "Max" Sub MaxEx1() ' ' Create a list of Long values. - Dim longs As New List(Of Long)(New Long() _ + Dim longs As New List(Of Long)(New Long() _ {4294967296L, 466855135L, 81125L}) ' Get the maximum value in the list. @@ -1540,7 +1540,7 @@ Namespace SequenceExamples ''' -1 if this Pet's sum is 'less' than the other Pet, ''' 0 if they are equal, ''' or 1 if this Pet's sum is 'greater' than the other Pet. - Function CompareTo(ByVal other As Pet) As Integer _ + Function CompareTo(ByVal other As Pet) As Integer _ Implements IComparable(Of Pet).CompareTo If (other.Age + other.Name.Length > Me.Age + Me.Name.Length) Then @@ -1571,10 +1571,10 @@ Namespace SequenceExamples ' ' The 'maximum' animal is Barley ' - End Class - + End Class + #End Region - + #Region "Max2" NotInheritable Class Max10 'with a selector ' @@ -1592,7 +1592,7 @@ Namespace SequenceExamples ' Determine the "maximum" pet by passing a ' lambda expression to Max() that sums the pet's age ' and name length. - Dim max As Integer = pets.Max(Function(pet) _ + Dim max As Integer = pets.Max(Function(pet) _ pet.Age + pet.Name.Length) ' Display the result. @@ -1603,10 +1603,10 @@ Namespace SequenceExamples ' ' The maximum pet age plus name length is 14 ' - End Class - + End Class + #End Region - + #Region "Min" Sub MinEx1() ' @@ -1656,7 +1656,7 @@ Namespace SequenceExamples ''' -1 if this Pet's age is smaller, ''' 0 if the Pets' ages are equal, ''' or 1 if this Pet's age is greater. - Function CompareTo(ByVal other As Pet) As Integer _ + Function CompareTo(ByVal other As Pet) As Integer _ Implements IComparable(Of Pet).CompareTo If (other.Age > Me.Age) Then @@ -1687,10 +1687,10 @@ Namespace SequenceExamples ' ' The 'minimum' pet is Whiskers ' - End Class - + End Class + #End Region - + #Region "Min2" NotInheritable Class Min10 ' @@ -1717,29 +1717,29 @@ Namespace SequenceExamples ' ' The youngest pet is age 1 ' - End Class - + End Class + #End Region - + #Region "OfType" - Sub OfTypeEx1() - ' - ' Create an ArrayList and add items to it. - Dim fruits As New ArrayList() From { - "Mango", - "Orange", - Nothing, - "Apple", - 3.0, - "Banana" - } - - ' Apply OfType(Of String)() to the ArrayList - ' to filter out non-string items. + Sub OfTypeEx1() + ' + ' Create an ArrayList and add items to it. + Dim fruits As New ArrayList() From { + "Mango", + "Orange", + Nothing, + "Apple", + 3.0, + "Banana" + } + + ' Apply OfType(Of String)() to the ArrayList + ' to filter out non-string items. Dim query1 As IEnumerable(Of String) = fruits.OfType(Of String)() ' Print the results. - Dim output As New System.Text.StringBuilder("Elements of type 'string' are:" _ + Dim output As New System.Text.StringBuilder("Elements of type 'string' are:" _ & vbCrLf) For Each fruit As String In query1 output.AppendLine(fruit) @@ -1748,7 +1748,7 @@ Namespace SequenceExamples ' The following query shows that the standard query operators such as ' Where() can be applied to the ArrayList type after calling OfType(). Dim query2 As IEnumerable(Of String) = - fruits.OfType(Of String)().Where(Function(fruit) _ + fruits.OfType(Of String)().Where(Function(fruit) _ fruit.Contains("n"c, StringComparison.CurrentCultureIgnoreCase)) output.AppendLine(vbCrLf & "The following strings contain 'n':") @@ -1772,11 +1772,11 @@ Namespace SequenceExamples ' Orange ' Banana ' - End Sub + End Sub #End Region - + #Region "OrderBy" - ' + ' Structure Pet Public Name As String Public Age As Integer @@ -1812,7 +1812,7 @@ Namespace SequenceExamples Class CaseInsensitiveCompare Implements IComparer(Of String) ' Define a compare method that ignores case. - Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ + Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ Implements System.Collections.Generic.IComparer(Of String).Compare Return String.Compare(s1, s2, True) End Function @@ -1821,7 +1821,7 @@ Namespace SequenceExamples Class CaseSensitiveCompare Implements IComparer(Of String) ' Define a compare method that does not ignore case. - Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ + Public Function Compare(ByVal s1 As String, ByVal s2 As String) As Integer _ Implements System.Collections.Generic.IComparer(Of String).Compare Return String.Compare(s1, s2, False) End Function @@ -1852,38 +1852,38 @@ Namespace SequenceExamples For Each element In sortedArray Console.WriteLine(element) Next - End Sub - ' Output: - ' Case-insensitive sort of the strings in the array: - ' First - ' first - ' Four - ' four - ' one - ' One - - ' Case-sensitive sort of the strings in the array: - ' first - ' First - ' four - ' Four - ' one - ' One - - ' Sort based on the lengths of the strings in the array: - ' one - ' One - ' Four - ' four - ' First - ' first - ' + End Sub + ' Output: + ' Case-insensitive sort of the strings in the array: + ' First + ' first + ' Four + ' four + ' one + ' One + + ' Case-sensitive sort of the strings in the array: + ' first + ' First + ' four + ' Four + ' one + ' One + + ' Sort based on the lengths of the strings in the array: + ' one + ' One + ' Four + ' four + ' First + ' first + ' #End Region - + #Region "OrderByDescending" - ' - ' This class provides a custom implementation - ' of the IComparer.Compare() method. + ' + ' This class provides a custom implementation + ' of the IComparer.Compare() method. Class SpecialComparer Implements IComparer(Of Decimal) ''' @@ -1897,7 +1897,7 @@ Namespace SequenceExamples ''' part is less than the second decimal's fractional part, ''' or the result of calling Decimal.Compare() ''' if the fractional parts are equal. - Function Compare(ByVal d1 As Decimal, ByVal d2 As Decimal) As Integer _ + Function Compare(ByVal d1 As Decimal, ByVal d2 As Decimal) As Integer _ Implements IComparer(Of Decimal).Compare Dim fractional1 As Decimal @@ -1930,7 +1930,7 @@ Namespace SequenceExamples Sub OrderByDescendingEx1() ' Create a list of decimal values. - Dim decimals As New List(Of Decimal)(New Decimal() _ + Dim decimals As New List(Of Decimal)(New Decimal() _ {6.2D, 8.3D, 0.5D, 1.3D, 6.3D, 9.7D}) ' Order the elements of the list by passing @@ -1946,19 +1946,19 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' 9.7 - ' 0.5 - ' 8.3 - ' 6.3 - ' 1.3 - ' 6.2 - ' + End Sub + + ' This code produces the following output: + ' + ' 9.7 + ' 0.5 + ' 8.3 + ' 6.3 + ' 1.3 + ' 6.2 + ' #End Region - + #Region "Range" Sub RangeEx1() ' @@ -1988,9 +1988,9 @@ Namespace SequenceExamples ' 81 ' 100 ' - End Sub + End Sub #End Region - + #Region "Repeat" Sub RepeatEx1() ' @@ -2024,14 +2024,14 @@ Namespace SequenceExamples ' I like programming. ' I like programming. ' - End Sub + End Sub #End Region - + #Region "Reverse" Sub ReverseEx1() ' ' Create a List of Char values. - Dim appleLetters As New List(Of Char)(New Char() _ + Dim appleLetters As New List(Of Char)(New Char() _ {"a"c, "P"c, "P"c, "L"c, "E"c}) ' Reverse the order of the elements in the list. @@ -2052,9 +2052,9 @@ Namespace SequenceExamples ' ' E L P P a ' - End Sub + End Sub #End Region - + #Region "_Select" Sub SelectEx1() ' @@ -2097,7 +2097,7 @@ Namespace SequenceExamples ' a substring of each item whose length is equal ' to the index position in the original array. Dim query = - fruits.Select(Function(fruit, index) _ + fruits.Select(Function(fruit, index) _ New With {index, .Str = fruit.Substring(0, index)}) Dim output As New System.Text.StringBuilder @@ -2117,9 +2117,9 @@ Namespace SequenceExamples ' { index = 4, Str = pass } ' { index = 5, Str = grape } ' - End Sub + End Sub #End Region - + #Region "SelectMany" NotInheritable Class SelectMany1 ' @@ -2209,8 +2209,8 @@ Namespace SequenceExamples ' of each PetOwner to each pet's name in that petOwner's ' array of pets. Dim query As IEnumerable(Of String) = - petOwners.SelectMany(Function(petOwner, index) _ - petOwner.Pets.Select(Function(pet) _ + petOwners.SelectMany(Function(petOwner, index) _ + petOwner.Pets.Select(Function(pet) _ index.ToString() + pet)) Dim output As New System.Text.StringBuilder @@ -2246,12 +2246,12 @@ Namespace SequenceExamples ' Project an anonymous type that consists of ' the owner's name and the pet's name (string). Dim query = - petOwners _ + petOwners _ .SelectMany( Function(petOwner) petOwner.Pets, - Function(petOwner, petName) New With {petOwner, petName}) _ - .Where(Function(ownerAndPet) ownerAndPet.petName.StartsWith("S")) _ - .Select(Function(ownerAndPet) _ + Function(petOwner, petName) New With {petOwner, petName}) _ + .Where(Function(ownerAndPet) ownerAndPet.petName.StartsWith("S")) _ + .Select(Function(ownerAndPet) _ New With {.Owner = ownerAndPet.petOwner.Name, .Pet = ownerAndPet.petName }) @@ -2272,12 +2272,12 @@ Namespace SequenceExamples ' Owner=Ashkenazi, Pet=Sugar ' Owner=Price, Pet=Scratches ' - End Class - + End Class + #End Region - + #Region "SequenceEqual" - + NotInheritable Class SequenceEqual1 ' Class Pet @@ -2337,10 +2337,10 @@ Namespace SequenceExamples ' The lists are not equal. ' End Sub - End Class - + End Class + #End Region - + #Region "_Single" Sub SingleEx1() ' @@ -2396,7 +2396,7 @@ Namespace SequenceExamples ' Try to get the single item in the array whose length is > 15. Try - result = fruits.Single(Function(fruit) _ + result = fruits.Single(Function(fruit) _ fruit.Length > 15) Catch ex As System.InvalidOperationException result = "There is not EXACTLY ONE element whose length is > 15." @@ -2410,9 +2410,9 @@ Namespace SequenceExamples ' First query: passionfruit ' Second query: There is not EXACTLY ONE element whose length is > 15. ' - End Sub + End Sub #End Region - + #Region "SingleOrDefault" Sub SingleOrDefaultEx1() ' @@ -2498,9 +2498,9 @@ Namespace SequenceExamples ' The value of the pageNumber1 variable is 1 ' The value of the pageNumber2 variable is 1 ' - End Sub + End Sub #End Region - + #Region "Skip" Sub SkipEx1() ' @@ -2510,7 +2510,7 @@ Namespace SequenceExamples ' Sort the numbers in descending order and ' get all but the first (largest) three numbers. Dim skippedGrades As IEnumerable(Of Integer) = - grades _ + grades _ .Skip(3) ' Display the results. @@ -2528,9 +2528,9 @@ Namespace SequenceExamples ' 98 ' 85 ' - End Sub + End Sub #End Region - + #Region "SkipWhile" Sub SkipWhileEx1() ' @@ -2540,8 +2540,8 @@ Namespace SequenceExamples ' Sort the grades in descending order and ' get all grades greater less than 80. Dim lowerGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .SkipWhile(Function(grade) grade >= 80) ' Display the results. @@ -2569,7 +2569,7 @@ Namespace SequenceExamples ' Skip items in the array whose value is greater than ' the item's index times 1000; get the remaining items. Dim query As IEnumerable(Of Integer) = - amounts.SkipWhile(Function(amount, index) _ + amounts.SkipWhile(Function(amount, index) _ amount > index * 1000) ' Output the results. @@ -2585,11 +2585,11 @@ Namespace SequenceExamples ' 1500 ' 5500 ' - End Sub + End Sub #End Region - + #Region "Sum" - + NotInheritable Class Sum9 ' Structure Package @@ -2599,14 +2599,14 @@ Namespace SequenceExamples Sub SumEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2}, New Package With {.Company = "Lucerne Publishing", .Weight = 18.7}, New Package With {.Company = "Wingtip Toys", .Weight = 6.0}, New Package With {.Company = "Adventure Works", .Weight = 33.8}}) ' Sum the values from each item's Weight property. - Dim totalWeight As Double = packages.Sum(Function(pkg) _ + Dim totalWeight As Double = packages.Sum(Function(pkg) _ pkg.Weight) ' Display the result. @@ -2622,7 +2622,7 @@ Namespace SequenceExamples Sub SumEx2() ' ' Create a list of Single values. - Dim numbers As New List(Of Single)(New Single() _ + Dim numbers As New List(Of Single)(New Single() _ {43.68F, 1.25F, 583.7F, 6.5F}) ' Get the sum of values in the list. @@ -2653,9 +2653,9 @@ Namespace SequenceExamples ' ' Total points earned: 311.39 ' - End Sub + End Sub #End Region - + #Region "Take" Sub TakeEx1() ' @@ -2666,8 +2666,8 @@ Namespace SequenceExamples ' them in descending order and then taking the ' first three values. Dim topThreeGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .Take(3) ' Display the results. @@ -2684,9 +2684,9 @@ Namespace SequenceExamples ' 92 ' 85 ' - End Sub + End Sub #End Region - + #Region "TakeWhile" Sub TakeWhileEx1() ' @@ -2697,7 +2697,7 @@ Namespace SequenceExamples ' Take strings from the array until one of ' the strings matches "orange". Dim query As IEnumerable(Of String) = - fruits.TakeWhile(Function(fruit) _ + fruits.TakeWhile(Function(fruit) _ String.Compare("orange", fruit, True) <> 0) ' Display the results. @@ -2726,7 +2726,7 @@ Namespace SequenceExamples ' of the string's lengths is greater than or ' equal to the string item's index in the array. Dim query As IEnumerable(Of String) = - fruits.TakeWhile(Function(fruit, index) _ + fruits.TakeWhile(Function(fruit, index) _ fruit.Length >= index) ' Display the results. @@ -2745,9 +2745,9 @@ Namespace SequenceExamples ' orange ' blueberry ' - End Sub + End Sub #End Region - + #Region "ThenBy" Sub ThenByEx1() ' @@ -2759,8 +2759,8 @@ Namespace SequenceExamples ' Sort the strings first by their length and then ' alphabetically by passing the identity function. Dim query As IEnumerable(Of String) = - fruits _ - .OrderBy(Function(fruit) fruit.Length) _ + fruits _ + .OrderBy(Function(fruit) fruit.Length) _ .ThenBy(Function(fruit) fruit) ' Display the results. @@ -2781,16 +2781,16 @@ Namespace SequenceExamples ' raspberry ' passionfruit ' - End Sub + End Sub #End Region - + #Region "ThenByDescending" - ' - ' This class provides a custom implementation of the Compare() method. + ' + ' This class provides a custom implementation of the Compare() method. Class CaseInsensitiveComparer Implements IComparer(Of String) - Function Compare(ByVal x As String, ByVal y As String) As Integer _ + Function Compare(ByVal x As String, ByVal y As String) As Integer _ Implements IComparer(Of String).Compare ' Compare values and ignore case. @@ -2805,8 +2805,8 @@ Namespace SequenceExamples ' Sort the strings first by their length and then ' by using a custom "case insensitive" comparer. Dim query As IEnumerable(Of String) = - fruits _ - .OrderBy(Function(fruit) fruit.Length) _ + fruits _ + .OrderBy(Function(fruit) fruit.Length) _ .ThenByDescending(Function(fruit) fruit, New CaseInsensitiveComparer()) ' Display the results. @@ -2815,21 +2815,21 @@ Namespace SequenceExamples output.AppendLine(fruit) Next Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - - ' apPLe - ' apple - ' APple - ' apPLE - ' orange - ' ORANGE - ' baNanA - ' BAnana - ' + End Sub + + ' This code produces the following output: + + ' apPLe + ' apple + ' APple + ' apPLE + ' orange + ' ORANGE + ' baNanA + ' BAnana + ' #End Region - + #Region "ToArray" NotInheritable Class ToArray ' @@ -2840,7 +2840,7 @@ Namespace SequenceExamples Sub ToArrayEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2}, New Package With {.Company = "Lucerne Publishing", .Weight = 18.7}, New Package With {.Company = "Wingtip Toys", .Weight = 6.0}, @@ -2849,8 +2849,8 @@ Namespace SequenceExamples ' Project the Company values from each item in the list ' and put them into an array. Dim companies() As String = - packages _ - .Select(Function(pkg) pkg.Company) _ + packages _ + .Select(Function(pkg) pkg.Company) _ .ToArray() ' Display the results. @@ -2868,12 +2868,12 @@ Namespace SequenceExamples ' Wingtip Toys ' Adventure Works ' - End Class - + End Class + #End Region - + #Region "ToDictionary" - + NotInheritable Class ToDictionary ' @@ -2885,7 +2885,7 @@ Namespace SequenceExamples Sub ToDictionaryEx1() ' Create a list of Package values. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2, .TrackingNumber = 89453312L}, New Package With @@ -2917,10 +2917,10 @@ Namespace SequenceExamples ' Key 299456122: Wingtip Toys, 6 pounds ' Key 4665518773: Adventure Works, 33.8 pounds ' - End Class - + End Class + #End Region - + #Region "ToList" Sub ToListEx1() ' @@ -2932,8 +2932,8 @@ Namespace SequenceExamples ' Project the length of each string and ' put the length values into a List object. Dim lengths As List(Of Integer) = - fruits _ - .Select(Function(fruit) fruit.Length) _ + fruits _ + .Select(Function(fruit) fruit.Length) _ .ToList() ' Display the results. @@ -2954,11 +2954,11 @@ Namespace SequenceExamples ' 5 ' 10 ' - End Sub + End Sub #End Region - + #Region "ToLookup" - ' + ' Structure Package Public Company As String Public Weight As Double @@ -2967,7 +2967,7 @@ Namespace SequenceExamples Sub ToLookupEx1() ' Create a list of Packages. - Dim packages As New List(Of Package)(New Package() _ + Dim packages As New List(Of Package)(New Package() _ {New Package With {.Company = "Coho Vineyard", .Weight = 25.2, .TrackingNumber = 89453312L}, New Package With @@ -2984,9 +2984,9 @@ Namespace SequenceExamples ' Select Company appended to TrackingNumber ' as the element values of the Lookup. Dim lookup As ILookup(Of Char, String) = - packages.ToLookup(Function(p) _ + packages.ToLookup(Function(p) _ Convert.ToChar(p.Company.Substring(0, 1)), - Function(p) _ + Function(p) _ p.Company & " " & p.TrackingNumber) Dim output As New System.Text.StringBuilder @@ -3011,25 +3011,25 @@ Namespace SequenceExamples ' Display the output. Console.WriteLine(output.ToString()) - End Sub - - ' This code produces the following output: - ' - ' C - ' Coho Vineyard 89453312 - ' Contoso Pharmaceuticals 670053128 - ' L - ' Lucerne Publishing 89112755 - ' W - ' Wingtip Toys 299456122 - ' Wide World Importers 4665518773 - ' - ' Packages from Company names that start with 'C': - ' Coho Vineyard 89453312 - ' Contoso Pharmaceuticals 670053128 - ' + End Sub + + ' This code produces the following output: + ' + ' C + ' Coho Vineyard 89453312 + ' Contoso Pharmaceuticals 670053128 + ' L + ' Lucerne Publishing 89112755 + ' W + ' Wingtip Toys 299456122 + ' Wide World Importers 4665518773 + ' + ' Packages from Company names that start with 'C': + ' Coho Vineyard 89453312 + ' Contoso Pharmaceuticals 670053128 + ' #End Region - + #Region "Union" Sub UnionEx1() ' @@ -3059,14 +3059,14 @@ Namespace SequenceExamples ' 1 ' 0 ' - End Sub + End Sub #End Region - + #Region "_Where" Sub WhereEx1() ' ' Create a list of strings. - Dim fruits As New List(Of String)(New String() _ + Dim fruits As New List(Of String)(New String() _ {"apple", "passionfruit", "banana", "mango", "orange", "blueberry", "grape", "strawberry"}) @@ -3114,9 +3114,9 @@ Namespace SequenceExamples ' 15 ' 40 ' - End Sub + End Sub #End Region - + #Region "Zip" Sub ZipEx() ' @@ -3134,9 +3134,9 @@ Namespace SequenceExamples ' 2 two ' 3 three ' - End Sub + End Sub #End Region - + #Region "Append" Sub AppendEx() ' @@ -3164,9 +3164,9 @@ Namespace SequenceExamples ' 1, 2, 3, 4, 5 ' 1, 2, 3, 4, 5 ' - End Sub + End Sub #End Region - + #Region "Prepend" Sub PrependEx() ' @@ -3194,22 +3194,22 @@ Namespace SequenceExamples ' 0, 1, 2, 3, 4 ' 0, 1, 2, 3, 4 ' - End Sub + End Sub #End Region - - + + #Region "SkipLast" - Sub SkipLastEx1() + Sub SkipLastEx1() #If NETCOREAPP Then - ' - ' Create an array of integers that represent grades. + ' + ' Create an array of integers that represent grades. Dim grades() As Integer = {59, 82, 70, 56, 92, 98, 85} ' Sort the numbers in descending order and ' get all but the last (smallest) three numbers. Dim topGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(g) g) _ + grades _ + .OrderByDescending(Function(g) g) _ .SkipLast(3) ' Display the results. @@ -3217,33 +3217,33 @@ Namespace SequenceExamples For Each grade As Integer In topGrades output.AppendLine(grade) Next - Console.WriteLine(output.ToString()) - - ' This code produces the following output: - ' - ' All grades except the bottom three are: - ' 98 - ' 92 - ' 85 - ' 82 - ' + Console.WriteLine(output.ToString()) + + ' This code produces the following output: + ' + ' All grades except the bottom three are: + ' 98 + ' 92 + ' 85 + ' 82 + ' #End If - End Sub + End Sub #End Region - + #Region "TakeLast" - Sub TakeLastEx1() + Sub TakeLastEx1() #If NETCOREAPP Then - ' - ' Create an array of Integer values that represent grades. + ' + ' Create an array of Integer values that represent grades. Dim grades() As Integer = {59, 82, 70, 56, 92, 98, 85} ' Get the lowest three grades by first sorting ' them in descending order and then taking the ' last three values. Dim bottomThreeGrades As IEnumerable(Of Integer) = - grades _ - .OrderByDescending(Function(grade) grade) _ + grades _ + .OrderByDescending(Function(grade) grade) _ .TakeLast(3) ' Display the results. @@ -3251,19 +3251,19 @@ Namespace SequenceExamples For Each grade As Integer In bottomThreeGrades output.AppendLine(grade) Next - Console.WriteLine(output.ToString()) - - ' This code produces the following output: - ' - ' The bottom three grades are: - ' 70 - ' 59 - ' 56 - ' + Console.WriteLine(output.ToString()) + + ' This code produces the following output: + ' + ' The bottom three grades are: + ' 70 + ' 59 + ' 56 + ' #End If - End Sub + End Sub #End Region - + End Module End Namespace diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj b/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj rename to snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb b/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb rename to snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb b/snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb rename to snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb b/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb rename to snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb b/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb rename to snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb b/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb rename to snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj similarity index 96% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj rename to snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj index 9a84e38014e..f5b608380e9 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Project.vbproj +++ b/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Project.vbproj @@ -1,7 +1,7 @@ - - - Library - net9.0 - - + + + Library + net9.0 + + \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb b/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb b/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb b/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb rename to snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Max/vb/Max1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Max/Max1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Max/vb/Max1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Max/Max1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb b/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb b/snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToByteArray/vb/ToByteArray1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToByteArray/ToByteArray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToByteArray/vb/ToByteArray1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToByteArray/ToByteArray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb b/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb b/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb b/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb rename to snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb b/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb rename to snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb b/snippets/visualbasic/System.Numerics/Complex/Add/add3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb rename to snippets/visualbasic/System.Numerics/Complex/Add/add3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb b/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb rename to snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb b/snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb rename to snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb b/snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb rename to snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb b/snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb rename to snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb b/snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb rename to snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb b/snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb rename to snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb b/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb rename to snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb b/snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb rename to snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb b/snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb rename to snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb b/snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb rename to snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb b/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb rename to snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb b/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb rename to snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb b/snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb rename to snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate2.vb b/snippets/visualbasic/System.Numerics/Complex/Negate/negate2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate2.vb rename to snippets/visualbasic/System.Numerics/Complex/Negate/negate2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb b/snippets/visualbasic/System.Numerics/Complex/One/one1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb rename to snippets/visualbasic/System.Numerics/Complex/One/one1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.pow/vb/pow1.vb b/snippets/visualbasic/System.Numerics/Complex/Pow/pow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.pow/vb/pow1.vb rename to snippets/visualbasic/System.Numerics/Complex/Pow/pow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb b/snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb rename to snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring1.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring1.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring2.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring2.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring3.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring3.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring4.vb b/snippets/visualbasic/System.Numerics/Complex/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.tostring/vb/tostring4.vb rename to snippets/visualbasic/System.Numerics/Complex/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb b/snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb rename to snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb b/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb b/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb rename to snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb b/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb rename to snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.opcode.value/vb/value1.vb b/snippets/visualbasic/System.Reflection.Emit/OpCode/Value/value1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.opcode.value/vb/value1.vb rename to snippets/visualbasic/System.Reflection.Emit/OpCode/Value/value1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb b/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb rename to snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.typebuilder.makegenerictype/vb/remarks.vb b/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.emit.typebuilder.makegenerictype/vb/remarks.vb rename to snippets/visualbasic/System.Reflection.Emit/TypeBuilder/MakeGenericType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb b/snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb b/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb rename to snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb b/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb rename to snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/isdefined.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.isdefined/VB/isdefined.vb rename to snippets/visualbasic/System.Reflection/Assembly/IsDefined/isdefined.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.load/vb/Load2.vb b/snippets/visualbasic/System.Reflection/Assembly/Load/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.assemblydescriptionattribute/VB/DescrAttr.vb b/snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb rename to snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MemberInfo.Module/VB/source.vb rename to snippets/visualbasic/System.Reflection/MemberInfo/Module/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberTypes/vb/source.vb b/snippets/visualbasic/System.Reflection/MemberTypes/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MemberTypes/vb/source.vb rename to snippets/visualbasic/System.Reflection/MemberTypes/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MethodBase.GetCurrentMethod/vb/GetCurentMethod1.vb b/snippets/visualbasic/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.MethodBase.GetCurrentMethod/vb/GetCurentMethod1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/GetCurrentMethod/GetCurentMethod1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/hide.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.MethodBase.IsHideBySig/VB/hide.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsHideBySig/hide.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb b/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb rename to snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.Missing/vb/Missing1.vb b/snippets/visualbasic/System.Reflection/Missing/Overview/Missing1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Reflection.Missing/vb/Missing1.vb rename to snippets/visualbasic/System.Reflection/Missing/Overview/Missing1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/GetType/class12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/GetType/class12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb b/snippets/visualbasic/System.Reflection/Module/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb rename to snippets/visualbasic/System.Reflection/Module/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb b/snippets/visualbasic/System.Reflection/Module/ToString/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb rename to snippets/visualbasic/System.Reflection/Module/ToString/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/vb/getvalue1.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/getvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.getvalue/vb/getvalue1.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/getvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.PropertyInfo.GetValue Example/VB/source.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.PropertyInfo.GetValue Example/VB/source.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/GetValue/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.propertytype/vb/propertytype1.vb b/snippets/visualbasic/System.Reflection/PropertyInfo/PropertyType/propertytype1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.propertyinfo.propertytype/vb/propertytype1.vb rename to snippets/visualbasic/System.Reflection/PropertyInfo/PropertyType/propertytype1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/demoresources.vb b/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/demoresources.vb rename to snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/demoresources.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/example1.vb b/snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.tools.stronglytypedresourcebuilder.class/vb/example1.vb rename to snippets/visualbasic/System.Resources.Tools/StronglyTypedResourceBuilder/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.missingsatelliteassemblyexception/vb/helloworld.vb b/snippets/visualbasic/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.missingsatelliteassemblyexception/vb/helloworld.vb rename to snippets/visualbasic/System.Resources/MissingSatelliteAssemblyException/Overview/helloworld.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxdatanode.class/vb/resxresourcereader2.vb b/snippets/visualbasic/System.Resources/ResXDataNode/Overview/resxresourcereader2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxdatanode.class/vb/resxresourcereader2.vb rename to snippets/visualbasic/System.Resources/ResXDataNode/Overview/resxresourcereader2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb b/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb rename to snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb b/snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb rename to snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb b/snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb rename to snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb b/snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb rename to snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb b/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb rename to snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb b/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb rename to snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb b/snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb rename to snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb rename to snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb b/snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb b/snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb b/snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb rename to snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb b/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb rename to snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.ConstrainedExecution/vb/program.vb b/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb rename to snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb b/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb rename to snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/vb/source.vb b/snippets/visualbasic/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.bestfitmappingattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/BestFitMappingAttribute/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.dllimportattribute/vb/source.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.EntryPoint/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/EntryPoint/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.DllImport.Canonical/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/DllImportAttribute/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.Read-Write val/vb/sample.vb b/snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.interopServices.Marshal.Read-Write val/vb/sample.vb rename to snippets/visualbasic/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/Signature1.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/Signature1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/marshalasattribute.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.interopservices.MarshalAsAttribute/vb/marshalasattribute.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/Overview/marshalasattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/VB/marshalas.sizeparamindex.vb b/snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex/VB/marshalas.sizeparamindex.vb rename to snippets/visualbasic/System.Runtime.InteropServices/MarshalAsAttribute/SizeParamIndex/marshalas.sizeparamindex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb b/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb rename to snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.frameworkname.operators/vb/Operators1.vb b/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb rename to snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare1.vb b/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare1.vb rename to snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare2.vb b/snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.targetframeworkattribute/vb/declare2.vb rename to snippets/visualbasic/System.Runtime.Versioning/TargetFrameworkAttribute/Overview/declare2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb b/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb rename to snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.Keyreference/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/KeyReference/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.X509IssuerSerial/vb/sample.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/X509IssuerSerial/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb b/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb rename to snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb b/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb b/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/makefile b/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/makefile rename to snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb b/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb rename to snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/makefile b/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/makefile rename to snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb b/snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb rename to snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb b/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb rename to snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb b/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb rename to snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb b/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb rename to snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb b/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb rename to snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb b/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb rename to snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb b/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb rename to snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb b/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb rename to snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb b/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb rename to snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb b/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb rename to snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb b/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb rename to snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb b/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb rename to snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb b/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb rename to snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb b/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb rename to snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb b/snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb rename to snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb b/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb rename to snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb b/snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb b/snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb b/snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb rename to snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb b/snippets/visualbasic/System.Security/SecurityElement/SearchForTextOfTag/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.security.securityelement/vb/remarks.vb rename to snippets/visualbasic/System.Security/SecurityElement/SearchForTextOfTag/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb b/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb rename to snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb b/snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb rename to snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/regexreplace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb rename to snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly1.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly1.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly2.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly2.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly2.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly2.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly3.vbproj b/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly3.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/compiletoassembly3.vbproj rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/compiletoassembly3.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.match/vb/match2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Match/match2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matchtimeout/vb/regexmatchtimeout1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matchtimeout/vb/regexmatchtimeout1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/MatchTimeout/regexmatchtimeout1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/emptymatches1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/emptymatches1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/emptymatches1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/emptymatches1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matches5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matches5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.matches/vb/matchespattern.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Matches/matchespattern.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace12.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace12.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace13.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace13.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace3.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace3.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace7.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replace7.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replace7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample7.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample7.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample8.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample8.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample9.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/replaceexample9.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/replaceexample9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.replace/vb/syntax1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Replace/syntax1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split1.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split11.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split11.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split12.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split12.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split13.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split13.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split14.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split14.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split14.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split14.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split2.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split2.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split21.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split21.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split22.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split22.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split23.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split23.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split24.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split24.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split25.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split25.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split26.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split26.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split26.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split4.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split4.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split5.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split5.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split6.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split6.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split8.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split8.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb b/snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Split/vb/split9.vb rename to snippets/visualbasic/System.Text.RegularExpressions/Regex/Split/split9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/makefile b/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/makefile similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/makefile rename to snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/makefile diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb b/snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb rename to snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb b/snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb b/snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb b/snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb rename to snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb b/snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb rename to snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb b/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb rename to snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb b/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb rename to snippets/visualbasic/System.Text/Encoding/BodyName/names.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb rename to snippets/visualbasic/System.Text/Encoding/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArrIC/VB/getbytes_chararric.vb b/snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_chararric.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArrIC/VB/getbytes_chararric.vb rename to snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_chararric.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_String/VB/getbytes_string.vb b/snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_string.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_String/VB/getbytes_string.vb rename to snippets/visualbasic/System.Text/Encoding/GetByteCount/getbytes_string.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb b/snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb rename to snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetCharsIC/VB/getcharsic.vb b/snippets/visualbasic/System.Text/Encoding/GetCharCount/getcharsic.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetCharsIC/VB/getcharsic.vb rename to snippets/visualbasic/System.Text/Encoding/GetCharCount/getcharsic.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb b/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb rename to snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb b/snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb rename to snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb b/snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb rename to snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb b/snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb rename to snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb b/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb rename to snippets/visualbasic/System.Text/Encoding/Overview/convert.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb b/snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb b/snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb b/snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb rename to snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb b/snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb rename to snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb b/snippets/visualbasic/System.Text/Encoding/WebName/webname.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb rename to snippets/visualbasic/System.Text/Encoding/WebName/webname.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb b/snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb rename to snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb b/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb rename to snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Constructors/VB/Form1.vb b/snippets/visualbasic/System.Text/StringBuilder/.ctor/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Constructors/VB/Form1.vb rename to snippets/visualbasic/System.Text/StringBuilder/.ctor/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append2.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append2.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append3.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append3.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append4.vb b/snippets/visualbasic/System.Text/StringBuilder/Append/append4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.StringBuilder.Append/vb/append4.vb rename to snippets/visualbasic/System.Text/StringBuilder/Append/append4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat1.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat1.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat2.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat2.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat3.vb b/snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.stringbuilder.appendformat/vb/appendformat3.vb rename to snippets/visualbasic/System.Text/StringBuilder/AppendFormat/appendformat3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.UTF32Encoding.GetPreamble/VB/GetPreamble.vb b/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb b/snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb rename to snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb b/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb b/snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb b/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb rename to snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb b/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb rename to snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb b/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll3.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll3.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll4.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/WhenAll4.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/WhenAll4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall1.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall1.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall2.vb b/snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.whenall/vb/whenall2.vb rename to snippets/visualbasic/System.Threading.Tasks/Task/WhenAll/whenall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb b/snippets/visualbasic/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskcompletionsource/vb/taskcompletionsource.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb b/snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb b/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue2.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue2.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb b/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb rename to snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb b/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb rename to snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb b/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb rename to snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb b/snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb rename to snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb rename to snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb b/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb rename to snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb b/snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb rename to snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb b/snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb rename to snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb b/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb rename to snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb b/snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb rename to snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb b/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb rename to snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb b/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb rename to snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Double/vb/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange Single/vb/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb b/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb rename to snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement1.vb b/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement1.vb rename to snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement2.vb b/snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.decrement/vb/decrement2.vb rename to snippets/visualbasic/System.Threading/Interlocked/Decrement/decrement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment3.vb rename to snippets/visualbasic/System.Threading/Interlocked/Increment/Increment3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb b/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb rename to snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked.Exchange Int32 Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Interlocked/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb b/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb rename to snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb b/snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb rename to snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb b/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb rename to snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb b/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb rename to snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb b/snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb rename to snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb b/snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb rename to snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb b/snippets/visualbasic/System.Threading/Monitor/Enter/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.monitor.enter/vb/example.vb rename to snippets/visualbasic/System.Threading/Monitor/Enter/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb b/snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Monitor.TryEnter/vb/pattern1.vb rename to snippets/visualbasic/System.Threading/Monitor/TryEnter/pattern1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb b/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb rename to snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb b/snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb rename to snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb b/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb rename to snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb b/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb rename to snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb b/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb rename to snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb b/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb rename to snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb b/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb rename to snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb b/snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb rename to snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb b/snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb rename to snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb b/snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb rename to snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb b/snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb rename to snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb b/snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb rename to snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/.ctor/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/.ctor/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Abort/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Abort/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb b/snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb b/snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb rename to snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1b.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1b.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb b/snippets/visualbasic/System.Threading/Thread/Join/join1c.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb rename to snippets/visualbasic/System.Threading/Thread/Join/join1c.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb b/snippets/visualbasic/System.Threading/Thread/Join/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb rename to snippets/visualbasic/System.Threading/Thread/Join/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb b/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb rename to snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.threadlocal/vb/threadlocal.vb b/snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb rename to snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb b/snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb rename to snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb b/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb rename to snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb b/snippets/visualbasic/System.Threading/Timer/Overview/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb rename to snippets/visualbasic/System.Threading/Timer/Overview/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll1/VB/source1.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne1/VB/source1.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne1/VB/source1.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne2/VB/source2.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne2/VB/source2.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne3/VB/source3.vb b/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitOne3/VB/source3.vb rename to snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb b/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb rename to snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb b/snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb rename to snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.Designer.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.Designer.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.myapp b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.myapp similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Application.myapp rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Application.myapp diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.Designer.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.Designer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.Designer.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.Designer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.vb b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/Form1.vb rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/Form1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/SynchronizingObjectVB1.vbproj b/snippets/visualbasic/System.Timers/Timer/SynchronizingObject/SynchronizingObjectVB1.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Timers.Timer.SynchronizingObject/vb/SynchronizingObjectVB1.vbproj rename to snippets/visualbasic/System.Timers/Timer/SynchronizingObject/SynchronizingObjectVB1.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb b/snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb rename to snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb b/snippets/visualbasic/System/Action/Overview/Action.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb rename to snippets/visualbasic/System/Action/Overview/Action.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb b/snippets/visualbasic/System/Action/Overview/delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb rename to snippets/visualbasic/System/Action/Overview/delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb b/snippets/visualbasic/System/Action/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb rename to snippets/visualbasic/System/Action/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb b/snippets/visualbasic/System/ActionT/Overview/Action1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb rename to snippets/visualbasic/System/ActionT/Overview/Action1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb b/snippets/visualbasic/System/ActionT/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb b/snippets/visualbasic/System/ActionT/Overview/action.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb rename to snippets/visualbasic/System/ActionT/Overview/action.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb b/snippets/visualbasic/System/ActionT/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb rename to snippets/visualbasic/System/ActionT/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Program.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Project.vbproj b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Project.vbproj rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Program.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Project.vbproj b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Project.vbproj rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb b/snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb rename to snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb b/snippets/visualbasic/System/ActivationContext/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb rename to snippets/visualbasic/System/ActivationContext/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb b/snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb rename to snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb b/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb rename to snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb b/snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb rename to snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb b/snippets/visualbasic/System/Activator/CreateInstanceT/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.activation.createinstance~~1/vb/remarks.vb rename to snippets/visualbasic/System/Activator/CreateInstanceT/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb b/snippets/visualbasic/System/AggregateException/Overview/exception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb rename to snippets/visualbasic/System/AggregateException/Overview/exception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb b/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb rename to snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb b/snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb rename to snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.IsDefaultAppDomain/VB/source.vb b/snippets/visualbasic/System/AppDomain/Id/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb rename to snippets/visualbasic/System/AppDomain/Id/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb b/snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb rename to snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/customAppDomainManager.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb rename to snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb b/snippets/visualbasic/System/ApplicationId/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb rename to snippets/visualbasic/System/ApplicationId/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb b/snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb rename to snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Program.vb b/snippets/visualbasic/System/Array/Clear/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Program.vb rename to snippets/visualbasic/System/Array/Clear/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Project.vbproj b/snippets/visualbasic/System/Array/Clear/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/Project.vbproj rename to snippets/visualbasic/System/Array/Clear/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb b/snippets/visualbasic/System/Array/Clear/clearstruct1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb rename to snippets/visualbasic/System/Array/Clear/clearstruct1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb b/snippets/visualbasic/System/Array/Clear/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb rename to snippets/visualbasic/System/Array/Clear/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb b/snippets/visualbasic/System/Array/Clone/arrayclone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb rename to snippets/visualbasic/System/Array/Clone/arrayclone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb b/snippets/visualbasic/System/Array/ExistsT/exists1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb rename to snippets/visualbasic/System/Array/ExistsT/exists1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb b/snippets/visualbasic/System/Array/ExistsT/exists2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb rename to snippets/visualbasic/System/Array/ExistsT/exists2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb b/snippets/visualbasic/System/Array/ExistsT/exists3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb rename to snippets/visualbasic/System/Array/ExistsT/exists3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb b/snippets/visualbasic/System/Array/FindAllT/findall.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb rename to snippets/visualbasic/System/Array/FindAllT/findall.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb b/snippets/visualbasic/System/Array/FindT/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb rename to snippets/visualbasic/System/Array/FindT/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb b/snippets/visualbasic/System/Array/FindT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb rename to snippets/visualbasic/System/Array/FindT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb b/snippets/visualbasic/System/Array/ForEachT/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb rename to snippets/visualbasic/System/Array/ForEachT/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb b/snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb rename to snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb b/snippets/visualbasic/System/Array/GetLength/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb rename to snippets/visualbasic/System/Array/GetLength/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb b/snippets/visualbasic/System/Array/GetLowerBound/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb rename to snippets/visualbasic/System/Array/GetLowerBound/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb b/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb rename to snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb b/snippets/visualbasic/System/Array/IsSynchronized/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb rename to snippets/visualbasic/System/Array/IsSynchronized/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb b/snippets/visualbasic/System/Array/Length/length1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb rename to snippets/visualbasic/System/Array/Length/length1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb b/snippets/visualbasic/System/Array/Rank/rank1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb rename to snippets/visualbasic/System/Array/Rank/rank1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb b/snippets/visualbasic/System/Array/ResizeT/arrayresize.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb rename to snippets/visualbasic/System/Array/ResizeT/arrayresize.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb b/snippets/visualbasic/System/Array/ResizeT/resizexd.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb rename to snippets/visualbasic/System/Array/ResizeT/resizexd.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb b/snippets/visualbasic/System/Array/Reverse/reversejagged.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb rename to snippets/visualbasic/System/Array/Reverse/reversejagged.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb b/snippets/visualbasic/System/Array/Sort/arraysort.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb rename to snippets/visualbasic/System/Array/Sort/arraysort.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb b/snippets/visualbasic/System/Array/Sort/arraysort2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb rename to snippets/visualbasic/System/Array/Sort/arraysort2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb b/snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb rename to snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb b/snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb rename to snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb b/snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb rename to snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb b/snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb rename to snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb b/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb rename to snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb b/snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb rename to snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb b/snippets/visualbasic/System/Attribute/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb rename to snippets/visualbasic/System/Attribute/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb b/snippets/visualbasic/System/Attribute/TypeId/typeid.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb rename to snippets/visualbasic/System/Attribute/TypeId/typeid.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb b/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb rename to snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb b/snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb rename to snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb b/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb rename to snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb b/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb rename to snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb b/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb rename to snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb b/snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb b/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb rename to snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb b/snippets/visualbasic/System/BitConverter/Overview/bitconv.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb rename to snippets/visualbasic/System/BitConverter/Overview/bitconv.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb b/snippets/visualbasic/System/BitConverter/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb rename to snippets/visualbasic/System/BitConverter/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb b/snippets/visualbasic/System/BitConverter/Overview/littleend.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb rename to snippets/visualbasic/System/BitConverter/Overview/littleend.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb b/snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb rename to snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb b/snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb rename to snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb b/snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb rename to snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb b/snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb rename to snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb b/snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb rename to snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb b/snippets/visualbasic/System/BitConverter/ToString/batostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb rename to snippets/visualbasic/System/BitConverter/ToString/batostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb b/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb rename to snippets/visualbasic/System/BitConverter/ToString/batostringii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb b/snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb rename to snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb b/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb rename to snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb b/snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb rename to snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb b/snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb rename to snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb b/snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb rename to snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb b/snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb rename to snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb b/snippets/visualbasic/System/Buffer/Overview/bcopy.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb rename to snippets/visualbasic/System/Buffer/Overview/bcopy.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb b/snippets/visualbasic/System/Buffer/Overview/buffer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb rename to snippets/visualbasic/System/Buffer/Overview/buffer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb b/snippets/visualbasic/System/Buffer/Overview/overlap1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb rename to snippets/visualbasic/System/Buffer/Overview/overlap1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb b/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb rename to snippets/visualbasic/System/Byte/CompareTo/systembyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb b/snippets/visualbasic/System/Byte/Equals/eq.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb rename to snippets/visualbasic/System/Byte/Equals/eq.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb b/snippets/visualbasic/System/Byte/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb rename to snippets/visualbasic/System/Byte/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb b/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb rename to snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/Byte/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/Byte/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb b/snippets/visualbasic/System/Byte/TryParse/TryParse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb rename to snippets/visualbasic/System/Byte/TryParse/TryParse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.CompareTo/VB/compareto.vb b/snippets/visualbasic/System/Char/CompareTo/compareto.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.CompareTo/VB/compareto.vb rename to snippets/visualbasic/System/Char/CompareTo/compareto.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Equals/VB/equals.vb b/snippets/visualbasic/System/Char/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Equals/VB/equals.vb rename to snippets/visualbasic/System/Char/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue.vb b/snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue.vb rename to snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue1.vb b/snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetNumericValue/VB/getnumericvalue1.vb rename to snippets/visualbasic/System/Char/GetNumericValue/getnumericvalue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetUnicodeCategory/VB/getunicodecategory.vb b/snippets/visualbasic/System/Char/GetUnicodeCategory/getunicodecategory.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.GetUnicodeCategory/VB/getunicodecategory.vb rename to snippets/visualbasic/System/Char/GetUnicodeCategory/getunicodecategory.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb b/snippets/visualbasic/System/Char/IsControl/IsControl1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb rename to snippets/visualbasic/System/Char/IsControl/IsControl1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb b/snippets/visualbasic/System/Char/IsControl/IsControl2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb rename to snippets/visualbasic/System/Char/IsControl/IsControl2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb b/snippets/visualbasic/System/Char/IsDigit/isdigit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb rename to snippets/visualbasic/System/Char/IsDigit/isdigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb b/snippets/visualbasic/System/Char/IsLetter/isletter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb rename to snippets/visualbasic/System/Char/IsLetter/isletter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb b/snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb rename to snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb b/snippets/visualbasic/System/Char/IsLower/islower.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb rename to snippets/visualbasic/System/Char/IsLower/islower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb b/snippets/visualbasic/System/Char/IsNumber/isnumber.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb rename to snippets/visualbasic/System/Char/IsNumber/isnumber.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb b/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb rename to snippets/visualbasic/System/Char/IsNumber/isnumber1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb b/snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb rename to snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb b/snippets/visualbasic/System/Char/IsSeparator/isseparator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb rename to snippets/visualbasic/System/Char/IsSeparator/isseparator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb b/snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb rename to snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb b/snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb rename to snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb b/snippets/visualbasic/System/Char/IsSymbol/issymbol.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb rename to snippets/visualbasic/System/Char/IsSymbol/issymbol.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb b/snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb rename to snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char [Type Level]/VB/charstructure.vb b/snippets/visualbasic/System/Char/Overview/charstructure.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char [Type Level]/VB/charstructure.vb rename to snippets/visualbasic/System/Char/Overview/charstructure.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb b/snippets/visualbasic/System/Char/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb rename to snippets/visualbasic/System/Char/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb b/snippets/visualbasic/System/Char/ToLower/tolower.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb rename to snippets/visualbasic/System/Char/ToLower/tolower.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb b/snippets/visualbasic/System/Char/ToString/tostring.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb rename to snippets/visualbasic/System/Char/ToString/tostring.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb b/snippets/visualbasic/System/Char/ToUpper/toupper1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb rename to snippets/visualbasic/System/Char/ToUpper/toupper1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb b/snippets/visualbasic/System/Char/ToUpper/toupper5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb rename to snippets/visualbasic/System/Char/ToUpper/toupper5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb b/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb rename to snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb b/snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb rename to snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb b/snippets/visualbasic/System/Console/BackgroundColor/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb rename to snippets/visualbasic/System/Console/BackgroundColor/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb b/snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb rename to snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb b/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb rename to snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.openstandarderror/vb/viewtextfile.vb b/snippets/visualbasic/System/Console/Error/viewtextfile.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb rename to snippets/visualbasic/System/Console/Error/viewtextfile.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb b/snippets/visualbasic/System/Console/OpenStandardInput/decode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb rename to snippets/visualbasic/System/Console/OpenStandardInput/decode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb b/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb rename to snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb b/snippets/visualbasic/System/Console/Out/out1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb rename to snippets/visualbasic/System/Console/Out/out1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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-REFORMAT/VB/reformat.vb b/snippets/visualbasic/System/Console/Write/reformat.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb rename to snippets/visualbasic/System/Console/Write/reformat.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb b/snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb rename to snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb b/snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb rename to snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb b/snippets/visualbasic/System/Console/WriteLine/newline1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb rename to snippets/visualbasic/System/Console/WriteLine/newline1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb b/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb rename to snippets/visualbasic/System/Console/WriteLine/tipcalc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb b/snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb rename to snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb b/snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb rename to snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb b/snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb rename to snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb b/snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb b/snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb b/snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb rename to snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype00.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype00.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype01.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype01.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype03.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb b/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb rename to snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb b/snippets/visualbasic/System/Convert/DBNull/dbnull1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb rename to snippets/visualbasic/System/Convert/DBNull/dbnull1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb b/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb rename to snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.resx b/snippets/visualbasic/System/Convert/IsDBNull/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/Form1.resx 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/IsDBNull_To_NA.vbproj b/snippets/visualbasic/System/Convert/IsDBNull/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/IsDBNull_To_NA.vbproj 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/Resources.resx b/snippets/visualbasic/System/Convert/IsDBNull/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/Resources.resx diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb b/snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb rename to snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb b/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb rename to snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb b/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb rename to snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb b/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb rename to snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb b/snippets/visualbasic/System/Convert/ToByte/Conversion.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb rename to snippets/visualbasic/System/Convert/ToByte/Conversion.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb b/snippets/visualbasic/System/Convert/ToByte/tobyte5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb rename to snippets/visualbasic/System/Convert/ToByte/tobyte5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb b/snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb rename to snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb b/snippets/visualbasic/System/Convert/ToChar/tochar1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb rename to snippets/visualbasic/System/Convert/ToChar/tochar1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb b/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb rename to snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb b/snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb rename to snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb b/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb rename to snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb b/snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb rename to snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb b/snippets/visualbasic/System/Convert/ToDouble/example8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb rename to snippets/visualbasic/System/Convert/ToDouble/example8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb b/snippets/visualbasic/System/Convert/ToDouble/todouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb rename to snippets/visualbasic/System/Convert/ToDouble/todouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb b/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb rename to snippets/visualbasic/System/Convert/ToDouble/todouble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb b/snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb rename to snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb b/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb rename to snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb b/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb rename to snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb b/snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb rename to snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb b/snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb rename to snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb b/snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb rename to snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb b/snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb rename to snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb b/snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb rename to snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb b/snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb rename to snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb b/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb rename to snippets/visualbasic/System/Convert/ToString/nonnumeric.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb b/snippets/visualbasic/System/Convert/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb rename to snippets/visualbasic/System/Convert/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb b/snippets/visualbasic/System/Convert/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb rename to snippets/visualbasic/System/Convert/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb b/snippets/visualbasic/System/Convert/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb rename to snippets/visualbasic/System/Convert/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb b/snippets/visualbasic/System/Convert/ToString/tostring5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb rename to snippets/visualbasic/System/Convert/ToString/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb b/snippets/visualbasic/System/Convert/ToString/tostring6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb rename to snippets/visualbasic/System/Convert/ToString/tostring6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb b/snippets/visualbasic/System/Convert/ToString/tostring7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb rename to snippets/visualbasic/System/Convert/ToString/tostring7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb b/snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb rename to snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb b/snippets/visualbasic/System/Convert/ToString/tostring_string1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb rename to snippets/visualbasic/System/Convert/ToString/tostring_string1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb b/snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb rename to snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb b/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb rename to snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb b/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb rename to snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb b/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb rename to snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb b/snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb rename to snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb b/snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb rename to snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb b/snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb rename to snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb b/snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb rename to snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb b/snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb rename to snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb b/snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb rename to snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb b/snippets/visualbasic/System/DateTime/AddYears/addyears1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb rename to snippets/visualbasic/System/DateTime/AddYears/addyears1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb b/snippets/visualbasic/System/DateTime/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb rename to snippets/visualbasic/System/DateTime/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb b/snippets/visualbasic/System/DateTime/Date/Date1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb rename to snippets/visualbasic/System/DateTime/Date/Date1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb b/snippets/visualbasic/System/DateTime/Day/Day1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb rename to snippets/visualbasic/System/DateTime/Day/Day1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb b/snippets/visualbasic/System/DateTime/Day/Day2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb rename to snippets/visualbasic/System/DateTime/Day/Day2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb b/snippets/visualbasic/System/DateTime/Day/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb rename to snippets/visualbasic/System/DateTime/Day/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.Equals-Instance/vb/sample.vb b/snippets/visualbasic/System/DateTime/Equals/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb rename to snippets/visualbasic/System/DateTime/Equals/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.MinValue/vb/MinValue.vb b/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb rename to snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb b/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb rename to snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb b/snippets/visualbasic/System/DateTime/Now/now1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb rename to snippets/visualbasic/System/DateTime/Now/now1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb b/snippets/visualbasic/System/DateTime/Now/now2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb rename to snippets/visualbasic/System/DateTime/Now/now2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb b/snippets/visualbasic/System/DateTime/Parse/Parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse2.vb b/snippets/visualbasic/System/DateTime/Parse/Parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse2.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb b/snippets/visualbasic/System/DateTime/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse4.vb b/snippets/visualbasic/System/DateTime/Parse/Parse4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse4.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb b/snippets/visualbasic/System/DateTime/Parse/Parse5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb b/snippets/visualbasic/System/DateTime/Parse/Parse6.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb rename to snippets/visualbasic/System/DateTime/Parse/Parse6.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/ParseExact1.vb b/snippets/visualbasic/System/DateTime/ParseExact/ParseExact1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/ParseExact1.vb rename to snippets/visualbasic/System/DateTime/ParseExact/ParseExact1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact2.vb b/snippets/visualbasic/System/DateTime/ParseExact/parseexact2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact2.vb rename to snippets/visualbasic/System/DateTime/ParseExact/parseexact2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact3.vb b/snippets/visualbasic/System/DateTime/ParseExact/parseexact3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ParseExact/vb/parseexact3.vb rename to snippets/visualbasic/System/DateTime/ParseExact/parseexact3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb b/snippets/visualbasic/System/DateTime/Ticks/Ticks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb rename to snippets/visualbasic/System/DateTime/Ticks/Ticks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb b/snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb rename to snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception1.vb rename to snippets/visualbasic/System/DateTime/ToString/datetime.tostring.argumentoutofrangeexception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tostring.argumentoutofrangeexception/vb/datetime.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/System/DateTime/ToString/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/ToString/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/ToString/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/ToString/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/ToString/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/ToString/datetime.tostring.argumentoutofrangeexception4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj b/snippets/visualbasic/System/DateTime/ToString/tostring.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/tostring.vbproj rename to snippets/visualbasic/System/DateTime/ToString/tostring.vbproj 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.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.Constructors/vb/Constructors.vb b/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb rename to snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb b/snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb rename to snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb b/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb rename to snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb b/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb rename to snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb b/snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb rename to snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.now/vb/now1.vb b/snippets/visualbasic/System/DateTimeOffset/Now/now1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.now/vb/now1.vb rename to snippets/visualbasic/System/DateTimeOffset/Now/now1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb b/snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb rename to snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/vb/ParseExamples.vb b/snippets/visualbasic/System/DateTimeOffset/Parse/ParseExamples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Parse/vb/ParseExamples.vb rename to snippets/visualbasic/System/DateTimeOffset/Parse/ParseExamples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb b/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb rename to snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb b/snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb rename to snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb b/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb rename to snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb b/snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb rename to snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb b/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb rename to snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb b/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb rename to snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb b/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb b/snippets/visualbasic/System/Decimal/.ctor/ctordo.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctordo.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb b/snippets/visualbasic/System/Decimal/.ctor/ctori.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctori.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb b/snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb b/snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb b/snippets/visualbasic/System/Decimal/.ctor/ctors.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctors.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorui.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorui.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb b/snippets/visualbasic/System/Decimal/.ctor/ctorul.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb rename to snippets/visualbasic/System/Decimal/.ctor/ctorul.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb b/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb rename to snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb b/snippets/visualbasic/System/Decimal/Compare/Compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb rename to snippets/visualbasic/System/Decimal/Compare/Compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb b/snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb rename to snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb b/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb rename to snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb b/snippets/visualbasic/System/Decimal/Divide/Divide1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb rename to snippets/visualbasic/System/Decimal/Divide/Divide1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb b/snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb rename to snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb b/snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb rename to snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb b/snippets/visualbasic/System/Decimal/GetBits/getbits.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb rename to snippets/visualbasic/System/Decimal/GetBits/getbits.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb b/snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb rename to snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb b/snippets/visualbasic/System/Decimal/MinusOne/fields.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb rename to snippets/visualbasic/System/Decimal/MinusOne/fields.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb b/snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb rename to snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb b/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb rename to snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb b/snippets/visualbasic/System/Decimal/Parse/parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb rename to snippets/visualbasic/System/Decimal/Parse/parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb b/snippets/visualbasic/System/Decimal/Remainder/remainder.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb rename to snippets/visualbasic/System/Decimal/Remainder/remainder.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Program.vb b/snippets/visualbasic/System/Decimal/Round/Program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/Program.vb rename to snippets/visualbasic/System/Decimal/Round/Program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb b/snippets/visualbasic/System/Decimal/Round/Round1.vb similarity index 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.math.round.overload/vb/Rounding.vbproj b/snippets/visualbasic/System/Decimal/Round/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/Decimal/Round/Rounding.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb b/snippets/visualbasic/System/Decimal/Round/mean1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb rename to snippets/visualbasic/System/Decimal/Round/mean1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint1.vb b/snippets/visualbasic/System/Decimal/Round/midpoint1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint1.vb rename to snippets/visualbasic/System/Decimal/Round/midpoint1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint2.vb b/snippets/visualbasic/System/Decimal/Round/midpoint2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/midpoint2.vb rename to snippets/visualbasic/System/Decimal/Round/midpoint2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb b/snippets/visualbasic/System/Decimal/Round/mpr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb rename to snippets/visualbasic/System/Decimal/Round/mpr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb b/snippets/visualbasic/System/Decimal/Round/precision1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb rename to snippets/visualbasic/System/Decimal/Round/precision1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb b/snippets/visualbasic/System/Decimal/Round/precision2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb rename to snippets/visualbasic/System/Decimal/Round/precision2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb b/snippets/visualbasic/System/Decimal/Round/single1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb rename to snippets/visualbasic/System/Decimal/Round/single1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb b/snippets/visualbasic/System/Decimal/Round/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb rename to snippets/visualbasic/System/Decimal/Round/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb b/snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb rename to snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb b/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb rename to snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb b/snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb rename to snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb b/snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb rename to snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb b/snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb rename to snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb b/snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb rename to snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb b/snippets/visualbasic/System/Decimal/ToString/ToString2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb rename to snippets/visualbasic/System/Decimal/ToString/ToString2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb b/snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb b/snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb b/snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb rename to snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb b/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb rename to snippets/visualbasic/System/Decimal/TryParse/TryParse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb b/snippets/visualbasic/System/Decimal/op_Addition/addition1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/addition1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb b/snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb b/snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb b/snippets/visualbasic/System/Decimal/op_Addition/division1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/division1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb b/snippets/visualbasic/System/Decimal/op_Addition/equality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/equality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb b/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb b/snippets/visualbasic/System/Decimal/op_Addition/increment1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/increment1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb b/snippets/visualbasic/System/Decimal/op_Addition/increment2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/increment2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb b/snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb b/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb rename to snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb b/snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb b/snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb b/snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb rename to snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb b/snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb b/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb b/snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb b/snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb rename to snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb b/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb rename to snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb b/snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb rename to snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb b/snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb rename to snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb b/snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb rename to snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb b/snippets/visualbasic/System/Double/Equals/Equals_25051.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb rename to snippets/visualbasic/System/Double/Equals/Equals_25051.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Double/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Double/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb b/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb rename to snippets/visualbasic/System/Double/IsInfinity/doublesample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb b/snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb rename to snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb b/snippets/visualbasic/System/Double/MinValue/minvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb rename to snippets/visualbasic/System/Double/MinValue/minvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb b/snippets/visualbasic/System/Double/NaN/double.nan4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb rename to snippets/visualbasic/System/Double/NaN/double.nan4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb b/snippets/visualbasic/System/Double/NaN/nan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb rename to snippets/visualbasic/System/Double/NaN/nan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb b/snippets/visualbasic/System/Double/Parse/Parse.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb rename to snippets/visualbasic/System/Double/Parse/Parse.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb b/snippets/visualbasic/System/Double/Parse/Parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb rename to snippets/visualbasic/System/Double/Parse/Parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb b/snippets/visualbasic/System/Double/Parse/parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb rename to snippets/visualbasic/System/Double/Parse/parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb b/snippets/visualbasic/System/Double/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/Double/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb b/snippets/visualbasic/System/Double/ToString/ToString7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb rename to snippets/visualbasic/System/Double/ToString/ToString7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb b/snippets/visualbasic/System/Double/ToString/roundtripex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb rename to snippets/visualbasic/System/Double/ToString/roundtripex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb b/snippets/visualbasic/System/Double/ToString/roundtripex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb rename to snippets/visualbasic/System/Double/ToString/roundtripex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/Double/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/Double/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb b/snippets/visualbasic/System/Double/TryParse/tryparse1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb rename to snippets/visualbasic/System/Double/TryParse/tryparse1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/Double/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/Double/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb b/snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb rename to snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_System/system.enum.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb b/snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb rename to snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb b/snippets/visualbasic/System/Environment/ExitCode/double.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb rename to snippets/visualbasic/System/Environment/ExitCode/double.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb b/snippets/visualbasic/System/Environment/ExitCode/double1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb rename to snippets/visualbasic/System/Environment/ExitCode/double1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb b/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb rename to snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb b/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb rename to snippets/visualbasic/System/Exception/.ctor/getobjdata.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb b/snippets/visualbasic/System/Exception/.ctor/new.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb rename to snippets/visualbasic/System/Exception/.ctor/new.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb b/snippets/visualbasic/System/Exception/.ctor/news.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb rename to snippets/visualbasic/System/Exception/.ctor/news.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb b/snippets/visualbasic/System/Exception/.ctor/newsi.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb rename to snippets/visualbasic/System/Exception/.ctor/newsi.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb b/snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb rename to snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb b/snippets/visualbasic/System/Exception/HResult/hresult.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb rename to snippets/visualbasic/System/Exception/HResult/hresult.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb b/snippets/visualbasic/System/Exception/HelpLink/properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb rename to snippets/visualbasic/System/Exception/HelpLink/properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/vb.vbproj b/snippets/visualbasic/System/Exception/HelpLink/vb.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/vb.vbproj rename to snippets/visualbasic/System/Exception/HelpLink/vb.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb b/snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb rename to snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb b/snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb rename to snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb b/snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb rename to snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb b/snippets/visualbasic/System/FormatException/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb rename to snippets/visualbasic/System/FormatException/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb b/snippets/visualbasic/System/FormatException/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb rename to snippets/visualbasic/System/FormatException/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb b/snippets/visualbasic/System/FormatException/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb rename to snippets/visualbasic/System/FormatException/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format4.vb b/snippets/visualbasic/System/FormatException/Overview/format4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format4.vb rename to snippets/visualbasic/System/FormatException/Overview/format4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb b/snippets/visualbasic/System/FormatException/Overview/format5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb rename to snippets/visualbasic/System/FormatException/Overview/format5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb b/snippets/visualbasic/System/FormatException/Overview/format7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format7.vb rename to snippets/visualbasic/System/FormatException/Overview/format7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb b/snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb rename to snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb b/snippets/visualbasic/System/FormatException/Overview/formatexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/formatexample4.vb rename to snippets/visualbasic/System/FormatException/Overview/formatexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb b/snippets/visualbasic/System/FormatException/Overview/iformattable4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb rename to snippets/visualbasic/System/FormatException/Overview/iformattable4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb b/snippets/visualbasic/System/FormatException/Overview/qa1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb rename to snippets/visualbasic/System/FormatException/Overview/qa1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb b/snippets/visualbasic/System/FormatException/Overview/qa2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb rename to snippets/visualbasic/System/FormatException/Overview/qa2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb b/snippets/visualbasic/System/FormatException/Overview/qa3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb rename to snippets/visualbasic/System/FormatException/Overview/qa3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb b/snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb b/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb b/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb b/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb rename to snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb b/snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb b/snippets/visualbasic/System/FuncTResult/Overview/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb b/snippets/visualbasic/System/FuncTResult/Overview/Func1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Func1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb b/snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb rename to snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb b/snippets/visualbasic/System/GC/Collect/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb rename to snippets/visualbasic/System/GC/Collect/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb b/snippets/visualbasic/System/GC/Collect/collect4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb rename to snippets/visualbasic/System/GC/Collect/collect4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb b/snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb rename to snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb b/snippets/visualbasic/System/GC/Collect/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb rename to snippets/visualbasic/System/GC/Collect/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb b/snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb rename to snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GetGenerationWeak Example/VB/systemgcgetgenerationweak.vb b/snippets/visualbasic/System/GC/GetGeneration/systemgcgetgenerationweak.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GetGenerationWeak Example/VB/systemgcgetgenerationweak.vb rename to snippets/visualbasic/System/GC/GetGeneration/systemgcgetgenerationweak.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.KeepAlive Example2/VB/gckeepalive.vb b/snippets/visualbasic/System/GC/KeepAlive/gckeepalive.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.KeepAlive Example2/VB/gckeepalive.vb rename to snippets/visualbasic/System/GC/KeepAlive/gckeepalive.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb b/snippets/visualbasic/System/GC/Overview/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb rename to snippets/visualbasic/System/GC/Overview/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/VB/class1.vb b/snippets/visualbasic/System/GC/ReRegisterForFinalize/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.ReRegisterForFinalize Example/VB/class1.vb rename to snippets/visualbasic/System/GC/ReRegisterForFinalize/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb b/snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb rename to snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb b/snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb rename to snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb b/snippets/visualbasic/System/Guid/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb rename to snippets/visualbasic/System/Guid/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb b/snippets/visualbasic/System/Guid/.ctor/ctor2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb rename to snippets/visualbasic/System/Guid/.ctor/ctor2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb b/snippets/visualbasic/System/Guid/CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/Guid/CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb b/snippets/visualbasic/System/Guid/CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/Guid/CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb b/snippets/visualbasic/System/Guid/Empty/empty.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb rename to snippets/visualbasic/System/Guid/Empty/empty.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb b/snippets/visualbasic/System/Guid/NewGuid/ng.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb rename to snippets/visualbasic/System/Guid/NewGuid/ng.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb b/snippets/visualbasic/System/Guid/Parse/parseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb rename to snippets/visualbasic/System/Guid/Parse/parseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb b/snippets/visualbasic/System/Guid/Parse/parseexactex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb rename to snippets/visualbasic/System/Guid/Parse/parseexactex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb b/snippets/visualbasic/System/Guid/Parse/tryparseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb rename to snippets/visualbasic/System/Guid/Parse/tryparseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb b/snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb rename to snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb b/snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb rename to snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb b/snippets/visualbasic/System/HashCode/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb rename to snippets/visualbasic/System/HashCode/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb b/snippets/visualbasic/System/HashCode/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb rename to snippets/visualbasic/System/HashCode/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb b/snippets/visualbasic/System/HashCode/Overview/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb rename to snippets/visualbasic/System/HashCode/Overview/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb b/snippets/visualbasic/System/HashCode/Overview/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb rename to snippets/visualbasic/System/HashCode/Overview/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb b/snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb rename to snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/Project.vbproj b/snippets/visualbasic/System/ICustomFormatter/Overview/Project.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/Project.vbproj rename to snippets/visualbasic/System/ICustomFormatter/Overview/Project.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb b/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb rename to snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb b/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb rename to snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/Equals.vbproj b/snippets/visualbasic/System/IEquatableT/Overview/Equals.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/Equals.vbproj rename to snippets/visualbasic/System/IEquatableT/Overview/Equals.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb b/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb rename to snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb b/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb rename to snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb b/snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb rename to snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb b/snippets/visualbasic/System/IFormattable/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb rename to snippets/visualbasic/System/IFormattable/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb b/snippets/visualbasic/System/IObservableT/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/example1.vb rename to snippets/visualbasic/System/IObservableT/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/locationtracker.vbproj b/snippets/visualbasic/System/IObservableT/Overview/locationtracker.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/locationtracker.vbproj rename to snippets/visualbasic/System/IObservableT/Overview/locationtracker.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb b/snippets/visualbasic/System/IObservableT/Overview/module1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb rename to snippets/visualbasic/System/IObservableT/Overview/module1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb b/snippets/visualbasic/System/IObservableT/Overview/observer.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb rename to snippets/visualbasic/System/IObservableT/Overview/observer.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb b/snippets/visualbasic/System/IObservableT/Overview/provider.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb rename to snippets/visualbasic/System/IObservableT/Overview/provider.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb b/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb rename to snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Int16/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb b/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb rename to snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb b/snippets/visualbasic/System/LazyT/.ctor/example5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb rename to snippets/visualbasic/System/LazyT/.ctor/example5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb b/snippets/visualbasic/System/LazyT/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb rename to snippets/visualbasic/System/LazyT/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb b/snippets/visualbasic/System/LazyT/Overview/lambda.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb rename to snippets/visualbasic/System/LazyT/Overview/lambda.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.SinCos/VB/sincos.vb b/snippets/visualbasic/System/Math/Cos/sincos.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb rename to snippets/visualbasic/System/Math/Cos/sincos.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb b/snippets/visualbasic/System/Math/Cosh/sinhcosh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb rename to snippets/visualbasic/System/Math/Cosh/sinhcosh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb b/snippets/visualbasic/System/Math/DivRem/divrem1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb rename to snippets/visualbasic/System/Math/DivRem/divrem1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb b/snippets/visualbasic/System/Math/DivRem/divrem2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb rename to snippets/visualbasic/System/Math/DivRem/divrem2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb b/snippets/visualbasic/System/Math/E/efield.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb rename to snippets/visualbasic/System/Math/E/efield.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb b/snippets/visualbasic/System/Math/Exp/exp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb rename to snippets/visualbasic/System/Math/Exp/exp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb b/snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb rename to snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb b/snippets/visualbasic/System/Math/Log10/log10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb rename to snippets/visualbasic/System/Math/Log10/log10.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb b/snippets/visualbasic/System/Math/Pow/pow1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb rename to snippets/visualbasic/System/Math/Pow/pow1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb b/snippets/visualbasic/System/Math/Round/round2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb rename to snippets/visualbasic/System/Math/Round/round2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb b/snippets/visualbasic/System/Math/Round/round3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb rename to snippets/visualbasic/System/Math/Round/round3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round4.vb b/snippets/visualbasic/System/Math/Round/round4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round4.vb rename to snippets/visualbasic/System/Math/Round/round4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round5.vb b/snippets/visualbasic/System/Math/Round/round5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round5.vb rename to snippets/visualbasic/System/Math/Round/round5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/rounddecimal1.vb b/snippets/visualbasic/System/Math/Round/rounddecimal1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/rounddecimal1.vb rename to snippets/visualbasic/System/Math/Round/rounddecimal1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.math.sqrt/vb/sqrt1.vb b/snippets/visualbasic/System/Math/Sqrt/sqrt1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.math.sqrt/vb/sqrt1.vb rename to snippets/visualbasic/System/Math/Sqrt/sqrt1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Tanh/VB/tanh.vb b/snippets/visualbasic/System/Math/Tanh/tanh.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Tanh/VB/tanh.vb rename to snippets/visualbasic/System/Math/Tanh/tanh.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb b/snippets/visualbasic/System/Math/Truncate/Truncate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb rename to snippets/visualbasic/System/Math/Truncate/Truncate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb b/snippets/visualbasic/System/NotImplementedException/Overview/program.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb rename to snippets/visualbasic/System/NotImplementedException/Overview/program.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb b/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb b/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb rename to snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb b/snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb rename to snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb b/snippets/visualbasic/System/NullableT/Equals/eq.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb rename to snippets/visualbasic/System/NullableT/Equals/eq.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb b/snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb rename to snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb b/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb rename to snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb b/snippets/visualbasic/System/NullableT/Overview/tarow.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb rename to snippets/visualbasic/System/NullableT/Overview/tarow.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb b/snippets/visualbasic/System/NullableT/ToString/ts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb rename to snippets/visualbasic/System/NullableT/ToString/ts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb b/snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb rename to snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb b/snippets/visualbasic/System/Object/Equals/equals_static2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb rename to snippets/visualbasic/System/Object/Equals/equals_static2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb b/snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb rename to snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.obsoleteattribute.message/vb/obsoleteattribute_message.vb b/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb rename to snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb b/snippets/visualbasic/System/OperatingSystem/Clone/clone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb rename to snippets/visualbasic/System/OperatingSystem/Clone/clone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb b/snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb rename to snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb b/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb rename to snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb b/snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb rename to snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.Predicate`1/vb/predicate1.vb b/snippets/visualbasic/System/PredicateT/Overview/predicate1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicate1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb b/snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb b/snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb rename to snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb b/snippets/visualbasic/System/Random/.ctor/ctor.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb rename to snippets/visualbasic/System/Random/.ctor/ctor.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor1.vb b/snippets/visualbasic/System/Random/.ctor/ctor1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor1.vb rename to snippets/visualbasic/System/Random/.ctor/ctor1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor4.vb b/snippets/visualbasic/System/Random/.ctor/ctor4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor4.vb rename to snippets/visualbasic/System/Random/.ctor/ctor4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb b/snippets/visualbasic/System/Random/Next/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb rename to snippets/visualbasic/System/Random/Next/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb b/snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb rename to snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random/vb/Random2.vb b/snippets/visualbasic/System/Random/Overview/Random2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random/vb/Random2.vb rename to snippets/visualbasic/System/Random/Overview/Random2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next.vb b/snippets/visualbasic/System/Random/Overview/next.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next.vb rename to snippets/visualbasic/System/Random/Overview/next.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb b/snippets/visualbasic/System/Random/Overview/next1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb rename to snippets/visualbasic/System/Random/Overview/next1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next2.vb b/snippets/visualbasic/System/Random/Overview/next2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next2.vb rename to snippets/visualbasic/System/Random/Overview/next2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next3.vb b/snippets/visualbasic/System/Random/Overview/next3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next3.vb rename to snippets/visualbasic/System/Random/Overview/next3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb b/snippets/visualbasic/System/Random/Overview/next4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb rename to snippets/visualbasic/System/Random/Overview/next4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb b/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb rename to snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb b/snippets/visualbasic/System/SByte/Parse/parse_1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb rename to snippets/visualbasic/System/SByte/Parse/parse_1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb b/snippets/visualbasic/System/SByte/Parse/parseex1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb rename to snippets/visualbasic/System/SByte/Parse/parseex1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb b/snippets/visualbasic/System/SByte/Parse/parseex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb rename to snippets/visualbasic/System/SByte/Parse/parseex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb b/snippets/visualbasic/System/SByte/Parse/parseex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb rename to snippets/visualbasic/System/SByte/Parse/parseex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb b/snippets/visualbasic/System/SByte/ToString/tostring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb rename to snippets/visualbasic/System/SByte/ToString/tostring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb b/snippets/visualbasic/System/SByte/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb rename to snippets/visualbasic/System/SByte/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb b/snippets/visualbasic/System/SByte/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb rename to snippets/visualbasic/System/SByte/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb b/snippets/visualbasic/System/SByte/ToString/tostring5.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb rename to snippets/visualbasic/System/SByte/ToString/tostring5.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb b/snippets/visualbasic/System/SByte/TryParse/TryParse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb rename to snippets/visualbasic/System/SByte/TryParse/TryParse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb b/snippets/visualbasic/System/SByte/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb rename to snippets/visualbasic/System/SByte/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb b/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb rename to snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb b/snippets/visualbasic/System/Single/Equals/equalsoverl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb rename to snippets/visualbasic/System/Single/Equals/equalsoverl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb b/snippets/visualbasic/System/Single/Equals/singlesample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb rename to snippets/visualbasic/System/Single/Equals/singlesample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb b/snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb rename to snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb b/snippets/visualbasic/System/Single/MinValue/minvalueex.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb rename to snippets/visualbasic/System/Single/MinValue/minvalueex.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb b/snippets/visualbasic/System/Single/NaN/nan1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb rename to snippets/visualbasic/System/Single/NaN/nan1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb b/snippets/visualbasic/System/Single/NaN/single.nan4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb rename to snippets/visualbasic/System/Single/NaN/single.nan4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb b/snippets/visualbasic/System/Single/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb rename to snippets/visualbasic/System/Single/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb b/snippets/visualbasic/System/Single/Parse/parse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb rename to snippets/visualbasic/System/Single/Parse/parse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb b/snippets/visualbasic/System/Single/Parse/parse3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb rename to snippets/visualbasic/System/Single/Parse/parse3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb b/snippets/visualbasic/System/Single/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb rename to snippets/visualbasic/System/Single/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb b/snippets/visualbasic/System/Single/ToString/ToString7.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb rename to snippets/visualbasic/System/Single/ToString/ToString7.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Single/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Single/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb b/snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb rename to snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb b/snippets/visualbasic/System/String/Chars/chars1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb rename to snippets/visualbasic/System/String/Chars/chars1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb b/snippets/visualbasic/System/String/Compare/Example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb rename to snippets/visualbasic/System/String/Compare/Example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb b/snippets/visualbasic/System/String/Compare/Example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare5/vb/Example.vb rename to snippets/visualbasic/System/String/Compare/Example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb b/snippets/visualbasic/System/String/Compare/cmpcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb rename to snippets/visualbasic/System/String/Compare/cmpcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.EndsWithCI/vb/ewci.vb b/snippets/visualbasic/System/String/EndsWith/ewci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb rename to snippets/visualbasic/System/String/EndsWith/ewci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb b/snippets/visualbasic/System/String/EndsWith/ewcmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb rename to snippets/visualbasic/System/String/EndsWith/ewcmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.Format2/vb/Example2.vb b/snippets/visualbasic/System/String/Format/Example2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format2/vb/Example2.vb rename to snippets/visualbasic/System/String/Format/Example2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb b/snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb rename to snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb b/snippets/visualbasic/System/String/GetHashCode/gethashcode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb rename to snippets/visualbasic/System/String/GetHashCode/gethashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/perdomain.vb b/snippets/visualbasic/System/String/GetHashCode/perdomain.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/perdomain.vb rename to snippets/visualbasic/System/String/GetHashCode/perdomain.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb b/snippets/visualbasic/System/String/IndexOf/ignorable21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb b/snippets/visualbasic/System/String/IndexOf/ignorable22.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable22.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb b/snippets/visualbasic/System/String/IndexOf/ignorable23.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable23.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable24.vb b/snippets/visualbasic/System/String/IndexOf/ignorable24.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable24.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable24.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable25.vb b/snippets/visualbasic/System/String/IndexOf/ignorable25.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable25.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable25.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable26.vb b/snippets/visualbasic/System/String/IndexOf/ignorable26.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable26.vb rename to snippets/visualbasic/System/String/IndexOf/ignorable26.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb b/snippets/visualbasic/System/String/IndexOf/indexof_c.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb rename to snippets/visualbasic/System/String/IndexOf/indexof_c.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb b/snippets/visualbasic/System/String/IndexOf/indexofcii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb rename to snippets/visualbasic/System/String/IndexOf/indexofcii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb b/snippets/visualbasic/System/String/IndexOf/iocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.IndexOfCmp/vb/iocmp.vb rename to snippets/visualbasic/System/String/IndexOf/iocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb b/snippets/visualbasic/System/String/IndexOf/simple1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb rename to snippets/visualbasic/System/String/IndexOf/simple1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.LastIndexOfCmp/vb/liocmp.vb b/snippets/visualbasic/System/String/LastIndexOf/liocmp.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.LastIndexOfCmp/vb/liocmp.vb rename to snippets/visualbasic/System/String/LastIndexOf/liocmp.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb b/snippets/visualbasic/System/String/Length/System.String.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb rename to snippets/visualbasic/System/String/Length/System.String.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.StartsWithCI/vb/swci.vb b/snippets/visualbasic/System/String/StartsWith/swci.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb rename to snippets/visualbasic/System/String/StartsWith/swci.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb b/snippets/visualbasic/System/String/Substring/Substring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb rename to snippets/visualbasic/System/String/Substring/Substring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb b/snippets/visualbasic/System/String/Substring/Substring10.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb rename to snippets/visualbasic/System/String/Substring/Substring10.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb b/snippets/visualbasic/System/String/Substring/Substring2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb rename to snippets/visualbasic/System/String/Substring/Substring2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb b/snippets/visualbasic/System/String/Substring/Substring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb rename to snippets/visualbasic/System/String/Substring/Substring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring4.vb b/snippets/visualbasic/System/String/Substring/Substring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring4.vb rename to snippets/visualbasic/System/String/Substring/Substring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb b/snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb rename to snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.Trim/vb/Trim1.vb b/snippets/visualbasic/System/String/Trim/Trim1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim1.vb rename to snippets/visualbasic/System/String/Trim/Trim1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim2.vb b/snippets/visualbasic/System/String/Trim/Trim2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim2.vb rename to snippets/visualbasic/System/String/Trim/Trim2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb b/snippets/visualbasic/System/String/TrimEnd/Sample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb rename to snippets/visualbasic/System/String/TrimEnd/Sample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb b/snippets/visualbasic/System/String/TrimStart/sample.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb rename to snippets/visualbasic/System/String/TrimStart/sample.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer.CurrentCulture/vb/CompareObjects.vb b/snippets/visualbasic/System/StringComparer/CurrentCulture/CompareObjects.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer.CurrentCulture/vb/CompareObjects.vb rename to snippets/visualbasic/System/StringComparer/CurrentCulture/CompareObjects.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb b/snippets/visualbasic/System/StringComparer/Overview/omni.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb rename to snippets/visualbasic/System/StringComparer/Overview/omni.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/Program.vbproj b/snippets/visualbasic/System/ThreadStaticAttribute/Overview/Program.vbproj similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/Program.vbproj rename to snippets/visualbasic/System/ThreadStaticAttribute/Overview/Program.vbproj diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb b/snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb rename to snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb b/snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb rename to snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb b/snippets/visualbasic/System/TimeSpan/Add/add1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb rename to snippets/visualbasic/System/TimeSpan/Add/add1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb b/snippets/visualbasic/System/TimeSpan/Compare/compare1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb rename to snippets/visualbasic/System/TimeSpan/Compare/compare1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb b/snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb rename to snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb b/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb rename to snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb b/snippets/visualbasic/System/TimeSpan/Days/properties.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb rename to snippets/visualbasic/System/TimeSpan/Days/properties.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb b/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb rename to snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb b/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb b/snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb b/snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb rename to snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb b/snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb rename to snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb b/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb rename to snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb b/snippets/visualbasic/System/TimeSpan/Overview/structure1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb rename to snippets/visualbasic/System/TimeSpan/Overview/structure1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample1.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample1.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample2.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample2.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample3.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample3.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample4.vb b/snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.parseexact/vb/parseexactexample4.vb rename to snippets/visualbasic/System/TimeSpan/ParseExact/parseexactexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb b/snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb rename to snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb b/snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb rename to snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb b/snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb rename to snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb b/snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb rename to snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb b/snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb rename to snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb b/snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb rename to snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb b/snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb rename to snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb b/snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb rename to snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample1.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample1.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample2.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample2.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample3.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample3.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample4.vb b/snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.tryparseexact/vb/tryparseexactexample4.vb rename to snippets/visualbasic/System/TimeSpan/TryParseExact/tryparseexactexample4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb b/snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb rename to snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb b/snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb rename to snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb b/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb rename to snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb b/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb rename to snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb b/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb rename to snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb b/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb rename to snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb b/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb rename to snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/getsystemtimezones1.vb b/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/getsystemtimezones1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/getsystemtimezones1.vb rename to snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/getsystemtimezones1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb b/snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb rename to snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb b/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb rename to snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb b/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb rename to snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb b/snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb rename to snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb b/snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb rename to snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetAmbiguousTimeOffsets/vb/System.TimeZone2.GetAmbiguousTimeOffsets.vb b/snippets/visualbasic/System/TimeZoneInfo/GetAmbiguousTimeOffsets/System.TimeZone2.GetAmbiguousTimeOffsets.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetAmbiguousTimeOffsets/vb/System.TimeZone2.GetAmbiguousTimeOffsets.vb rename to snippets/visualbasic/System/TimeZoneInfo/GetAmbiguousTimeOffsets/System.TimeZone2.GetAmbiguousTimeOffsets.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetUtcOffset/vb/System.TimeZone2.GetUtcOffset.vb b/snippets/visualbasic/System/TimeZoneInfo/GetUtcOffset/System.TimeZone2.GetUtcOffset.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.GetUtcOffset/vb/System.TimeZone2.GetUtcOffset.vb rename to snippets/visualbasic/System/TimeZoneInfo/GetUtcOffset/System.TimeZone2.GetUtcOffset.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb b/snippets/visualbasic/System/TimeZoneInfo/HasSameRules/HasSameRules.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.HasSameRules/vb/HasSameRules.vb rename to snippets/visualbasic/System/TimeZoneInfo/HasSameRules/HasSameRules.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb b/snippets/visualbasic/System/Tuple/Overview/create1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb rename to snippets/visualbasic/System/Tuple/Overview/create1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb b/snippets/visualbasic/System/Tuple/Overview/createntuple.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb rename to snippets/visualbasic/System/Tuple/Overview/createntuple.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb b/snippets/visualbasic/System/Tuple/Overview/ctor8.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb rename to snippets/visualbasic/System/Tuple/Overview/ctor8.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb b/snippets/visualbasic/System/Tuple/Overview/example.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb rename to snippets/visualbasic/System/Tuple/Overview/example.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb b/snippets/visualbasic/System/Tuple/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb rename to snippets/visualbasic/System/Tuple/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb b/snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb rename to snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb b/snippets/visualbasic/System/TupleT1/Equals/equals1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb rename to snippets/visualbasic/System/TupleT1/Equals/equals1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb b/snippets/visualbasic/System/TupleT1/Equals/equals2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb rename to snippets/visualbasic/System/TupleT1/Equals/equals2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb b/snippets/visualbasic/System/TupleT1/Item1/item1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb rename to snippets/visualbasic/System/TupleT1/Item1/item1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb b/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb rename to snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb b/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb rename to snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb b/snippets/visualbasic/System/TupleT1/ToString/tostring1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb rename to snippets/visualbasic/System/TupleT1/ToString/tostring1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb b/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb rename to snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb b/snippets/visualbasic/System/Type/Attributes/attributes1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb rename to snippets/visualbasic/System/Type/Attributes/attributes1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb b/snippets/visualbasic/System/Type/BaseType/basetype3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb rename to snippets/visualbasic/System/Type/BaseType/basetype3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb b/snippets/visualbasic/System/Type/BaseType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb rename to snippets/visualbasic/System/Type/BaseType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb b/snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb rename to snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_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_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.GetGenericParameterConstraints/VB/source.vb b/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb rename to snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.genericparameterposition/vb/remarks.vb b/snippets/visualbasic/System/Type/GenericParameterPosition/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.genericparameterposition/vb/remarks.vb rename to snippets/visualbasic/System/Type/GenericParameterPosition/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb b/snippets/visualbasic/System/Type/GetGenericArguments/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb rename to snippets/visualbasic/System/Type/GetGenericArguments/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb b/snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb rename to snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.TypeCode/VB/iconvertible.vb b/snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.TypeCode/VB/iconvertible.vb rename to snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid1.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid1.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid11.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid11.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid11.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid11.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex2.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex2.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex3.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex3.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex3.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex3.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex4.vb b/snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex4.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.gettypefromclsid/vb/gettypefromclsid_ex4.vb rename to snippets/visualbasic/System/Type/GetTypeFromCLSID/gettypefromclsid_ex4.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.IsGenericTypeDefinition/VB/source.vb b/snippets/visualbasic/System/Type/IsGenericParameter/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb rename to snippets/visualbasic/System/Type/IsGenericParameter/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb b/snippets/visualbasic/System/Type/IsGenericType/remarks.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb rename to snippets/visualbasic/System/Type/IsGenericType/remarks.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb b/snippets/visualbasic/System/Type/IsGenericType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb rename to snippets/visualbasic/System/Type/IsGenericType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb b/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb rename to snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsVisible/VB/source.vb rename to snippets/visualbasic/System/Type/IsVisible/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb b/snippets/visualbasic/System/Type/MakeByRefType/source.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb rename to snippets/visualbasic/System/Type/MakeByRefType/source.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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_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.uint32.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb b/snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb rename to snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_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.structure/vb/example1.vb b/snippets/visualbasic/System/ValueType/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb rename to snippets/visualbasic/System/ValueType/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/System.ValueType.ToString/vb/ToString2.vb b/snippets/visualbasic/System/ValueType/ToString/ToString2.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/System.ValueType.ToString/vb/ToString2.vb rename to snippets/visualbasic/System/ValueType/ToString/ToString2.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb b/snippets/visualbasic/System/Version/.ctor/rev.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb rename to snippets/visualbasic/System/Version/.ctor/rev.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb b/snippets/visualbasic/System/Version/Overview/example1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb rename to snippets/visualbasic/System/Version/Overview/example1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb b/snippets/visualbasic/System/Version/Parse/parse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb rename to snippets/visualbasic/System/Version/Parse/parse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb b/snippets/visualbasic/System/Version/TryParse/tryparse1.vb similarity index 100% rename from snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb rename to snippets/visualbasic/System/Version/TryParse/tryparse1.vb diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb deleted file mode 100644 index 098be198ef1..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/log1.vb +++ /dev/null @@ -1,38 +0,0 @@ -' -Module Example - Sub Main() - Console.WriteLine( _ - " Evaluate this identity with selected values for X:") - Console.WriteLine(" ln(x) = 1 / log[X](B)") - Console.WriteLine() - - Dim XArgs() As Double = { 1.2, 4.9, 9.9, 0.1 } - - For Each argX As Double In XArgs - ' Find natural log of argX. - Console.WriteLine(" Math.Log({0}) = {1:E16}", _ - argX, Math.Log(argX)) - - ' Evaluate 1 / log[X](e). - Console.WriteLine(" 1.0 / Math.Log(e, {0}) = {1:E16}", _ - argX, 1.0 / Math.Log(Math.E, argX)) - Console.WriteLine() - Next - End Sub -End Module -' This example displays the following output: -' Evaluate this identity with selected values for X: -' ln(x) = 1 / log[X](B) -' -' Math.Log(1.2) = 1.8232155679395459E-001 -' 1.0 / Math.Log(e, 1.2) = 1.8232155679395459E-001 -' -' Math.Log(4.9) = 1.5892352051165810E+000 -' 1.0 / Math.Log(e, 4.9) = 1.5892352051165810E+000 -' -' Math.Log(9.9) = 2.2925347571405443E+000 -' 1.0 / Math.Log(e, 9.9) = 2.2925347571405443E+000 -' -' Math.Log(0.1) = -2.3025850929940455E+000 -' 1.0 / Math.Log(e, 0.1) = -2.3025850929940455E+000 -' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb deleted file mode 100644 index 760859301cc..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log_Overloads/VB/loggen.vb +++ /dev/null @@ -1,73 +0,0 @@ -' -' Example for the Math.Log( Double ) and Math.Log( Double, Double ) methods. -Module LogDLogDD - - Sub Main() - Console.WriteLine( _ - "This example of Math.Log( Double ) and " + _ - "Math.Log( Double, Double )" & vbCrLf & _ - "generates the following output." & vbCrLf) - Console.WriteLine( _ - "Evaluate these identities with selected " & _ - "values for X and B (base):") - Console.WriteLine(" log(B)[X] = 1 / log(X)[B]") - Console.WriteLine(" log(B)[X] = ln[X] / ln[B]") - Console.WriteLine(" log(B)[X] = log(B)[e] * ln[X]") - - UseBaseAndArg(0.1, 1.2) - UseBaseAndArg(1.2, 4.9) - UseBaseAndArg(4.9, 9.9) - UseBaseAndArg(9.9, 0.1) - End Sub - - ' Evaluate logarithmic identities that are functions of two arguments. - Sub UseBaseAndArg(argB As Double, argX As Double) - - ' Evaluate log(B)[X] = 1 / log(X)[B]. - Console.WriteLine( _ - vbCrLf & " Math.Log({1}, {0}) = {2:E16}" + _ - vbCrLf & " 1.0 / Math.Log({0}, {1}) = {3:E16}", _ - argB, argX, Math.Log(argX, argB), _ - 1.0 / Math.Log(argB, argX)) - - ' Evaluate log(B)[X] = ln[X] / ln[B]. - Console.WriteLine( _ - " Math.Log({1}) / Math.Log({0}) = {2:E16}", _ - argB, argX, Math.Log(argX) / Math.Log(argB)) - - ' Evaluate log(B)[X] = log(B)[e] * ln[X]. - Console.WriteLine( _ - "Math.Log(Math.E, {0}) * Math.Log({1}) = {2:E16}", _ - argB, argX, Math.Log(Math.E, argB) * Math.Log(argX)) - - End Sub -End Module 'LogDLogDD - -' This example of Math.Log( Double ) and Math.Log( Double, Double ) -' generates the following output. -' -' Evaluate these identities with selected values for X and B (base): -' log(B)[X] = 1 / log(X)[B] -' log(B)[X] = ln[X] / ln[B] -' log(B)[X] = log(B)[e] * ln[X] -' -' Math.Log(1.2, 0.1) = -7.9181246047624818E-002 -' 1.0 / Math.Log(0.1, 1.2) = -7.9181246047624818E-002 -' Math.Log(1.2) / Math.Log(0.1) = -7.9181246047624818E-002 -' Math.Log(Math.E, 0.1) * Math.Log(1.2) = -7.9181246047624804E-002 -' -' Math.Log(4.9, 1.2) = 8.7166610085093179E+000 -' 1.0 / Math.Log(1.2, 4.9) = 8.7166610085093161E+000 -' Math.Log(4.9) / Math.Log(1.2) = 8.7166610085093179E+000 -' Math.Log(Math.E, 1.2) * Math.Log(4.9) = 8.7166610085093179E+000 -' -' Math.Log(9.9, 4.9) = 1.4425396251981288E+000 -' 1.0 / Math.Log(4.9, 9.9) = 1.4425396251981288E+000 -' Math.Log(9.9) / Math.Log(4.9) = 1.4425396251981288E+000 -' Math.Log(Math.E, 4.9) * Math.Log(9.9) = 1.4425396251981288E+000 -' -' Math.Log(0.1, 9.9) = -1.0043839404494075E+000 -' 1.0 / Math.Log(9.9, 0.1) = -1.0043839404494075E+000 -' Math.Log(0.1) / Math.Log(9.9) = -1.0043839404494075E+000 -' Math.Log(Math.E, 9.9) * Math.Log(0.1) = -1.0043839404494077E+000 -' diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.biginteger.log/vb/log1.vb b/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.biginteger.log/vb/log1.vb deleted file mode 100644 index 45b0489f253..00000000000 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.biginteger.log/vb/log1.vb +++ /dev/null @@ -1,26 +0,0 @@ -' Visual Basic .NET Document -Option Strict On - -' -Imports System.Numerics - -Module Example - Public Sub Main() - Dim values() As BigInteger = { 2, 100, BigInteger.Pow(1000, 100), - BigInteger.Pow(2, 64) } - For Each value In values - Console.WriteLine("The square root of {0} is {1}", value, - Math.Exp(BigInteger.Log(value) / 2)) - Next - End Sub -End Module -' The example displays the following output: -' The square root of 2 is 1.41421356237309 -' The square root of 100 is 10 -' The square root of 1000000000000000000000000000000000000000000000000000000000000 -' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 -' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 -' 00000000000000000000000000000000000000000000000000000000000000000000000000000000 -' is 9.99999999999988E+149 -' The square root of 18446744073709551616 is 4294967296 -' diff --git a/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..91ff5a7a826 100644 --- a/xml/System.CodeDom.Compiler/TempFileCollection.xml +++ b/xml/System.CodeDom.Compiler/TempFileCollection.xml @@ -78,7 +78,7 @@ The following example shows the use of the class and the and methods. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/TempFileCollection/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb" id="Snippet1"::: ]]> @@ -372,7 +372,7 @@ The following example shows the use of the method to add a file that is to be kept to the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom.Compiler/TempFileCollection/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.Compiler.TempFileCollection/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom.Compiler/TempFileCollection/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/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/CodeChecksumPragma.xml b/xml/System.CodeDom/CodeChecksumPragma.xml index 2b20205e24b..732ef390a10 100644 --- a/xml/System.CodeDom/CodeChecksumPragma.xml +++ b/xml/System.CodeDom/CodeChecksumPragma.xml @@ -58,7 +58,7 @@ The following code example shows the use of the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet1"::: ]]> @@ -112,7 +112,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet4"::: ]]> @@ -170,7 +170,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet8"::: ]]> @@ -231,7 +231,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet6"::: ]]> @@ -289,7 +289,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet7"::: ]]> @@ -343,7 +343,7 @@ Algorithms are provided for the MD5 and SHA-1 hashes. The GUID value to use for The following code example shows the setting of the property. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet5"::: ]]> diff --git a/xml/System.CodeDom/CodeCompileUnit.xml b/xml/System.CodeDom/CodeCompileUnit.xml index f80d0b3d8ba..ff0bae6817e 100644 --- a/xml/System.CodeDom/CodeCompileUnit.xml +++ b/xml/System.CodeDom/CodeCompileUnit.xml @@ -180,7 +180,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet3"::: ]]> @@ -323,7 +323,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeDefaultValueExpression.xml b/xml/System.CodeDom/CodeDefaultValueExpression.xml index e0687390b9a..25d87ff6903 100644 --- a/xml/System.CodeDom/CodeDefaultValueExpression.xml +++ b/xml/System.CodeDom/CodeDefaultValueExpression.xml @@ -101,7 +101,7 @@ dict.Print(); The following code example shows the use of the to create default values for decimal and integer parameters. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet7"::: ]]> diff --git a/xml/System.CodeDom/CodeMemberMethod.xml b/xml/System.CodeDom/CodeMemberMethod.xml index 25292bab9dd..980a6a52618 100644 --- a/xml/System.CodeDom/CodeMemberMethod.xml +++ b/xml/System.CodeDom/CodeMemberMethod.xml @@ -504,7 +504,7 @@ The following code example shows the use of the property to add two type parameters to the `printMethod`. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet6"::: ]]> diff --git a/xml/System.CodeDom/CodeMethodReferenceExpression.xml b/xml/System.CodeDom/CodeMethodReferenceExpression.xml index c06ba7c32ce..4e7fb613c47 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/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.CodeDom/CodeRegionDirective.xml b/xml/System.CodeDom/CodeRegionDirective.xml index 69189de2a06..daa325d08e3 100644 --- a/xml/System.CodeDom/CodeRegionDirective.xml +++ b/xml/System.CodeDom/CodeRegionDirective.xml @@ -61,7 +61,7 @@ The following code example shows the use of the in the creation of a graph that is used to produce code that is also compiled. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet1"::: ]]> @@ -157,7 +157,7 @@ The following code example shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet9"::: ]]> @@ -210,7 +210,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet11"::: ]]> @@ -259,7 +259,7 @@ The following code example shows the use of the property. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet12"::: ]]> diff --git a/xml/System.CodeDom/CodeRegionMode.xml b/xml/System.CodeDom/CodeRegionMode.xml index c8f1797569c..329b7598fd2 100644 --- a/xml/System.CodeDom/CodeRegionMode.xml +++ b/xml/System.CodeDom/CodeRegionMode.xml @@ -48,7 +48,7 @@ The following code example shows the use of the enumeration to specify the start of a region. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet2"::: ]]> diff --git a/xml/System.CodeDom/CodeSnippetStatement.xml b/xml/System.CodeDom/CodeSnippetStatement.xml index b323655522a..86780c2a790 100644 --- a/xml/System.CodeDom/CodeSnippetStatement.xml +++ b/xml/System.CodeDom/CodeSnippetStatement.xml @@ -63,7 +63,7 @@ The following example creates an instance of the class using a literal code fragment. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet16"::: ]]> @@ -152,7 +152,7 @@ The following example creates an instance of the class using a literal code fragment. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeChecksumPragma/Overview/codedirective.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDom.CodeDirectives/VB/codedirective.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeChecksumPragma/Overview/codedirective.vb" id="Snippet16"::: ]]> diff --git a/xml/System.CodeDom/CodeTypeParameter.xml b/xml/System.CodeDom/CodeTypeParameter.xml index 17a21fae7fd..5c30962f858 100644 --- a/xml/System.CodeDom/CodeTypeParameter.xml +++ b/xml/System.CodeDom/CodeTypeParameter.xml @@ -62,7 +62,7 @@ The following code example shows the use of the class to create a CodeDOM graph to generate an application containing generics code. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet1"::: ]]> @@ -162,7 +162,7 @@ The following code example shows the use of constructor to add a type parameter. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet10"::: ]]> @@ -210,7 +210,7 @@ The following code example shows the use of the property to add a new constraint. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet4"::: ]]> @@ -261,7 +261,7 @@ The following code example shows the use of the property to add a new custom attribute. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet5"::: ]]> @@ -321,7 +321,7 @@ The following code example shows the use of the property in determining if the type parameter has a constructor constraint. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CodeDOM.Generics.1/VB/codedomgenerics.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.CodeDom/CodeDefaultValueExpression/Overview/codedomgenerics.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/BlockingCollection`1.xml b/xml/System.Collections.Concurrent/BlockingCollection`1.xml index 11bbef1ddba..aed17442c6a 100644 --- a/xml/System.Collections.Concurrent/BlockingCollection`1.xml +++ b/xml/System.Collections.Concurrent/BlockingCollection`1.xml @@ -134,7 +134,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet1"::: ]]> @@ -999,7 +999,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet4"::: ]]> @@ -2304,7 +2304,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet2"::: ]]> @@ -2670,7 +2670,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.blockingcollection/vb/blockingcoll.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/BlockingCollectionT/Overview/blockingcoll.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml index a0c246cd7bf..4e2476e3426 100644 --- a/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml +++ b/xml/System.Collections.Concurrent/ConcurrentDictionary`2.xml @@ -142,7 +142,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet1"::: ]]> @@ -566,7 +566,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet3"::: ]]> @@ -689,7 +689,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrentcoladdupdate/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/AddOrUpdate/module1.vb" id="Snippet1"::: ## Remarks For modifications and write operations to the dictionary, uses fine-grained locking to ensure thread safety. (Read operations on the dictionary are performed in a lock-free manner.) The `addValueFactory` and `updateValueFactory` delegates may be executed multiple times to verify the value was added or updated as expected. However, they are called outside the locks to avoid the problems that can arise from executing unknown code under a lock. Therefore, is not atomic with regards to all other operations on the class. @@ -1105,7 +1105,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet3"::: ]]> @@ -2712,7 +2712,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> @@ -2953,7 +2953,7 @@ The key is compared using the dictionary's comparer (or the default comparer for :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> @@ -3017,7 +3017,7 @@ The key is compared using the dictionary's comparer (or the default comparer for :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentdictionary/vb/concdictionary.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentDictionaryTKey,TValue/Overview/concdictionary.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml b/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml index dfc4bbb74c3..f48ca2d29af 100644 --- a/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml +++ b/xml/System.Collections.Concurrent/ConcurrentQueue`1.xml @@ -120,7 +120,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentqueue/vb/concqueue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentQueueT/Overview/concqueue.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/ConcurrentStack`1.xml b/xml/System.Collections.Concurrent/ConcurrentStack`1.xml index 87f6075ac65..4df060ec965 100644 --- a/xml/System.Collections.Concurrent/ConcurrentStack`1.xml +++ b/xml/System.Collections.Concurrent/ConcurrentStack`1.xml @@ -126,13 +126,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_single.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_single.vb" id="Snippet1"::: The following example shows how to use a to push and pop ranges of items: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentstack/vb/concstack_range.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/ConcurrentStackT/Overview/concstack_range.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml b/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml index 6423618db13..6e1788f0deb 100644 --- a/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml +++ b/xml/System.Collections.Concurrent/IProducerConsumerCollection`1.xml @@ -75,7 +75,7 @@ The following example shows a stack data structure that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.iproducerconsumercollection/vb/iprodcon.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/IProducerConsumerCollectionT/Overview/iprodcon.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml b/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml index 33c373cd71f..b96917b5052 100644 --- a/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml +++ b/xml/System.Collections.Concurrent/OrderablePartitioner`1.xml @@ -75,7 +75,7 @@ The following example shows how to implement an orderable partitioner that returns one element at a time: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.orderablepartitioner/vb/orderablepartitioner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/OrderablePartitionerTSource/Overview/orderablepartitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Concurrent/Partitioner`1.xml b/xml/System.Collections.Concurrent/Partitioner`1.xml index 564869a121f..e5fe486032c 100644 --- a/xml/System.Collections.Concurrent/Partitioner`1.xml +++ b/xml/System.Collections.Concurrent/Partitioner`1.xml @@ -72,7 +72,7 @@ The following example shows how to implement a partitioner that returns a single element at a time: :::code language="csharp" source="~/snippets/csharp/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.partitioner/vb/partitioner.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Concurrent/PartitionerTSource/Overview/partitioner.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/Comparer`1.xml b/xml/System.Collections.Generic/Comparer`1.xml index a8a11d394f3..394a2d8a7fc 100644 --- a/xml/System.Collections.Generic/Comparer`1.xml +++ b/xml/System.Collections.Generic/Comparer`1.xml @@ -96,7 +96,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet1"::: ]]> @@ -244,7 +244,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet5"::: ]]> @@ -362,7 +362,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet3"::: ]]> @@ -456,7 +456,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/ComparerT/Overview/program.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Collections.Generic/EqualityComparer`1.xml b/xml/System.Collections.Generic/EqualityComparer`1.xml index a6fd6ebfb41..fd81847d3af 100644 --- a/xml/System.Collections.Generic/EqualityComparer`1.xml +++ b/xml/System.Collections.Generic/EqualityComparer`1.xml @@ -92,7 +92,7 @@ In .NET 8 and later versions, we recommend using the @@ -253,7 +253,7 @@ In .NET 8 and later versions, we recommend using the diff --git a/xml/System.Collections.Generic/HashSet`1.xml b/xml/System.Collections.Generic/HashSet`1.xml index df120c11c30..14de8219243 100644 --- a/xml/System.Collections.Generic/HashSet`1.xml +++ b/xml/System.Collections.Generic/HashSet`1.xml @@ -133,7 +133,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> @@ -201,7 +201,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet03"::: ]]> @@ -263,7 +263,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet02"::: ]]> @@ -440,7 +440,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/.ctor/source2.cs" interactive="try-dotnet-method" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/.ctor/source2.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/source2.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/source2.vb" id="Snippet03"::: ]]> @@ -726,7 +726,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Clear/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Clear/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb" id="Snippet01"::: ]]> @@ -848,7 +848,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -1118,7 +1118,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> @@ -1278,7 +1278,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/.ctor/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/.ctor/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_ExceptWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/.ctor/Program.vb" id="Snippet02"::: ]]> @@ -1607,7 +1607,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1689,7 +1689,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1771,7 +1771,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1847,7 +1847,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -1974,7 +1974,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -2044,7 +2044,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -2106,7 +2106,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Contains/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Contains/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_RemoveWhere/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Contains/Program.vb" id="Snippet02"::: ]]> @@ -2186,7 +2186,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.vb" id="Snippet02"::: ]]> @@ -2261,7 +2261,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.cs" interactive="try-dotnet-method" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_SymmetricExceptWith/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/SymmetricExceptWith/Program.vb" id="Snippet02"::: ]]> @@ -2572,7 +2572,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Clear/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Clear/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_Clear/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Clear/Program.vb" id="Snippet01"::: ]]> @@ -2776,7 +2776,7 @@ The following example demonstrates how to merge two disparate sets. This example :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/Overview/Program.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/System.Collections.Generic/HashSetT/Overview/Program.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_UnionWith/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/HashSetT/Overview/Program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Generic/ICollection`1.xml b/xml/System.Collections.Generic/ICollection`1.xml index d56f0aecafc..6f9ced7a989 100644 --- a/xml/System.Collections.Generic/ICollection`1.xml +++ b/xml/System.Collections.Generic/ICollection`1.xml @@ -84,7 +84,7 @@ This example also implements an interface for the `BoxCollection` class so that the collection can be enumerated. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ICollectionT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IComparer`1.xml b/xml/System.Collections.Generic/IComparer`1.xml index f6e03250ee1..f7ca6dc0b96 100644 --- a/xml/System.Collections.Generic/IComparer`1.xml +++ b/xml/System.Collections.Generic/IComparer`1.xml @@ -76,7 +76,7 @@ The following example implements the interface to compare objects of type `Box` according to their dimensions. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet7"::: ]]> @@ -182,7 +182,7 @@ The following example implements the interface to compare objects of type `Box` according to their dimensions. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ComparerT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxcompare/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ComparerT/Overview/program.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerable`1.xml b/xml/System.Collections.Generic/IEnumerable`1.xml index 8c705ff5d85..ebb8331647b 100644 --- a/xml/System.Collections.Generic/IEnumerable`1.xml +++ b/xml/System.Collections.Generic/IEnumerable`1.xml @@ -84,7 +84,7 @@ The following example demonstrates how to implement the interface and how to use that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following example demonstrates how to implement the interface and uses that implementation to create a LINQ query. When you implement , you must also implement or, for C# only, you can use the [yield](/dotnet/csharp/language-reference/keywords/yield) keyword. Implementing also requires to be implemented, which you will see in this example. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEnumerableT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.ienumerableex/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEnumerableT/Overview/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/IEnumerator`1.xml b/xml/System.Collections.Generic/IEnumerator`1.xml index 3e8508aeb95..91cb09bec3c 100644 --- a/xml/System.Collections.Generic/IEnumerator`1.xml +++ b/xml/System.Collections.Generic/IEnumerator`1.xml @@ -102,7 +102,7 @@ The following example shows an implementation of the interface for a collection class of custom objects. The custom object is an instance of the type `Box`, and the collection class is `BoxCollection`. This code example is part of a larger example provided for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ICollectionT/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.boxexamples/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ICollectionT/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Collections.Generic/IEqualityComparer`1.xml b/xml/System.Collections.Generic/IEqualityComparer`1.xml index 1c769c8504d..bbadf855866 100644 --- a/xml/System.Collections.Generic/IEqualityComparer`1.xml +++ b/xml/System.Collections.Generic/IEqualityComparer`1.xml @@ -76,7 +76,7 @@ The following example adds custom `Box` objects to a dictionary collection. The `Box` objects are considered equal if their dimensions are the same. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/IEqualityComparerT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.iequalitycomparer/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/IEqualityComparerT/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/LinkedListNode`1.xml b/xml/System.Collections.Generic/LinkedListNode`1.xml index 3279af7d7b6..0f3f0fea9a2 100644 --- a/xml/System.Collections.Generic/LinkedListNode`1.xml +++ b/xml/System.Collections.Generic/LinkedListNode`1.xml @@ -78,7 +78,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -141,7 +141,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -263,7 +263,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -322,7 +322,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ The following code example creates a , adds it to a , and tracks the values of its properties as the changes. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedListNode/VB/llnctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListNodeT/Overview/llnctor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/LinkedList`1.xml b/xml/System.Collections.Generic/LinkedList`1.xml index 7e1a3812fad..e592927099e 100644 --- a/xml/System.Collections.Generic/LinkedList`1.xml +++ b/xml/System.Collections.Generic/LinkedList`1.xml @@ -219,7 +219,7 @@ The following code example creates and initializes a of type , adds several nodes, and then displays its contents. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/LinkedListT/.ctor/llctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.LinkedList.ctor/VB/llctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/LinkedListT/.ctor/llctor.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Generic/List`1.xml b/xml/System.Collections.Generic/List`1.xml index 956b7817b9a..387765b039c 100644 --- a/xml/System.Collections.Generic/List`1.xml +++ b/xml/System.Collections.Generic/List`1.xml @@ -388,7 +388,7 @@ The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: The following example demonstrates several properties and methods of the generic class, including the method. The parameterless constructor is used to create a list of strings with a capacity of 0. The property is displayed, and then the method is used to add several items. The items are listed, and the property is displayed again, along with the property, to show that the capacity has been increased as needed. @@ -885,7 +885,7 @@ The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example shows the property at several points in the life of a list. The parameterless constructor is used to create a list of strings with a capacity of 0, and the property is displayed to demonstrate this. After the method has been used to add several items, the items are listed, and then the property is displayed again, along with the property, to show that the capacity has been increased as needed. @@ -1030,12 +1030,12 @@ The following example demonstrates the and methods on a that contains a simple business object that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example contains a list of complex objects of type `Cube`. The `Cube` class implements the method so that two cubes are considered equal if their dimensions are the same. In this example, the method returns `true`, because a cube that has the specified dimensions is already in the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.contains/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/program.vb" id="Snippet1"::: ]]> @@ -1411,7 +1411,7 @@ The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example shows the value of the property at various points in the life of a list. After the list has been created and populated and its elements displayed, the and properties are displayed. These properties are displayed again after the method has been called, and again after the contents of the list are cleared. @@ -1515,7 +1515,7 @@ The following example demonstrates the and methods on a that contains a simple business object that implements . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example demonstrates the method and several other methods that use the generic delegate. @@ -1606,7 +1606,7 @@ The following example demonstrates the method on a that contains a simple complex object. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Contains/program1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.containsexists/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Contains/module1.vb" id="Snippet1"::: The following example demonstrates the find methods for the class. The example for the class contains `book` objects, of class `Book`, using the data from the [Sample XML File: Books (LINQ to XML)](/dotnet/standard/linq/sample-xml-file-books). The `FillList` method in the example uses [LINQ to XML](/dotnet/standard/linq/linq-xml-overview) to parse the values from the XML to property values of the `book` objects. @@ -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"::: ]]> @@ -2444,7 +2444,7 @@ Public Function StartsWith(e As Employee) As Boolean > In addition to displaying the contents using the `Print` method, the C# example demonstrates the use of [anonymous methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods) to display the results to the console. :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/action.cs" interactive="try-dotnet-method" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/action.vb" id="Snippet01"::: ]]> @@ -2899,7 +2899,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: 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. @@ -3377,7 +3377,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: 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. @@ -3532,7 +3532,7 @@ Public Function StartsWith(e As Employee) As Boolean The following example demonstrates how to add, remove, and insert a simple business object in a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Add/module1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.collections.generic.list.addremoveinsert/fs/addremoveinsert.fs" id="Snippet1"::: ]]> @@ -3876,12 +3876,12 @@ Public Function StartsWith(e As Employee) As Boolean The following example adds some names to a `List` object, displays the list in unsorted order, calls the method, and then displays the sorted list. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/Sort1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/Sort1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/Sort1.vb" id="Snippet2"::: The following code demonstrates the and method overloads on a simple business object. Calling the method results in the use of the default comparer for the Part type, and the method is implemented by using an anonymous method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb" id="Snippet1"::: The following example demonstrates the method overload and the method overload. A of strings is created and populated with four strings, in no particular order. The list is displayed, sorted, and displayed again. @@ -4052,7 +4052,7 @@ Public Function StartsWith(e As Employee) As Boolean The following code demonstrates the and method overloads on a simple business object. Calling the method results in the use of the default comparer for the Part type, and the method is implemented using an anonymous method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Sort/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.sort/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Sort/module1.vb" id="Snippet1"::: The following example demonstrates the method overload. @@ -5237,7 +5237,7 @@ Retrieving the value of this property is an O(1) operation. The following example demonstrates how to check the capacity and count of a that contains a simple business object, and illustrates using the method to remove extra capacity. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/ListT/Capacity/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.list.capacitycount/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/ListT/Capacity/module1.vb" id="Snippet1"::: The following example demonstrates the method. Several properties and methods of the class are used to add, insert, and remove items from a list of strings. Then the method is used to reduce the capacity to match the count, and the and properties are displayed. If the unused capacity had been less than 10 percent of total capacity, the list would not have been resized. Finally, the contents of the list are cleared. diff --git a/xml/System.Collections.Generic/SortedSet`1.xml b/xml/System.Collections.Generic/SortedSet`1.xml index 1bb24d3b44d..69a8ef0adcf 100644 --- a/xml/System.Collections.Generic/SortedSet`1.xml +++ b/xml/System.Collections.Generic/SortedSet`1.xml @@ -139,7 +139,7 @@ This example demonstrates how to create a sorted set of media file names, remove unwanted elements, view a range of elements, and compare the set with another sorted set. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet1"::: ]]> @@ -254,9 +254,9 @@ The following example defines a comparer (`ByFileExtension`) that is used to construct a sorted set that sorts file names by their extensions. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet9"::: ]]> @@ -495,7 +495,7 @@ The following example adds elements to a sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet3"::: ]]> @@ -1036,7 +1036,7 @@ The following example uses the method to create a set of sets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet7"::: ]]> @@ -1100,7 +1100,7 @@ The following example removes elements from a sorted set that are duplicated in another sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet6"::: ]]> @@ -1269,7 +1269,7 @@ The following example uses the method to list only the AVI files from a sorted set of media file names. The comparer evaluates file names according to their extensions. The `lowerValue` is "AVI" and the `upperValue` is only one value higher, "AVJ", to get the view of all AVI files. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet5"::: ]]> @@ -1950,10 +1950,10 @@ The following example removes unwanted elements from a sorted set. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/SortedSetT/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.sortedset/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Generic/SortedSetT/Overview/program.vb" id="Snippet4"::: diff --git a/xml/System.Collections.Specialized/BitVector32+Section.xml b/xml/System.Collections.Specialized/BitVector32+Section.xml index fee75177bec..e9371234630 100644 --- a/xml/System.Collections.Specialized/BitVector32+Section.xml +++ b/xml/System.Collections.Specialized/BitVector32+Section.xml @@ -72,7 +72,7 @@ The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/BitVector32.xml b/xml/System.Collections.Specialized/BitVector32.xml index 22dd3aff7c7..4031c4dde38 100644 --- a/xml/System.Collections.Specialized/BitVector32.xml +++ b/xml/System.Collections.Specialized/BitVector32.xml @@ -71,12 +71,12 @@ The following code example uses a as a collection of bit flags. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_BitFlags/VB/bitvector32_bitflags.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/Overview/bitvector32_bitflags.vb" id="Snippet1"::: The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example shows how to create and use masks. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.CreateMasks/VB/bitvector32_createmasks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/CreateMask/bitvector32_createmasks.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ The following code example uses a as a collection of sections. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32_Sections/VB/bitvector32_sections.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32+Section/Overview/bitvector32_sections.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ The following code example compares a with another and with an . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.BitVector32.Equals/VB/bitvector32_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/BitVector32/Equals/bitvector32_equals.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/CollectionsUtil.xml b/xml/System.Collections.Specialized/CollectionsUtil.xml index 1985f814ca4..63e56e5dbd2 100644 --- a/xml/System.Collections.Specialized/CollectionsUtil.xml +++ b/xml/System.Collections.Specialized/CollectionsUtil.xml @@ -65,7 +65,7 @@ The following example uses two collections, a hash table and a sorted list, to hold population values for a group of cities. The values are retrieved from the collections by using the city names as keys. The city names are in mixed case to show their use as case-insensitive keys. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/CollectionsUtil/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.collectionsutil/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/CollectionsUtil/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/HybridDictionary.xml b/xml/System.Collections.Specialized/HybridDictionary.xml index 846224337e1..7416cc28ded 100644 --- a/xml/System.Collections.Specialized/HybridDictionary.xml +++ b/xml/System.Collections.Specialized/HybridDictionary.xml @@ -82,7 +82,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet2"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -92,7 +92,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/hybriddictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/hybriddictionary.vb" id="Snippet1"::: ]]> @@ -442,7 +442,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -513,7 +513,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Contains/VB/hybriddictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Contains/hybriddictionary_contains.vb" id="Snippet1"::: ]]> @@ -654,7 +654,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_CopyTo/VB/hybriddictionary_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/CopyTo/hybriddictionary_copyto.vb" id="Snippet1"::: ]]> @@ -726,7 +726,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -802,7 +802,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -987,7 +987,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an O(1) operation. @@ -1070,7 +1070,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1139,7 +1139,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1209,7 +1209,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_AddRemove/VB/hybriddictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Add/hybriddictionary_addremove.vb" id="Snippet1"::: ]]> @@ -1277,7 +1277,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an O(1) operation. @@ -1356,7 +1356,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1423,7 +1423,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.HybridDictionary_Enumerator/VB/hybriddictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/HybridDictionary/Count/hybriddictionary_enumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/IOrderedDictionary.xml b/xml/System.Collections.Specialized/IOrderedDictionary.xml index 41af70b606b..abc63b987ff 100644 --- a/xml/System.Collections.Specialized/IOrderedDictionary.xml +++ b/xml/System.Collections.Specialized/IOrderedDictionary.xml @@ -66,7 +66,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns an object of the type of the elements in the collection. Because each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb" id="Snippet03"::: The `foreach` statement is a wrapper around the enumerator, which allows only reading from, not writing to, the collection. @@ -76,7 +76,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" interactive="try-dotnet" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet00"::: ]]> @@ -155,7 +155,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -231,7 +231,7 @@ The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -313,7 +313,7 @@ The C# language uses the [this](/dotnet/csharp/language-reference/keywords/this) This property allows you to access a specific element in the collection by using the following syntax: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/remarks.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/remarks.vb" id="Snippet04"::: @@ -321,7 +321,7 @@ This property allows you to access a specific element in the collection by using The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> @@ -388,7 +388,7 @@ This property allows you to access a specific element in the collection by using The following code example demonstrates the implementation of a simple based on the class. The implemented stores first names as the keys and last names as the values, with the added requirement that each first name is unique. This code is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.IOrderedDictionary_Implementation/vb/iordereddictionary.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/IOrderedDictionary/Overview/iordereddictionary.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Collections.Specialized/ListDictionary.xml b/xml/System.Collections.Specialized/ListDictionary.xml index 7032a34b838..ad30b3e2a83 100644 --- a/xml/System.Collections.Specialized/ListDictionary.xml +++ b/xml/System.Collections.Specialized/ListDictionary.xml @@ -82,7 +82,7 @@ The `foreach` statement of the C# language (`for each` in Visual Basic) returns an object of the type of the elements in the collection. Since each element of the is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet3"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -92,7 +92,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/listdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb" id="Snippet1"::: ]]> @@ -172,7 +172,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/listdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/listdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/listdictionary.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following code example adds to and removes elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Contains/VB/listdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Contains/listdictionary_contains.vb" id="Snippet1"::: ]]> @@ -531,7 +531,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_CopyTo/VB/listdictionary_copyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/CopyTo/listdictionary_copyto.vb" id="Snippet1"::: ]]> @@ -612,7 +612,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -688,7 +688,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -873,7 +873,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -956,7 +956,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1025,7 +1025,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1093,7 +1093,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_AddRemove/VB/listdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Add/listdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -1161,7 +1161,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary2/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1240,7 +1240,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.ListDictionary_Enumerator/VB/listdictionary_enumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/ListDictionary/Count/listdictionary_enumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml b/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml index 7e4c940d430..23bfd5f79bc 100644 --- a/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml +++ b/xml/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection.xml @@ -448,7 +448,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb" id="Snippet1"::: Retrieving the value of this property is an O(1) operation. @@ -519,7 +519,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.specialized.nameobjectcollectionbase.keyscollection/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase+KeysCollection/System.Collections.ICollection.IsSynchronized/source.vb" id="Snippet1"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/NameObjectCollectionBase.xml b/xml/System.Collections.Specialized/NameObjectCollectionBase.xml index 8f3a59932a3..8eee3b66ca1 100644 --- a/xml/System.Collections.Specialized/NameObjectCollectionBase.xml +++ b/xml/System.Collections.Specialized/NameObjectCollectionBase.xml @@ -100,7 +100,7 @@ The following code example shows how to implement and use the class. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/nameobjectcollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/nameobjectcollectionbase.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ The following code example uses to create a new with elements from an . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseAdd/VB/nocb_baseadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseAdd/nocb_baseadd.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following code example uses to remove all elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseClear/VB/nocb_baseclear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseClear/nocb_baseclear.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ The following code example uses and to get specific keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb" id="Snippet1"::: ]]> @@ -906,7 +906,7 @@ The following code example uses and to get an array of the keys or an array of the values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb" id="Snippet1"::: ]]> @@ -976,7 +976,7 @@ The following code example uses and to get an array of the keys or an array of the values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGetAll/VB/nocb_basegetall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetAllKeys/nocb_basegetall.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ The following code example uses and to get specific keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseGet/VB/nocb_baseget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseGetKey/nocb_baseget.vb" id="Snippet1"::: ]]> @@ -1161,7 +1161,7 @@ The following code example uses to determine if the collection contains keys that are not `null`. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseHasKeys/VB/nocb_basehaskeys.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseHasKeys/nocb_basehaskeys.vb" id="Snippet1"::: ]]> @@ -1227,7 +1227,7 @@ The following code example uses and to remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb" id="Snippet1"::: ]]> @@ -1292,7 +1292,7 @@ The following code example uses and to remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseRemove/VB/nocb_baseremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseRemove/nocb_baseremove.vb" id="Snippet1"::: ]]> @@ -1316,7 +1316,7 @@ The following code example uses to set the value of a specific element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.BaseSet/VB/nocb_baseset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/BaseSet/nocb_baseset.vb" id="Snippet1"::: ]]> @@ -1710,7 +1710,7 @@ The following code example creates a read-only collection. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase.IsReadOnly/VB/nocb_isreadonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/IsReadOnly/nocb_isreadonly.vb" id="Snippet1"::: ]]> @@ -1962,7 +1962,7 @@ The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -2030,7 +2030,7 @@ The following code example shows how to lock the collection using the during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameObjectCollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameObjectCollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/NameValueCollection.xml b/xml/System.Collections.Specialized/NameValueCollection.xml index f7311b787ea..cc95117e73b 100644 --- a/xml/System.Collections.Specialized/NameValueCollection.xml +++ b/xml/System.Collections.Specialized/NameValueCollection.xml @@ -80,7 +80,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/NameValueCollection/Overview/nvc.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/NameValueCollection/Overview/nvc.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections.Specialized/OrderedDictionary.xml b/xml/System.Collections.Specialized/OrderedDictionary.xml index 443255e8922..b10eeb8bab5 100644 --- a/xml/System.Collections.Specialized/OrderedDictionary.xml +++ b/xml/System.Collections.Specialized/OrderedDictionary.xml @@ -95,7 +95,7 @@ The `foreach` statement of the C# language (`For Each` in Visual Basic) returns objects that are of the type of each element in the collection. Since each element of the collection is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . The following code shows the syntax. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/source2.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/source2.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/source2.vb" id="Snippet06"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -105,7 +105,7 @@ The following code example demonstrates the creation, population and modification of an collection, as well as two techniques to display the contents of the : one using the and properties and the other creating an enumerator through the method. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" interactive="try-dotnet" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet00"::: ]]> @@ -174,7 +174,7 @@ The following code example demonstrates the creation and population of an collection. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: ]]> @@ -493,7 +493,7 @@ The following code example demonstrates the creation and population of an collection. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: ]]> @@ -605,7 +605,7 @@ The following code example demonstrates the modification of an collection. In this example, the method is used to empty the , and then the is repopulated. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet03"::: ]]> @@ -671,7 +671,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to determine if an entry exists before attempting to remove it. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -783,7 +783,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to remove the last item in the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -856,10 +856,10 @@ This method uses the collection's objects' and method to display the contents of the collection to the console. In this example, the method is used to obtain an object that is passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet03"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet05"::: ]]> @@ -996,7 +996,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to add a new entry to the beginning of the , moving the rest of the entries down. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1068,7 +1068,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to determine whether the can be modified. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1225,7 +1225,7 @@ This method uses the collection's objects' and collection. In this example, the property is used to modify the dictionary entry with the key `"testKey2"`. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1286,10 +1286,10 @@ This method uses the collection's objects' and collection, and then prints the contents to the console. In this example, the and properties are passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet04"::: ]]> @@ -1406,7 +1406,7 @@ This method uses the collection's objects' and collection. In this example, the method is used to remove the entry with the key `"keyToDelete"` from the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1472,7 +1472,7 @@ This method uses the collection's objects' and collection. In this example, the method is used with the property to remove the last entry from the . This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet02"::: ]]> @@ -1805,10 +1805,10 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates the creation and population of an collection, and then prints the contents to the console. In this example, the and properties are passed to a method that displays the contents. This code is part of a larger code example that can be viewed at . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet01"::: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.OrderedDictionary1/VB/OrderedDictionary1.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/OrderedDictionary/Overview/OrderedDictionary1.vb" id="Snippet04"::: ]]> diff --git a/xml/System.Collections.Specialized/StringCollection.xml b/xml/System.Collections.Specialized/StringCollection.xml index c40249d100a..0ef314c8399 100644 --- a/xml/System.Collections.Specialized/StringCollection.xml +++ b/xml/System.Collections.Specialized/StringCollection.xml @@ -83,7 +83,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/stringcollection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/stringcollection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/stringcollection.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ The following code example adds new elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ The following code example adds new elements to the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ The following code example removes elements from the . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -409,7 +409,7 @@ This method uses the collection's objects' and for an element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb" id="Snippet1"::: ]]> @@ -486,7 +486,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ This method uses the collection's objects' and to an array. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionCopyTo/VB/stringcollectioncopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/CopyTo/stringcollectioncopyto.vb" id="Snippet1"::: ]]> @@ -693,7 +693,7 @@ This method uses the collection's objects' and for an element. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionContains/VB/stringcollectioncontains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Contains/stringcollectioncontains.vb" id="Snippet1"::: ]]> @@ -765,7 +765,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionAdd/VB/stringcollectionadd.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Add/stringcollectionadd.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1035,7 +1035,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -1102,7 +1102,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollectionRemove/VB/stringcollectionremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Clear/stringcollectionremove.vb" id="Snippet1"::: ]]> @@ -1174,7 +1174,7 @@ This method uses the collection's objects' and during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringCollection/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringCollection2/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringCollection/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. diff --git a/xml/System.Collections.Specialized/StringDictionary.xml b/xml/System.Collections.Specialized/StringDictionary.xml index 9fd711f0277..89be374c9c5 100644 --- a/xml/System.Collections.Specialized/StringDictionary.xml +++ b/xml/System.Collections.Specialized/StringDictionary.xml @@ -88,7 +88,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb" id="Snippet1"::: ]]> @@ -149,7 +149,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/stringdictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/stringdictionary.vb" id="Snippet1"::: ]]> @@ -222,7 +222,7 @@ The following code example demonstrates how to add and remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ The following code example demonstrates how to add and remove elements from a . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -351,7 +351,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Contains/VB/stringdictionary_contains.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/ContainsKey/stringdictionary_contains.vb" id="Snippet1"::: ]]> @@ -487,7 +487,7 @@ This method uses the collection's objects' and @@ -552,7 +552,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -628,7 +628,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -689,7 +689,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -766,7 +766,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -831,7 +831,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/stringdictionary_enumeration.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/stringdictionary_enumeration.vb" id="Snippet1"::: ]]> @@ -896,7 +896,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_AddRemove/VB/stringdictionary_addremove.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Add/stringdictionary_addremove.vb" id="Snippet1"::: ]]> @@ -960,7 +960,7 @@ This method uses the collection's objects' and during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an O(1) operation. @@ -1024,7 +1024,7 @@ This method uses the collection's objects' and . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringDictionary/Count/values.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collection.Specialized.StringDictionary_Enumeration/VB/values.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringDictionary/Count/values.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections.Specialized/StringEnumerator.xml b/xml/System.Collections.Specialized/StringEnumerator.xml index 49d1f0bb885..87519e09447 100644 --- a/xml/System.Collections.Specialized/StringEnumerator.xml +++ b/xml/System.Collections.Specialized/StringEnumerator.xml @@ -75,7 +75,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> @@ -276,7 +276,7 @@ The following code example demonstrates several of the properties and methods of . :::code language="csharp" source="~/snippets/csharp/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.StringEnumerator2/VB/stringenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections.Specialized/StringEnumerator/Overview/stringenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/ArrayList.xml b/xml/System.Collections/ArrayList.xml index 7ec51290172..e6a410082ce 100644 --- a/xml/System.Collections/ArrayList.xml +++ b/xml/System.Collections/ArrayList.xml @@ -2693,12 +2693,12 @@ This method uses the collection's objects' and and adds several items. The example demonstrates accessing elements with the property (the indexer in C#), and changing an element by assigning a new value to the property for a specified index. The example also shows that the property cannot be used to access or add elements outside the current size of the list. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Item/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Item/source.vb" id="Snippet1"::: The following example uses the property explicitly to assign values to items in the list. The example defines a class that inherits an and adds a method to scramble the list items. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Item/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Item/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Item/source2.vb" id="Snippet2"::: ]]> @@ -3858,7 +3858,7 @@ This method uses the collection's objects' and using the default comparer and a custom comparer that reverses the sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Sort/arraylist_sort2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_2/VB/arraylist_sort2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort2.vb" id="Snippet1"::: ]]> @@ -3941,7 +3941,7 @@ This method uses the collection's objects' and using the default comparer and a custom comparer that reverses the sort order. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/Sort/arraylist_sort3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.Sort_3/VB/arraylist_sort3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/Sort/arraylist_sort3.vb" id="Snippet1"::: ]]> @@ -4338,7 +4338,7 @@ This method uses the collection's objects' and to a string array. :::code language="csharp" source="~/snippets/csharp/System.Collections/ArrayList/ToArray/arraylist_toarray.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ArrayList.ToArray/VB/arraylist_toarray.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ArrayList/ToArray/arraylist_toarray.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/CaseInsensitiveComparer.xml b/xml/System.Collections/CaseInsensitiveComparer.xml index 41699c1c217..871ab61916d 100644 --- a/xml/System.Collections/CaseInsensitiveComparer.xml +++ b/xml/System.Collections/CaseInsensitiveComparer.xml @@ -86,7 +86,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -220,7 +220,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> @@ -428,7 +428,7 @@ The class is the default implementation of th The following code example creates a case-sensitive hash table and a case-insensitive hash table and demonstrates the difference in their behavior, even if both contain the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CaseInsensitive/VB/caseinsensitive.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CaseInsensitiveComparer/Overview/caseinsensitive.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/CollectionBase.xml b/xml/System.Collections/CollectionBase.xml index 3d3a347664b..84eeb62c456 100644 --- a/xml/System.Collections/CollectionBase.xml +++ b/xml/System.Collections/CollectionBase.xml @@ -89,7 +89,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -395,7 +395,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -474,7 +474,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -585,7 +585,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1244,7 +1244,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1456,7 +1456,7 @@ A instance is always modifiable. See during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1519,7 +1519,7 @@ A instance is always modifiable. See during the entire enumeration: :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/remarks.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -1589,7 +1589,7 @@ A instance is always modifiable. See class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1668,7 +1668,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1737,7 +1737,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -1811,7 +1811,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -2017,7 +2017,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> @@ -2097,7 +2097,7 @@ This method uses the collection's objects' and class and uses that implementation to create a collection of objects. :::code language="csharp" source="~/snippets/csharp/System.Collections/CollectionBase/Overview/collectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.CollectionBase/VB/collectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/CollectionBase/Overview/collectionbase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/Comparer.xml b/xml/System.Collections/Comparer.xml index bca396229f4..6e72f5b50aa 100644 --- a/xml/System.Collections/Comparer.xml +++ b/xml/System.Collections/Comparer.xml @@ -107,7 +107,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ The following code example shows how returns different values depending on the culture associated with the . :::code language="csharp" source="~/snippets/csharp/System.Collections/Comparer/Overview/comparercultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Comparer/VB/comparercultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Comparer/Overview/comparercultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryBase.xml b/xml/System.Collections/DictionaryBase.xml index 4d84b5f2204..adb65627772 100644 --- a/xml/System.Collections/DictionaryBase.xml +++ b/xml/System.Collections/DictionaryBase.xml @@ -92,7 +92,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -470,7 +470,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -796,7 +796,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -955,7 +955,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1115,7 +1115,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1276,7 +1276,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1347,7 +1347,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an `O(1)` operation. @@ -1414,7 +1414,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/source2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/source2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/source2.vb" id="Snippet3"::: Retrieving the value of this property is an `O(1)` operation. @@ -1488,7 +1488,7 @@ The C# [foreach](/dotnet/csharp/language-reference/keywords/foreach-in) statemen The following code example implements the class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1565,7 +1565,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1760,7 +1760,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1833,7 +1833,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a property of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1901,7 +1901,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> @@ -1976,7 +1976,7 @@ This method uses the collection's objects' and class and uses that implementation to create a dictionary of keys and values that have a property of 5 characters or less. :::code language="csharp" source="~/snippets/csharp/System.Collections/DictionaryBase/Overview/dictionarybase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.DictionaryBase/VB/dictionarybase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/DictionaryBase/Overview/dictionarybase.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/DictionaryEntry.xml b/xml/System.Collections/DictionaryEntry.xml index 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..b378e13b4e7 100644 --- a/xml/System.Collections/Hashtable.xml +++ b/xml/System.Collections/Hashtable.xml @@ -146,7 +146,7 @@ Each element is a key/value pair stored in a is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is . For example: :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Overview/remarks.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/remarks.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Overview/remarks.vb" id="Snippet01"::: The `foreach` statement is a wrapper around the enumerator, which only allows reading from, not writing to, the collection. @@ -161,7 +161,7 @@ Each element is a key/value pair stored in a and how to print out its keys and values. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/Overview/hashtable_example.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ClassExample/vb/hashtable_example.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/Overview/hashtable_example.vb" id="Snippet00"::: :::code language="powershell" source="~/snippets/powershell/VS_Snippets_CLR_System/system.collections.hashtable.class/ps/hashtable.ps1" id="Snippet00"::: ]]> @@ -252,7 +252,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -417,7 +417,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -589,7 +589,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -781,7 +781,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet1"::: ]]> @@ -869,7 +869,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -948,7 +948,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> @@ -1154,7 +1154,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionary/VB/hashtable_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionary.vb" id="Snippet1"::: ]]> @@ -1256,7 +1256,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -1362,7 +1362,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorInt/VB/hashtable_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorint.vb" id="Snippet1"::: ]]> @@ -1454,7 +1454,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> @@ -1573,7 +1573,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorDictionaryFloat/VB/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctordictionaryfloat.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ Each element is a key/value pair stored in a constructors and demonstrates the differences in the behavior of the hash tables, even if each one contains the same elements. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctorIntFloat/VB/hashtable_ctorintfloat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctorintfloat.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/ICollection.xml b/xml/System.Collections/ICollection.xml index 123f5d76202..25603be4519 100644 --- a/xml/System.Collections/ICollection.xml +++ b/xml/System.Collections/ICollection.xml @@ -244,7 +244,7 @@ The interface is the base interface for cl The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> @@ -304,14 +304,14 @@ The interface is the base interface for cl In the absence of a `Synchronized` method on a collection, the expected usage for looks as follows: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet2"::: Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerable.xml b/xml/System.Collections/IEnumerable.xml index 1f4ff636f56..3e536a697a6 100644 --- a/xml/System.Collections/IEnumerable.xml +++ b/xml/System.Collections/IEnumerable.xml @@ -69,7 +69,7 @@ The following code example demonstrates the best practice for iterating a custom collection by implementing the and interfaces. In this example, members of these interfaces are not explicitly called, but they are implemented to support the use of `foreach` (`For Each` in Visual Basic) to iterate through the collection. This example is a complete Console app. To compile the Visual Basic app, change the **Startup object** to **Sub Main** in the project's **Properties** page. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -152,7 +152,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`For Each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Collections/IEnumerator.xml b/xml/System.Collections/IEnumerator.xml index 44a0a5e28a9..6b7a830b04b 100644 --- a/xml/System.Collections/IEnumerator.xml +++ b/xml/System.Collections/IEnumerator.xml @@ -87,7 +87,7 @@ The following code example demonstrates the implementation of the and interfaces for a custom collection. In this example, members of these interfaces are not explicitly called, but they are implemented to support the use of `foreach` (`for each` in Visual Basic) to iterate through the collection. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> @@ -227,7 +227,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`for each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IEqualityComparer.xml b/xml/System.Collections/IEqualityComparer.xml index cadc5737719..a8b855c54dd 100644 --- a/xml/System.Collections/IEqualityComparer.xml +++ b/xml/System.Collections/IEqualityComparer.xml @@ -132,7 +132,7 @@ The `IEqualityComparer` interface supports only equality comparisons. Customizat The following code example demonstrates the implementation of a case-insensitive . In this example, the method is used to determine whether two objects are equal, based on the provided . :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet2"::: ]]> @@ -200,7 +200,7 @@ The `IEqualityComparer` interface supports only equality comparisons. Customizat The following code example demonstrates the implementation of a case-insensitive . In this example, the method returns the hash code provided by the type. :::code language="csharp" source="~/snippets/csharp/System.Collections/Hashtable/.ctor/hashtable_ctor.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Hashtable_ctor/VB/hashtable_ctor.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/Hashtable/.ctor/hashtable_ctor.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IList.xml b/xml/System.Collections/IList.xml index aa26790de39..1a4206f6816 100644 --- a/xml/System.Collections/IList.xml +++ b/xml/System.Collections/IList.xml @@ -74,7 +74,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet01"::: ]]> @@ -137,7 +137,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -202,7 +202,7 @@ The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -268,7 +268,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -332,7 +332,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -400,7 +400,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -470,7 +470,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -531,7 +531,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -598,7 +598,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -665,7 +665,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -736,7 +736,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> diff --git a/xml/System.Collections/IStructuralComparable.xml b/xml/System.Collections/IStructuralComparable.xml index 9947daa7eab..c8bf30107e4 100644 --- a/xml/System.Collections/IStructuralComparable.xml +++ b/xml/System.Collections/IStructuralComparable.xml @@ -70,7 +70,7 @@ The example then displays the elements in the array in unsorted order, sorts them by the third component (the population in 1970) and displays them, and then sorts them by the sixth component (the population in 2000) and displays them. Note that the example does not directly call the method. The method is called implicitly by the method for each tuple object in the array. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -173,7 +173,7 @@ The example then displays the elements in the array in unsorted order, sorts them by the third component (the population in 1970) and displays them, and then sorts them by the sixth component (the population in 2000) and displays them. Note that the example does not directly call the implementation. The method is called implicitly by the method for each tuple object in the array. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Collections/IStructuralEquatable.xml b/xml/System.Collections/IStructuralEquatable.xml index 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/ReadOnlyCollectionBase.xml b/xml/System.Collections/ReadOnlyCollectionBase.xml index f40aa9aab08..b0e13307bc1 100644 --- a/xml/System.Collections/ReadOnlyCollectionBase.xml +++ b/xml/System.Collections/ReadOnlyCollectionBase.xml @@ -82,7 +82,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -200,7 +200,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -278,7 +278,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -337,7 +337,7 @@ A instance is always read-only. The following code example implements the class. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/readonlycollectionbase.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/readonlycollectionbase.vb" id="Snippet1"::: ]]> @@ -477,7 +477,7 @@ A instance is always read-only. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. @@ -543,7 +543,7 @@ A instance is always read-only. The following code example shows how to lock the collection using the property during the entire enumeration. :::code language="csharp" source="~/snippets/csharp/System.Collections/ReadOnlyCollectionBase/Overview/source2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.ReadOnlyCollectionBase/VB/source2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ReadOnlyCollectionBase/Overview/source2.vb" id="Snippet2"::: Retrieving the value of this property is an `O(1)` operation. diff --git a/xml/System.Collections/SortedList.xml b/xml/System.Collections/SortedList.xml index ea1b15f5809..2a1d133939a 100644 --- a/xml/System.Collections/SortedList.xml +++ b/xml/System.Collections/SortedList.xml @@ -205,7 +205,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctor/VB/sortedlist_ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctor.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctorint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorInt/VB/sortedlist_ctorint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctorint.vb" id="Snippet1"::: ]]> @@ -583,7 +583,7 @@ A element can be accessed by its key, like The following code example creates collections using different constructors and demonstrates the differences in the behavior of the collections. :::code language="csharp" source="~/snippets/csharp/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.SortedList_ctorDictionary/VB/sortedlist_ctordictionary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/SortedList/.ctor/sortedlist_ctordictionary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.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..3961b243134 100644 --- a/xml/System.Data.Linq.Mapping/ColumnAttribute.xml +++ b/xml/System.Data.Linq.Mapping/ColumnAttribute.xml @@ -142,7 +142,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet1"::: ]]> @@ -186,7 +186,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet2"::: ]]> @@ -233,7 +233,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet4"::: ]]> @@ -283,7 +283,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet5"::: ]]> @@ -331,7 +331,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet6"::: ]]> @@ -378,7 +378,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet7"::: ]]> @@ -428,7 +428,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet8"::: ]]> @@ -479,7 +479,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet9"::: ]]> @@ -536,7 +536,7 @@ public class Employees ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.ColumnAttribute/vb/northwind.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/ColumnAttribute/AutoSync/northwind.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml b/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml index 026aa26988a..b5cd92f5a7b 100644 --- a/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml +++ b/xml/System.Data.Linq.Mapping/InheritanceMappingAttribute.xml @@ -46,12 +46,12 @@ This example shows inheritance mapping for a hierarchy where the top, mapped class (`Shape`) is abstract. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb" id="Snippet1"::: The following example shows the inclusion of unmapped classes. You can put unmapped classes anywhere in the hierarchy. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.Mapping.InheritanceMappingAttribute/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq.Mapping/InheritanceMappingAttribute/Overview/Module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Data.Linq/ChangeAction.xml b/xml/System.Data.Linq/ChangeAction.xml index 47ca3366693..54cbc711489 100644 --- a/xml/System.Data.Linq/ChangeAction.xml +++ b/xml/System.Data.Linq/ChangeAction.xml @@ -25,7 +25,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/ChangeAction/Overview/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.ChangeAction/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/ChangeAction/Overview/Module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data.Linq/DataContext.xml b/xml/System.Data.Linq/DataContext.xml index 993d4488130..7a5faec385a 100644 --- a/xml/System.Data.Linq/DataContext.xml +++ b/xml/System.Data.Linq/DataContext.xml @@ -284,7 +284,7 @@ The following code shows how to set up a temporary database and then remove it. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ The following example uses this method to determine whether a database already exists. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -456,7 +456,7 @@ The following example shows how to delete a database that has been temporarily created. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet1"::: ]]> @@ -1143,7 +1143,7 @@ Next The following example displays generated SQL in the console window before it displays the results of the query. :::code language="csharp" source="~/snippets/csharp/System.Data.Linq/DataContext/CreateDatabase/Program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Data.Linq.DataContext/vb/Module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Data.Linq/DataContext/CreateDatabase/Module1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Data.SqlClient/SqlParameterCollection.xml b/xml/System.Data.SqlClient/SqlParameterCollection.xml index 1cceff0c6c3..3a90f26ab87 100644 --- a/xml/System.Data.SqlClient/SqlParameterCollection.xml +++ b/xml/System.Data.SqlClient/SqlParameterCollection.xml @@ -223,7 +223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -657,7 +657,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -778,7 +778,7 @@ This method uses the collection's objects' and interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1054,7 +1054,7 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates the implementation of the interfaces for a custom collection. In this example, is not explicitly called, but it is implemented to support the use of `foreach` (`For Each` in Visual Basic). This code example is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IEnumerable/Overview/ienumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections_EnumeratorInterfaces/vb/ienumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IEnumerable/Overview/ienumerator.vb" id="Snippet1"::: ]]> @@ -1242,7 +1242,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1413,7 +1413,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1464,7 +1464,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1513,7 +1513,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1562,7 +1562,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> @@ -1818,7 +1818,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -1893,7 +1893,7 @@ This member is an explicit interface member implementation. It can be used only The following example demonstrates the implementation of the interface to create a simple, fixed-size list. This code is part of a larger example for the interface. :::code language="csharp" source="~/snippets/csharp/System.Collections/IList/Overview/Program.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.IList_Implementation/vb/Program.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/IList/Overview/Program.vb" id="Snippet02"::: ]]> @@ -2068,7 +2068,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet2"::: Enumerating through a collection is intrinsically not a thread-safe procedure. Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the collection during the entire enumeration or catch the exceptions resulting from changes made by other threads. @@ -2078,7 +2078,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.collections.icollection/cpp/remarks.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Collections/ICollection/IsSynchronized/remarks.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.icollection/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Collections/ICollection/IsSynchronized/remarks.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Data/DataTableExtensions.xml b/xml/System.Data/DataTableExtensions.xml index 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.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml index 167ac9c5dfb..dac985bde60 100644 --- a/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml +++ b/xml/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute.xml @@ -82,7 +82,7 @@ The following code example shows the use of the attribute to suppress performance warning messages. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet1"::: ]]> @@ -146,7 +146,7 @@ The `category` parameter value is specific to the analysis tool and categorizes The following code example shows the use of the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -210,7 +210,7 @@ The The following code example shows the use of the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -274,7 +274,7 @@ Concatenated together, the attribute to suppress warnings for the `Microsoft.Performance` category and the `CA1801` and `CA1804` check identifiers. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -381,7 +381,7 @@ The The following code example shows the use of the attribute to suppress warnings for a specific parameter in a method declaration and a specific field in the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.CodeAnalysis.SuppressMessageAttribute/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.CodeAnalysis/SuppressMessageAttribute/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics.Contracts/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.Eventing.Reader/EventLogInformation.xml b/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml index db02c0292be..42bed9dd096 100644 --- a/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml +++ b/xml/System.Diagnostics.Eventing.Reader/EventLogInformation.xml @@ -86,7 +86,7 @@ The values of this property are the same as those of the type. To make working with this property easier, you can convert the value to that type using the following code: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Diagnostics.Eventing.Reader.EventLogInformation/vb/attributes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Eventing.Reader/EventLogInformation/Attributes/attributes.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics.Tracing/EventSource.xml b/xml/System.Diagnostics.Tracing/EventSource.xml index b31d562844c..7bf84f0989e 100644 --- a/xml/System.Diagnostics.Tracing/EventSource.xml +++ b/xml/System.Diagnostics.Tracing/EventSource.xml @@ -3932,7 +3932,7 @@ fixed(byte* ptr = arg) The following code example shows how you might can specify an event source that calls . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet2"::: ]]> @@ -4026,9 +4026,9 @@ fixed(byte* ptr = arg) The following C# code example shows how to define a method overload that calls . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/program.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.eventsource.writeeventwithid/vb/module1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Diagnostics.Tracing/EventSource/WriteEventWithRelatedActivityId/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/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/DebuggerBrowsableAttribute.xml b/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml index 585fc2356c7..06445341e78 100644 --- a/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml +++ b/xml/System.Diagnostics/DebuggerBrowsableAttribute.xml @@ -144,7 +144,7 @@ The following code example shows the use of a attribute to instruct the debugger to not display the root (property name) of the `Keys` property, but to display the elements of the array that `Keys` gets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerBrowsableState.xml b/xml/System.Diagnostics/DebuggerBrowsableState.xml index 43300c598b6..5b62e60b3dc 100644 --- a/xml/System.Diagnostics/DebuggerBrowsableState.xml +++ b/xml/System.Diagnostics/DebuggerBrowsableState.xml @@ -71,7 +71,7 @@ The following code example shows the use of the enumeration to instruct the debugger to not display the root (property name) of the `Keys` property, but to display the elements of the array that `Keys` gets. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerDisplayAttribute.xml b/xml/System.Diagnostics/DebuggerDisplayAttribute.xml index abffb2f1703..7c04eebebfc 100644 --- a/xml/System.Diagnostics/DebuggerDisplayAttribute.xml +++ b/xml/System.Diagnostics/DebuggerDisplayAttribute.xml @@ -90,7 +90,7 @@ class MyHashtable View the following example in Visual Studio to see the results of applying the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet1"::: ]]> @@ -159,7 +159,7 @@ class MyTable The following code example causes the value of the property from the inherited class to be displayed when the plus sign (+) is selected to expand the debugger display for an instance of `MyHashtable`. You must run the complete example, which is provided in the class, to see the results. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet4"::: ]]> @@ -220,7 +220,7 @@ The value can contain curly braces ({ and }). Text within a pair of braces is ev The following code example causes the name and value of each key to be displayed in the debugger variable windows. When the attribute is not applied, the index and value type are displayed (for example: "[0] {KeyValuePairs}"). When the attribute is applied, the name of the key and its value are displayed (for example, if the first key is "one" and its value is 1, the display is: "one 1"). This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml b/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml index 27a06033dd9..acd116b93b1 100644 --- a/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml +++ b/xml/System.Diagnostics/DebuggerTypeProxyAttribute.xml @@ -86,7 +86,7 @@ The following code example shows the use of the to specify a private nested type to be used as a debugger display proxy. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet5"::: ]]> @@ -224,7 +224,7 @@ The following code example shows the use of the constructor to specify a debugger display proxy. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DebuggerBrowsableAttribute/VB/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DebuggerBrowsableAttribute/.ctor/module1.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Diagnostics/DefaultTraceListener.xml b/xml/System.Diagnostics/DefaultTraceListener.xml index 339dc0a1cfc..c172d3b71d8 100644 --- a/xml/System.Diagnostics/DefaultTraceListener.xml +++ b/xml/System.Diagnostics/DefaultTraceListener.xml @@ -96,7 +96,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The , , and methods cause trace information to be written only to the . To write trace information to all listeners in the collection, use the , , and methods of the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet11"::: ]]> @@ -150,7 +150,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example removes the provided by the application from the collection and then creates a new and adds it to the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet3"::: ]]> @@ -208,7 +208,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example calls a function that calls the method to log an error message if the function throws an exception. If the property is `false`, the method also writes the error message to the console. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet8"::: ]]> @@ -279,7 +279,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example writes an error message to a using the method. The method also writes the message to the console if a user interface is not available. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet6"::: ]]> @@ -348,7 +348,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example calls a function that calls the method to log a detailed error message if the function throws an exception. The method writes the message to the console if a user interface is not available. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet8"::: ]]> @@ -406,7 +406,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example creates a new , adds it to the collection, and sets the property to the log file specified in the command-line arguments. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Overview/binomial.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener/VB/binomial.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Overview/binomial.vb" id="Snippet4"::: ]]> @@ -473,7 +473,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example formats the results of a function and uses the method to write the first part of the message to a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb" id="Snippet4"::: ]]> @@ -550,7 +550,7 @@ For .NET Framework apps, you can add a trace listener by editing the configurati The following code example formats the results of a function and uses the method to write the last part of the message to a . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.DefaultTraceListener.WriteLine/VB/defaulttracelistener.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/DefaultTraceListener/Write/defaulttracelistener.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/EventSchemaTraceListener.xml b/xml/System.Diagnostics/EventSchemaTraceListener.xml index 3eb87370d79..1f8b64c3471 100644 --- a/xml/System.Diagnostics/EventSchemaTraceListener.xml +++ b/xml/System.Diagnostics/EventSchemaTraceListener.xml @@ -102,7 +102,7 @@ You can create an object in y The following code example demonstrates how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet2"::: ]]> @@ -235,7 +235,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet3"::: ]]> @@ -278,7 +278,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet4"::: ]]> @@ -327,7 +327,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/.ctor/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener.Ctors/VB/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/.ctor/program.vb" id="Snippet5"::: ]]> @@ -381,7 +381,7 @@ You can create an object in y The following code example demonstrates how to use the constructor. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet2"::: ]]> @@ -433,7 +433,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet5"::: ]]> @@ -572,7 +572,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet4"::: ]]> @@ -619,7 +619,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet6"::: ]]> @@ -666,7 +666,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet7"::: ]]> @@ -928,7 +928,7 @@ You can create an object in y The following code example demonstrates how to display the value of the property. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Diagnostics/InstanceData.xml b/xml/System.Diagnostics/InstanceData.xml index 208c658b11c..bd429dc2a6a 100644 --- a/xml/System.Diagnostics/InstanceData.xml +++ b/xml/System.Diagnostics/InstanceData.xml @@ -39,7 +39,7 @@ The following code example displays the contents of the objects that exist in a particular on the local computer. It first displays a numbered list of categories. After the user enters the number of one of the categories, the sample displays, for each in the , the instance data associated with each instance of the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet1"::: ]]> @@ -91,7 +91,7 @@ The following code example creates an and displays the values of some of its fields. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -141,7 +141,7 @@ The following code example creates an and displays the value of its property and other properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -185,7 +185,7 @@ The following code example creates an and displays the value of its property and other properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> @@ -235,7 +235,7 @@ The following code example creates an and gets the value of its property, which is a reference to a . The example then displays the fields of the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollection.xml b/xml/System.Diagnostics/InstanceDataCollection.xml index c11745ce253..f37832a6e2f 100644 --- a/xml/System.Diagnostics/InstanceDataCollection.xml +++ b/xml/System.Diagnostics/InstanceDataCollection.xml @@ -44,7 +44,7 @@ The following code example displays the instance data for a particular on the local computer. It first displays a numbered list of names. After the user enters the number of one of the categories, the example gets the for that . It then converts the collection returned by to an array of objects. The example also displays the instance data associated with each of each . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following code example accepts a category name, counter name, and instance name from the command line. It gets the for the category, which is a collection of objects. From that it gets the particular for the specified counter. It then uses the method to determine if the specified instance exists, using the default single-instance name if none is entered. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollection.ItemContains/VB/instdatacolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Contains/instdatacolitemcontains.vb" id="Snippet2"::: ]]> @@ -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/Overview/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/Overview/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/Contains/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/InstanceDataCollection/Overview/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/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Diagnostics/InstanceDataCollectionCollection.xml b/xml/System.Diagnostics/InstanceDataCollectionCollection.xml index b17712a1f19..9360fea985b 100644 --- a/xml/System.Diagnostics/InstanceDataCollectionCollection.xml +++ b/xml/System.Diagnostics/InstanceDataCollectionCollection.xml @@ -44,7 +44,7 @@ The following code example displays the instance data for a particular on the local computer. It first displays a numbered list of names. After the user enters the number of one of the categories, the example gets the for that . It then converts the collection returned by the property to an array of objects. The example displays the instance data associated with each of each . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.KeysValues/VB/instdatakeysvalues.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet1"::: ]]> @@ -151,7 +151,7 @@ The following code example accepts a category name and counter name from the command line. It gets the for the and then uses the method to determine if the specified counter exists. If the counter exists, the example gets the associated and displays the instance names from the collection. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitermcontains.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceDataCollectionCollection.ItemContains/VB/instdatacolcolitemcontains.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceDataCollectionCollection/Contains/instdatacolcolitemcontains.vb" id="Snippet2"::: ]]> @@ -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/Overview/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/Contains/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/InstanceDataCollection/Overview/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/InstanceDataCollection/Overview/instdatakeysvalues.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/PerformanceCounterCategory.xml b/xml/System.Diagnostics/PerformanceCounterCategory.xml index 5ce488d353d..ad4a93ff138 100644 --- a/xml/System.Diagnostics/PerformanceCounterCategory.xml +++ b/xml/System.Diagnostics/PerformanceCounterCategory.xml @@ -69,7 +69,7 @@ If requested, the example now creates the new and using the method. If an instance name is specified, the example uses the method and displays the result. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.Class/VB/perfcountercatcreateexist.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Overview/perfcountercatcreateexist.vb" id="Snippet27"::: ]]> @@ -126,7 +126,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -179,7 +179,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload that is appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -230,7 +230,7 @@ The following code example accepts a name and a computer name from the command line. It creates a using the constructor overload that is appropriate for the number of parameters provided, then displays its properties. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatctor.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatctor.vb" id="Snippet4"::: ]]> @@ -283,7 +283,7 @@ The following code example creates a with the . It prompts the user for the and computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -339,7 +339,7 @@ The following code example creates a with the . It prompts the user for the and computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -455,7 +455,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It creates a object using the appropriate . It then uses the method to determine whether the specified exists, and informs the user. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjexists.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjcountexists.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjcountexists.vb" id="Snippet4"::: ]]> @@ -529,7 +529,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It uses the static overloads of the method to determine whether the specified name exists in the . The overload is selected based on whether a computer name is provided. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcounterexists.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb" id="Snippet8"::: ]]> @@ -603,7 +603,7 @@ The following code example determines whether a exists. It gets a category name, counter name, and computer name from the command line, if they are given. It uses the static overloads of the method to determine whether the specified name exists in the . The overload is selected based on whether a computer name is provided. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcounterexists.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatcountexists.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatcountexists.vb" id="Snippet8"::: ]]> @@ -792,7 +792,7 @@ The following code example shows the use of the method. The example shows how to create a custom, multi-instance performance counter category for the number of orders per second. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb" id="Snippet2"::: ]]> @@ -895,7 +895,7 @@ The following code example creates a and single with help text for each, using the method. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatcreate.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatcreate.vb" id="Snippet2"::: ]]> @@ -990,7 +990,7 @@ The following code example shows the use of the method. The example shows how to create a custom, single instance performance counter category. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/Create/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategoryType/VB/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/Create/program.vb" id="Snippet3"::: ]]> @@ -1072,7 +1072,7 @@ The following code example uses the method to delete a and the objects that it contains. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatDelete.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatdelete.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatdelete.vb" id="Snippet6"::: ]]> @@ -1309,7 +1309,7 @@ The following code example uses the method to return an array of objects from the local computer or a specified computer. It converts the array into an array of category names, which it sorts and displays for the user. The overload is selected based on whether a computer name was specified. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountergetcat.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb" id="Snippet2"::: ]]> @@ -1372,7 +1372,7 @@ The following code example uses the method to return an array of objects from the local computer or a specified computer. It converts the array into an array of category names, which it sorts and displays for the user. The overload is selected based on whether a computer name was specified. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountergetcat.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcat.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcat.vb" id="Snippet2"::: ]]> @@ -1444,7 +1444,7 @@ This overload fails unless it is used with a single-instance category. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb" id="Snippet4"::: ]]> @@ -1513,7 +1513,7 @@ This overload fails unless it is used with a category that contains instances. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetcount.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetcount.vb" id="Snippet4"::: ]]> @@ -1578,7 +1578,7 @@ The following code example gets a list of the objects in a . It first creates a object, using the appropriate constructor based on whether a computer name was specified. It then uses to return the instance names as an array of , which it sorts and displays. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.GetMembers/VB/perfcountercatgetinst.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/GetCategories/perfcountercatgetinst.vb" id="Snippet6"::: ]]> @@ -1658,7 +1658,7 @@ The following code example determines whether a instance exists within a . It first creates a object, using the appropriate constructor based on whether a computer name was specified. It then uses to determine whether the specified instance exists, then informs the user. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcounterobjinstexists.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatobjinstexists.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatobjinstexists.vb" id="Snippet2"::: ]]> @@ -1736,7 +1736,7 @@ The following code example uses the static overloads of to determine whether the given instance exists in the . The overload is selected based on whether a computer name is specified. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb" id="Snippet10"::: ]]> @@ -1815,7 +1815,7 @@ The following code example uses the static overloads of to determine whether the given instance exists in the . The overload is selected based on whether a computer name is specified. If no instance name is specified, the example uses the default single-instance name. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.ExistMembers/VB/perfcountercatstatinstexists.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/CounterExists/perfcountercatstatinstexists.vb" id="Snippet10"::: ]]> @@ -1881,7 +1881,7 @@ The following code example creates a with the constructor. It prompts the user for the and the computer names, then sets the and properties from the entered values. It then displays the values of the , , and properties, or it displays an error message if the cannot be accessed. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/PerformanceCounterCategory/.ctor/perfCounterCatProps.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.PerformanceCounterCategory.OtherMembers/VB/perfcountercatprops.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/PerformanceCounterCategory/.ctor/perfcountercatprops.vb" id="Snippet8"::: ]]> @@ -1943,7 +1943,7 @@ The following code example creates a for a specified name. It then uses to return an that contains instance data for all the instances of the objects within the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/InstanceData/Overview/instdatacopyto.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.InstanceData.CopyTo/VB/instdatacopyto.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/InstanceData/Overview/instdatacopyto.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Diagnostics/Process.xml b/xml/System.Diagnostics/Process.xml index 248185ee78e..b4a61d9f968 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/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/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/SourceFilter.xml b/xml/System.Diagnostics/SourceFilter.xml index 5ac579e32b5..92ea1a5bcbf 100644 --- a/xml/System.Diagnostics/SourceFilter.xml +++ b/xml/System.Diagnostics/SourceFilter.xml @@ -116,7 +116,7 @@ The following code example calls the method using two different source filters, one with a fictitious name, the other with the name of the current trace source. In the first case, the trace is not written to the console; in the second case, the trace is written. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet28"::: ]]> diff --git a/xml/System.Diagnostics/SourceSwitch.xml b/xml/System.Diagnostics/SourceSwitch.xml index 75c2f3bf1bb..ff06a4b49e7 100644 --- a/xml/System.Diagnostics/SourceSwitch.xml +++ b/xml/System.Diagnostics/SourceSwitch.xml @@ -206,7 +206,7 @@ To set the level of your in a .NET Framew The following code example creates a with the name "SourceSwitch" and a default value of . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet7"::: ]]> @@ -265,7 +265,7 @@ To set the level of your in a .NET Framew The following code example displays the value of the property for a source switch. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Diagnostics/Stopwatch.xml b/xml/System.Diagnostics/Stopwatch.xml index c66defde220..e6fbf5cd1d6 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/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/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/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/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/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Diagnostics/Switch.xml b/xml/System.Diagnostics/Switch.xml index efddcaeb378..55e2c4eaca2 100644 --- a/xml/System.Diagnostics/Switch.xml +++ b/xml/System.Diagnostics/Switch.xml @@ -325,7 +325,7 @@ The following code sample shows how to display the unrecognized attributes for a custom switch. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet15"::: ]]> @@ -469,7 +469,7 @@ The following code example displays the display name for the switch in use by a trace source. This code example is part of a larger example that can be found in the class summary. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet10"::: ]]> @@ -541,7 +541,7 @@ The following code sample shows an override of the method for a custom switch. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Diagnostics/SwitchAttribute.xml b/xml/System.Diagnostics/SwitchAttribute.xml index 0b27f8a42e9..29425c7b7bf 100644 --- a/xml/System.Diagnostics/SwitchAttribute.xml +++ b/xml/System.Diagnostics/SwitchAttribute.xml @@ -66,7 +66,7 @@ The following example shows how to use the attribute to identify the switch used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -123,7 +123,7 @@ The following code example shows the use of the constructor to create a switch attribute. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet2"::: ]]> @@ -183,7 +183,7 @@ The following code example shows the use of the method to identify the switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> @@ -308,7 +308,7 @@ The following code example displays the value the property for all switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> @@ -368,7 +368,7 @@ The following code example displays the value of the property for all switches used in an assembly. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Diagnostics/SwitchLevelAttribute.xml b/xml/System.Diagnostics/SwitchLevelAttribute.xml index 383df5ab85b..d56a105c2f3 100644 --- a/xml/System.Diagnostics/SwitchLevelAttribute.xml +++ b/xml/System.Diagnostics/SwitchLevelAttribute.xml @@ -164,7 +164,7 @@ The following code example displays the value of the property for the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Diagnostics/TextWriterTraceListener.xml b/xml/System.Diagnostics/TextWriterTraceListener.xml index 495dfd0b8e2..f5837ef89cf 100644 --- a/xml/System.Diagnostics/TextWriterTraceListener.xml +++ b/xml/System.Diagnostics/TextWriterTraceListener.xml @@ -236,7 +236,7 @@ The following code example creates a using the constructor and adds it to the . The example then writes two messages to this , and writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstream.vb" id="Snippet1"::: ]]> @@ -376,7 +376,7 @@ The following code example creates a using the constructor, then adds it to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstring.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstring.vb" id="Snippet3"::: ]]> @@ -453,7 +453,7 @@ The following code example creates a using the constructor and adds it to the . The example then writes two messages to this and writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstreamname.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstreamname.vb" id="Snippet2"::: ]]> @@ -525,7 +525,7 @@ The following code example creates a using the constructor. The example creates a , then references the when it creates the , which it then adds to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconwritername.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconwritername.vb" id="Snippet5"::: ]]> @@ -600,7 +600,7 @@ The following code example creates a using the constructor, then adds it to the . The example writes two messages to this , then writes a message to all objects in the . Finally, it flushes and closes the . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TextWriterTraceListener.Ctor/VB/twtlconstringname.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TextWriterTraceListener/.ctor/twtlconstringname.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Diagnostics/TraceFilter.xml b/xml/System.Diagnostics/TraceFilter.xml index b3679294cc9..f5cbb8d4ca7 100644 --- a/xml/System.Diagnostics/TraceFilter.xml +++ b/xml/System.Diagnostics/TraceFilter.xml @@ -177,7 +177,7 @@ The following code example shows how to override the method to indicate tracing should occur when the trace event type of the event is equal to . :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TraceFilter/ShouldTrace/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.diagnostics.tracefilter/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TraceFilter/ShouldTrace/source.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Diagnostics/TraceListener.xml b/xml/System.Diagnostics/TraceListener.xml index a99c4ed2bb6..cdd2d03188c 100644 --- a/xml/System.Diagnostics/TraceListener.xml +++ b/xml/System.Diagnostics/TraceListener.xml @@ -672,7 +672,7 @@ The following code example shows how to use the property to add a source filter to a console trace listener. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet28"::: ]]> @@ -795,7 +795,7 @@ The following code sample shows an override of the method for a custom trace listener. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/TraceListener/GetSupportedAttributes/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceListener.CustomAttributes/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/TraceListener/GetSupportedAttributes/program.vb" id="Snippet1"::: ]]> @@ -1641,7 +1641,7 @@ The following example shows the setting of the property for a console trace listener. The console trace listener is one of the listeners enumerated in the property of a trace source. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Diagnostics/TraceOptions.xml b/xml/System.Diagnostics/TraceOptions.xml index bce6a6108c1..82c40a5a417 100644 --- a/xml/System.Diagnostics/TraceOptions.xml +++ b/xml/System.Diagnostics/TraceOptions.xml @@ -84,7 +84,7 @@ The following code example shows the use of the enumeration to programmatically set the property for a console trace listener. The console trace listener is one of the listeners enumerated in the property of a trace source. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet16"::: ]]> diff --git a/xml/System.Diagnostics/TraceSource.xml b/xml/System.Diagnostics/TraceSource.xml index 8345d671c10..984b77ed78b 100644 --- a/xml/System.Diagnostics/TraceSource.xml +++ b/xml/System.Diagnostics/TraceSource.xml @@ -126,7 +126,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows the use of the class to forward traces to listeners. The example also demonstrates switch and filter usage. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet1"::: ]]> @@ -203,7 +203,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows the use of the constructor to create a new object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet9"::: ]]> @@ -330,7 +330,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code sample shows how to display the custom attributes for a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet14"::: ]]> @@ -386,7 +386,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows how you can use the method to close all the listeners in the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet33"::: ]]> @@ -469,7 +469,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows how you can use the method to flush all the listeners in the collection. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet33"::: ]]> @@ -537,7 +537,7 @@ The preceding .NET Framework app configuration file example demonstrates removin The following code example shows an override of the method to identify the custom attributes for the `MyTraceSource` class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SourceFilter/.ctor/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource/VB/program.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SourceFilter/.ctor/program.vb" id="Snippet33"::: ]]> @@ -693,7 +693,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code sample shows how to name a trace source in the constructor call. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet9"::: ]]> @@ -830,7 +830,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to filter and forward a trace message to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet28"::: ]]> @@ -990,7 +990,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet17"::: ]]> @@ -1068,7 +1068,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet18"::: ]]> @@ -1165,7 +1165,7 @@ You can refer to the trace source by using the `name` attribute in the configura The following code example shows the use of the method to pass a trace event to the listeners. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/SwitchAttribute/Overview/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.TraceSource2/VB/program.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/SwitchAttribute/Overview/program.vb" id="Snippet24"::: ]]> diff --git a/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml b/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml index bbe39d649e1..8e7ba0157d1 100644 --- a/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml +++ b/xml/System.Diagnostics/UnescapedXmlDiagnosticData.xml @@ -31,7 +31,7 @@ The following code example demonstrates how to use class. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet11"::: ]]> @@ -71,7 +71,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example that is provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/EventSchemaTraceListener/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.EventSchemaTraceListener/vb/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/EventSchemaTraceListener/Overview/program.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Diagnostics/XmlWriterTraceListener.xml b/xml/System.Diagnostics/XmlWriterTraceListener.xml index 091a171c261..a1828847a5c 100644 --- a/xml/System.Diagnostics/XmlWriterTraceListener.xml +++ b/xml/System.Diagnostics/XmlWriterTraceListener.xml @@ -107,7 +107,7 @@ You can create an in your code. The following code example shows the use of the class to write both escaped and non-escaped data to file logs. :::code language="csharp" source="~/snippets/csharp/System.Diagnostics/XmlWriterTraceListener/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Diagnostics.XmlWriterTraceListener/VB/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Diagnostics/XmlWriterTraceListener/Overview/module1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.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..deab0820050 100644 --- a/xml/System.Globalization/Calendar.xml +++ b/xml/System.Globalization/Calendar.xml @@ -140,7 +140,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -210,7 +210,7 @@ The following example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -279,7 +279,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet1"::: @@ -287,7 +287,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -364,7 +364,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet2"::: @@ -372,7 +372,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet3"::: @@ -457,7 +457,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -534,7 +534,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet4"::: @@ -542,7 +542,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -623,7 +623,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -631,7 +631,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet6"::: @@ -716,7 +716,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet7"::: @@ -803,7 +803,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -884,7 +884,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -892,7 +892,7 @@ The following code example demonstrates the members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -962,7 +962,7 @@ The following example uses reflection to instantiate each type found in .NET and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -1193,7 +1193,7 @@ The and when the Heisei era (1989-2019) was the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb" id="Snippet1"::: ]]> @@ -1254,7 +1254,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1330,7 +1330,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1407,7 +1407,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1495,7 +1495,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -1658,7 +1658,7 @@ The and class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -1799,7 +1799,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -1872,7 +1872,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2085,7 +2085,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2156,7 +2156,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2232,7 +2232,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2318,7 +2318,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -2454,7 +2454,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2540,7 +2540,7 @@ Only the and the object to determine that January 1, 2011 is in the first week of the year in the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/getweekofyearex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/getweekofyearex1.vb" id="Snippet2"::: For some calendars, a call to the method throws an for particular combinations of `rule` and `firstDayOfWeek` values even if `time` is greater than the date returned by that calendar's property. The following table lists the affected calendars, the specific `rule` values, and the range of the earliest supported `time` values. The specific minimum value depends on the value of the `firstDayOfWeek` parameter. @@ -2572,7 +2572,7 @@ Only the and the varies depending on the and the used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -2655,7 +2655,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Overview/calendar.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar/VB/calendar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Overview/calendar.vb" id="Snippet1"::: ]]> @@ -2748,7 +2748,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -2931,7 +2931,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> @@ -3098,7 +3098,7 @@ Only the and the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar_Compare/VB/calendar_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetDaysInMonth/calendar_compare.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CalendarWeekRule.xml b/xml/System.Globalization/CalendarWeekRule.xml index 9c45be4ff7c..989158c0125 100644 --- a/xml/System.Globalization/CalendarWeekRule.xml +++ b/xml/System.Globalization/CalendarWeekRule.xml @@ -114,7 +114,7 @@ The following example illustrates how the and values are used together to determine how weeks are assigned. In the Gregorian calendar, the first day of the year (January 1) in 2013 falls on a Tuesday. If the designated first day of the week is Sunday, the first Sunday (January 6) is the first day of the first week of the year, and Saturday (January 5) belongs to the fifty-third week of the previous year. Changing the calendar week rule to `FirstFourDayWeek` defines Tuesday (January 1) as the beginning of the first week of the year, because there are more than four days between Tuesday, January 1, and Sunday, January 6. Using this rule, January 5 belongs to the first week of the year. For 2010, a year in which January 1 falls on a Friday, applying the `FirstFourDayWeek` rule with as the first day of the week makes Sunday, January 3 the beginning of the first week of the year, because the first week in 2010 that has more than four days is January 3 through 9. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendarweekrule/vb/calendarweekruleex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CalendarWeekRule/Overview/calendarweekruleex.vb" id="Snippet1"::: > [!NOTE] > This does not map exactly to ISO 8601. The differences are discussed in the blog entry [ISO 8601 Week of Year format in Microsoft .NET](https://go.microsoft.com/fwlink/?LinkId=160851). Starting with .NET Core 3.0, and solve this problem. diff --git a/xml/System.Globalization/CharUnicodeInfo.xml b/xml/System.Globalization/CharUnicodeInfo.xml index d44e12d95d4..4192a29c8ce 100644 --- a/xml/System.Globalization/CharUnicodeInfo.xml +++ b/xml/System.Globalization/CharUnicodeInfo.xml @@ -103,7 +103,7 @@ When using this class in your applications, keep in mind the following programmi The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -268,7 +268,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -420,7 +420,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ Each version of the Unicode standard includes information on changes to the Unic The method assumes that `ch` corresponds to a single linguistic character and checks whether that character can be converted to a decimal digit. However, some numbers in the Unicode standard are represented by two objects that form a surrogate pair. For example, the Aegean numbering system consists of code points U+10107 through U+10133. The following example uses the method to instantiate a string that represents AEGEAN NUMBER ONE. As the output from the example shows, the method returns -1 if it is passed either a high surrogate or a low surrogate of this character. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb" id="Snippet2"::: @@ -513,7 +513,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ Each version of the Unicode standard includes information on changes to the Unic If the object at position `index` is the first character of a valid surrogate pair, the method determines whether the surrogate pair forms a numeric digit, and, if it does, returns its numeric value. For example, the Aegean numbering system consists of code points U+10107 through U+10133. The following example uses the method to instantiate a string that represents each Aegean number. As the output from the example shows, the method returns the correct numeric value if it is passed the high surrogate of an Aegean number. However, if it is passed the low surrogate, it considers only the low surrogate in isolation and returns -1. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getnumericvalue/vb/getnumericvalue1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetNumericValue/getnumericvalue1.vb" id="Snippet3"::: @@ -594,7 +594,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> @@ -675,7 +675,7 @@ Each version of the Unicode standard includes information on changes to the Unic The method assumes that `ch` corresponds to a single linguistic character and returns its category. This means that, for surrogate pairs, it returns instead of the category to which the surrogate belongs. For example, the Ugaritic alphabet occupies code points U+10380 to U+1039F. The following example uses the method to instantiate a string that represents UGARITIC LETTER ALPA (U+10380), which is the first letter of the Ugaritic alphabet. As the output from the example shows, the method returns `false` if it is passed either the high surrogate or the low surrogate of this character. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb" id="Snippet1"::: Note that does not always return the same value as the method when passed a particular character as a parameter. The method is designed to reflect the current version of the Unicode standard. In contrast, although the method usually reflects the current version of the Unicode standard, it might return a character's category based on a previous version of the standard, or it might return a category that differs from the current standard to preserve backward compatibility. @@ -685,7 +685,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/Overview/charunicodeinfo_char.vb" id="Snippet1"::: ]]> @@ -797,7 +797,7 @@ Each version of the Unicode standard includes information on changes to the Unic If the object at position `index` is the first character of a valid surrogate pair, the method returns the Unicode category of the surrogate pair instead of returning . For example, the Ugaritic alphabet occupies code points U+10380 to U+1039F. The following example uses the method to instantiate a string that represents UGARITIC LETTER ALPA (U+10380), which is the first letter of the Ugaritic alphabet. As the output from the example shows, the method returns if it is passed the high surrogate of this character, which indicates that it considers the surrogate pair. However, if it is passed the low surrogate, it considers only the low surrogate in isolation and returns . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.charunicodeinfo.getunicodecategory/vb/getunicodecategory1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetUnicodeCategory/getunicodecategory1.vb" id="Snippet2"::: Note that method does not always return the same value as the method when passed a particular character as a parameter. The method is designed to reflect the current version of the Unicode standard. In contrast, although the method usually reflects the current version of the Unicode standard, it might return a character's category based on a previous version of the standard, or it might return a category that differs from the current standard to preserve backward compatibility. @@ -807,7 +807,7 @@ Each version of the Unicode standard includes information on changes to the Unic The following code example shows the values returned by each method for different types of characters. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CharUnicodeInfo/GetDecimalDigitValue/charunicodeinfo_string.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CompareInfo.xml b/xml/System.Globalization/CompareInfo.xml index c4bafbcadb2..dd9b805ba90 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/Compare/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/Compare/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/Compare/comparestrintstrint.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ The following example compares portions of two strings using different settings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntStrIntOpt/VB/comparestrintstrintopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintstrintopt.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntInt/VB/comparestrintintstrintint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintint.vb" id="Snippet1"::: ]]> @@ -847,7 +847,7 @@ The following example compares portions of two strings using different settings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrIntIntStrIntIntOpt/VB/comparestrintintstrintintopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrintintstrintintopt.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb" id="Snippet1"::: ]]> @@ -1088,7 +1088,7 @@ - object associated with the :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/Compare/comparestrstr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.CompareStrStr/VB/comparestrstr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/Compare/comparestrstr.vb" id="Snippet1"::: ]]> @@ -1751,7 +1751,7 @@ Use @@ -1761,7 +1761,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find the soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 0 (zero) to indicate that it has found a match at the beginning of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable2.vb" id="Snippet3"::: @@ -1838,7 +1838,7 @@ Use @@ -1852,7 +1852,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. In each case, because the soft hyphen is an ignorable character, the result is the same as if the soft hyphen had not been included in . When searching for a soft hyphen only, the method returns 0 (zero) to indicate that it has found a match at the beginning of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable1.vb" id="Snippet2"::: @@ -2020,7 +2020,7 @@ Use @@ -2032,7 +2032,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to search for a soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 0 (zero) to indicate that it has found a match at the beginning of the string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable3.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable3.vb" id="Snippet4"::: @@ -2109,7 +2109,7 @@ Use and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2121,7 +2121,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 1 to indicate that it has found a match at the position of the "n". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable4.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable4.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable4.vb" id="Snippet5"::: @@ -2201,7 +2201,7 @@ Use @@ -2217,7 +2217,7 @@ Use Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search (that is, if is not or ), if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns 0 (zero) to indicate that the match is found at the beginning of . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. Because the soft hyphen is an ignorable character, a culture-sensitive search returns the same value that it would return if the soft hyphen were not included in the search string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable5.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable5.vb" id="Snippet6"::: @@ -2294,7 +2294,7 @@ Use and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2312,7 +2312,7 @@ Use method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable13.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable13.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable13.vb" id="Snippet14"::: @@ -2449,7 +2449,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2463,7 +2463,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , the character position at which the search first began. In the following example, the method is used to find the soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 1 to indicate that it has found a match at the position of the "n". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable7.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable7.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable7.vb" id="Snippet8"::: @@ -2544,7 +2544,7 @@ This method has greater overhead than other @@ -2564,7 +2564,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search first began. In the following example, the method is used to find a soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns 1 to indicate that it has found a match at the position of the "n". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable8.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable8.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable8.vb" id="Snippet9"::: @@ -2646,7 +2646,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -2666,7 +2666,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting with the third character position in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable14.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable14.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable14.vb" id="Snippet15"::: @@ -2747,7 +2747,7 @@ This method has greater overhead than other @@ -2773,7 +2773,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting in the third through sixth character positions in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable16.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable16.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable16.vb" id="Snippet17"::: @@ -2863,7 +2863,7 @@ This method has greater overhead than other @@ -2885,7 +2885,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search first began. In the following example, the method is used to find the soft hyphen (U+00AD) after an "n" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns 1 to indicate that it has found a match at the position of the "n". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable11.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable11.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable11.vb" id="Snippet12"::: @@ -2976,7 +2976,7 @@ This method has greater overhead than other @@ -3004,7 +3004,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" starting in the third through sixth character positions in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. When it performs an ordinal comparison, however, it finds the substring only in the first string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m" when it performs a culture-sensitive comparison. The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/ignorable15.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOf/VB/ignorable15.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/ignorable15.vb" id="Snippet16"::: @@ -3090,7 +3090,7 @@ This method has greater overhead than other @@ -3228,7 +3228,7 @@ This method has greater overhead than other . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb" id="Snippet1"::: ]]> @@ -3598,7 +3598,7 @@ This method has greater overhead than other @@ -3736,7 +3736,7 @@ This method has greater overhead than other . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IsPrefixSuffixOpt/VB/isprefixsuffixopt.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IsPrefix/isprefixsuffixopt.vb" id="Snippet1"::: ]]> @@ -3889,7 +3889,7 @@ This method has greater overhead than other @@ -3899,7 +3899,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns the last index position in to indicate that the match is found at the end of . In the following example, the method is used to find the soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the last index position in the string to indicate that it has found a match at the end of the string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable2.vb" id="Snippet3"::: @@ -3981,7 +3981,7 @@ This method has greater overhead than other @@ -3995,7 +3995,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns . - 1, which represents the last index position in . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. In each case, because the soft hyphen is an ignorable character, the result is the same as if the soft hyphen had not been included in . When searching for a soft hyphen only, the method returns 6 and 5. These values correspond to the index of the last character in the two strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable1.vb" id="Snippet2"::: @@ -4163,7 +4163,7 @@ This method has greater overhead than other @@ -4175,7 +4175,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns the last character position in to indicate that the match is found at the end of . In the following example, the method is used to search for a soft hyphen (U+00AD) in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the last index position in the source string. In contrast, an ordinal search successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable3.vb" id="Snippet4"::: @@ -4252,7 +4252,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4264,7 +4264,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the index position of the "m", which is the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable4.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable4.vb" id="Snippet5"::: @@ -4350,7 +4350,7 @@ This method has greater overhead than other @@ -4366,7 +4366,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search (that is, if is not or ), if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns . - 1, which represents the last index position in . In the following example, the method is used to find three substrings (a soft hyphen (U+00AD), a soft hyphen followed by "n", and a soft hyphen followed by "m") in two strings. Only one of the strings contains a soft hyphen. Because the soft hyphen is an ignorable character, a culture-sensitive search returns the same value that it would return if the soft hyphen were not included in the search string. An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable5.vb" id="Snippet6"::: @@ -4443,7 +4443,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4459,7 +4459,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if contains an ignorable character, the result is equivalent to searching with that character removed. If consists only of one or more ignorable characters, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a substring that includes a soft hyphen (U+00AD) and that precedes or includes the final "m" in a string. Because the soft hyphen in the search string is ignored, calling the method to find a substring that consists of the soft hyphen and "m" returns the position of the "m" in the string, whereas calling it to find a substring that consists of the soft hyphen and "n" returns the position of the "n". When the search string contains only the soft hyphen, the method returns the index of the "m", which represents the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable6.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable6.vb" id="Snippet7"::: @@ -4596,7 +4596,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4610,7 +4610,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the index position of the "m". An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable7.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable7.vb" id="Snippet8"::: @@ -4691,7 +4691,7 @@ This method has greater overhead than other @@ -4711,7 +4711,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, the method returns the index position of the "m", which is the value of . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable8.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable8.vb" id="Snippet9"::: @@ -4793,7 +4793,7 @@ This method has greater overhead than other and are searching in different portions of the string, even with the same `startIndex` parameter. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/IndexOf/indexofint.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareInfo.IndexOfInt/VB/indexofint.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/IndexOf/indexofint.vb" id="Snippet1"::: ]]> @@ -4813,7 +4813,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m", starting with the final "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable14.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable14.vb" id="Snippet15"::: @@ -4894,7 +4894,7 @@ This method has greater overhead than other @@ -4920,7 +4920,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in the three characters that precede the final "m" of two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m". :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable16.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable16.vb" id="Snippet17"::: @@ -5010,7 +5010,7 @@ This method has greater overhead than other @@ -5032,7 +5032,7 @@ This method has greater overhead than other Character sets include ignorable characters, which are characters that are not considered when performing a linguistic or culture-sensitive sort. In a culture-sensitive search, if is an ignorable character, the result is equivalent to searching with that character removed. In this case, the method always returns , which is the character position at which the search begins. In the following example, the method is used to find a soft hyphen (U+00AD) that precedes the final "m" in two strings. Only one of the strings contains a soft hyphen. In both cases, because the soft hyphen is an ignorable character, a culture-sensitive search returns the index position of the "m", which is the value of . An ordinal search, however, successfully finds the soft hyphen in one string and reports that it is absent from the second string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable11.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable11.vb" id="Snippet12"::: @@ -5123,7 +5123,7 @@ This method has greater overhead than other @@ -5150,7 +5150,7 @@ This method has greater overhead than other method is used to find the position of a soft hyphen (U+00AD) followed by an "m" in all but the first character position before the final "m" in two strings. Only one of the strings contains the required substring. In both cases, because the soft hyphen is an ignorable character, the method returns the index of "m" in the string when it performs a culture-sensitive comparison. When it performs an ordinal comparison, however, it finds the substring only in the first string. Note that in the case of the first string, which includes the soft hyphen followed by an "m", the method fails to return the index of the soft hyphen but instead returns the index of the "m" when it performs a culture-sensitive comparison. The method returns the index of the soft hyphen in the first string only when it performs an ordinal comparison. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.compareinfo.lastindexof/vb/lastignorable15.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareInfo/LastIndexOf/lastignorable15.vb" id="Snippet16"::: diff --git a/xml/System.Globalization/CompareOptions.xml b/xml/System.Globalization/CompareOptions.xml index 795f416e9be..3e1d9dd3ae5 100644 --- a/xml/System.Globalization/CompareOptions.xml +++ b/xml/System.Globalization/CompareOptions.xml @@ -92,13 +92,13 @@ The following code example shows how each of the CompareOptions values affect st :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareOptions/Overview/compareoptions_values.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/System.Globalization/compareoptions_values.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.Values/VB/compareoptions_values.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_values.vb"::: The following code example shows how sorting with StringSort differs from sorting without StringSort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/System.Globalization/compareoptions_stringsort.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CompareOptions.StringSort/VB/compareoptions_stringsort.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/CompareOptions/Overview/compareoptions_stringsort.vb"::: ]]> diff --git a/xml/System.Globalization/CultureAndRegionInfoBuilder.xml b/xml/System.Globalization/CultureAndRegionInfoBuilder.xml index f011368654d..963977be8f6 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"::: ]]> diff --git a/xml/System.Globalization/CultureInfo.xml b/xml/System.Globalization/CultureInfo.xml index 8dc23575fda..cc8bc29eedf 100644 --- a/xml/System.Globalization/CultureInfo.xml +++ b/xml/System.Globalization/CultureInfo.xml @@ -98,7 +98,7 @@ The following example shows how to create a object for Spanish (Spain) with the international sort and another object with the traditional sort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -281,7 +281,7 @@ The property of the new constructor to instantiate a object that represents the French (France) culture and makes it the current culture. Otherwise, it instantiates a object that represents the French (Luxembourg) culture and makes it the current culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/Change1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.CultureInfo/vb/Change1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/.ctor/Change1.vb" id="Snippet3"::: ]]> @@ -677,7 +677,7 @@ If `name` is , the constr The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> @@ -741,7 +741,7 @@ If `name` is , the constr The following code example shows how to create a for Spanish (Spain) with the international sort and another with the traditional sort. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -827,7 +827,7 @@ If `name` is , the constr > Note also that the results of the example may differ on an installation of Taiwanese Windows, where the input of a Chinese (Traditional) neutral culture (zh, zh-CHT, or zh-Hant) will return zh-TW. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.CreateSpecificCulture2/VB/createspecificculture2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CreateSpecificCulture/createspecificculture2.vb" id="Snippet2"::: ]]> @@ -900,7 +900,7 @@ If `name` is , the constr The following example demonstrates the enumeration and the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CultureTypes/ct.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb" id="Snippet1"::: ]]> @@ -1116,7 +1116,7 @@ You might choose to override some of the values associated with the current cult The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> The property is set to null. @@ -1200,14 +1200,14 @@ You might choose to override some of the values associated with the current cult The following example illustrates the default behavior of the .NET Framework in defining the current culture of a new thread. At startup, the example sets the current culture and the current UI culture to French (France) on all systems except those on which the default system culture is already French (France). If the default system culture is already French (France), the code sets the current culture and the current UI culture to English (United States). It then calls the `DisplayRandomNumbers` routine, which generates three random numbers and displays them as currency values. Next, it creates a new thread, which also executes the `DisplayRandomNumbers` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture1.vb" id="Snippet1"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), the main thread displays its currency values using the formatting conventions of the French (France) culture. However, because the worker thread's culture is derived from the current Windows system culture rather than the application's current culture, the work thread displays its currency values using the formatting conventions of the English (United States) culture. The following example uses the and properties to define the current culture and current UI culture of a new application thread. At startup, the example sets the current culture and the current UI culture to French (France) on all systems except those on which the default system culture is already French (France). If the default system culture is already French (France), it sets the current culture and the current UI culture to English (United States). It then calls the `DisplayRandomNumbers` routine, which generates three random numbers and displays them as currency values. Next, it creates a new thread, which also executes the `DisplayRandomNumbers` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentculture/vb/defaultculture2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentCulture/defaultculture2.vb" id="Snippet2"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), both the main thread and the worker thread display their currency values using the formatting conventions of the French (France) culture. @@ -1330,7 +1330,7 @@ csc /resource:GreetingStrings.resources Example1.cs At startup, the example sets the current culture and the current UI culture to Russian (Russia) on all systems except those on which the default system culture is already Russian (Russia). If the default system culture is already Russian (Russia), the code sets the current culture and the current UI culture to English (United States). It then calls the `ShowGreeting` routine, which displays a simple string the first time it is called and a slightly different string on subsequent method calls. Next, it creates a new thread, which also executes the `ShowGreeting` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example1.vb" id="Snippet1"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), the main thread displays its initial string in Russian. However, because the worker thread's culture is derived from the current Windows system culture rather than the application's current culture, the worker thread displays its string in English. @@ -1341,7 +1341,7 @@ csc /resource:GreetingStrings.resources Example1.cs At startup, the example sets the current culture and the current UI culture to Russian (Russia) on all systems except those on which the default system culture is already Russian (Russia). If the default system culture is already Russian (Russia), it sets the current culture and the current UI culture to English (United States). It then calls the `ShowGreeting` routine, which displays a simple string the first time it is called and a slightly different string on subsequent method calls. Next, it creates a new thread, which also executes the `ShowGreeting` routine. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.defaultthreadcurrentuiculture/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DefaultThreadCurrentUICulture/example2.vb" id="Snippet2"::: As the output from the example shows, when the example is run on a computer whose system culture is English (United States), both the main thread and the worker thread display their strings in the Russian language. @@ -1420,7 +1420,7 @@ csc /resource:GreetingStrings.resources Example1.cs > The example displays the `zh-CHS` and `zh-CHT` cultures with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -1498,7 +1498,7 @@ csc /resource:GreetingStrings.resources Example1.cs > The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -2145,7 +2145,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the - , which returns all custom cultures, such as those registered by the class. In versions of Windows before Windows 10, the value applies to all user-defined custom cultures. Starting with Windows 10, it applies to system cultures that lack complete cultural data and that do not have a unique local identifier, as indicated by the property value. As a result, code such as the following will return different results when run on Windows 10 and on an earlier version of Windows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures3.vb" id="Snippet2"::: ## Examples The following code example displays several properties of the neutral cultures. @@ -2154,7 +2154,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the > The example displays the `zh-CHS` and `zh-CHT` cultures with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -2550,7 +2550,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the > The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.IsNeutralCulture2/VB/neutralculture.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsNeutralCulture/neutralculture.vb" id="Snippet1"::: ]]> @@ -2613,7 +2613,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the The following code example shows that also helps protect the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb" id="Snippet1"::: ]]> @@ -2738,7 +2738,7 @@ Setting `predefinedOnly` to `true` will ensure a culture is created only if the The following code example shows how to create a for Spanish (Spain) with the international sort order and another with the traditional sort order. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -2807,7 +2807,7 @@ For a list of predefined culture names and identifiers that the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -2949,7 +2949,7 @@ You might choose to override some of the values associated with the current cult The following code example shows that CultureInfo.Clone also clones the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Clone/VB/yslin_cultureinfo_clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Clone/yslin_cultureinfo_clone.vb" id="Snippet1"::: ]]> The property is set to null. @@ -3018,7 +3018,7 @@ The following code example shows that CultureInfo.Clone also clones the versions supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: ]]> @@ -3091,7 +3091,7 @@ The following code example shows that CultureInfo.Clone also clones the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Parent/parentculture.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.Parent/VB/parentculture.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Parent/parentculture.vb" id="Snippet1"::: ]]> @@ -3168,7 +3168,7 @@ The following code example shows that CultureInfo.Clone also clones the method helps protect the and instances associated with the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.ReadOnly/VB/yslin_cultureinfo_readonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/IsReadOnly/yslin_cultureinfo_readonly.vb" id="Snippet1"::: ]]> @@ -3232,7 +3232,7 @@ The following code example shows that CultureInfo.Clone also clones the for Spanish (Spain) with the international sort order and another with the traditional sort order. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/Overview/spanishspain.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo_esES/VB/spanishspain.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/Overview/spanishspain.vb" id="Snippet1"::: ]]> @@ -3304,7 +3304,7 @@ The following code example shows that CultureInfo.Clone also clones the The example displays the older `zh-CHS` and `zh-CHT` culture names with the 0x0004 and 0x7C04 culture identifiers, respectively. However, your Windows Vista applications should use the `zh-Hans` name instead of `zh-CHS` and the `zh-Hant` name instead of zh-CHT. The `zh-Hans` and `zh-Hant` names represent the current standard, and should be used unless you have a reason for using the older names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -3381,7 +3381,7 @@ The following code example shows that CultureInfo.Clone also clones the The `zh-Hans` and `zh-Hant` names represent the current standard for Chinese cultures. Older applications might reference the legacy `zh-CHS` and `zh-CHT` culture names, but these should be replaced with `zh-Hans` and `zh-Hant` respectively in modern applications. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> @@ -3517,7 +3517,7 @@ The following code example shows that CultureInfo.Clone also clones the property does not consist of a two-letter language code. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureinfo.twoletterisolanguagename/vb/twoletterisolanguagename1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/TwoLetterISOLanguageName/twoletterisolanguagename1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/CultureTypes.xml b/xml/System.Globalization/CultureTypes.xml index 2ee0e1a9ce4..e121847386f 100644 --- a/xml/System.Globalization/CultureTypes.xml +++ b/xml/System.Globalization/CultureTypes.xml @@ -85,12 +85,12 @@ Note that all `CultureTypes` members have been deprecated except for `CultureTyp The following example demonstrates the `CultureTypes.AllCultures` enumeration member and the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/CultureTypes/ct.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.cultureTypes/vb/ct.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/CultureTypes/ct.vb" id="Snippet1"::: The following example displays several properties of the neutral cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/DisplayName/getcultures.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/DateTimeFormatInfo.xml b/xml/System.Globalization/DateTimeFormatInfo.xml index 234a0541d34..f1b34b4a188 100644 --- a/xml/System.Globalization/DateTimeFormatInfo.xml +++ b/xml/System.Globalization/DateTimeFormatInfo.xml @@ -100,7 +100,7 @@ The following example uses reflection to get the properties of the object for the English (United States) culture. It displays the value of those properties that contain custom format strings and uses those strings to display formatted dates. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/Overview/format1.cs" interactive="try-dotnet" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.class/vb/format1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Overview/format1.vb" id="Snippet5"::: ]]> @@ -217,7 +217,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated day names to its property. It then uses the "ddd" format specifier in a [custom date and time format string](/dotnet/standard/base-types/custom-date-and-time-format-strings) to display the string representation of dates for one week beginning May 28, 2014. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviateddaynames/vb/abbreviateddaynames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedDayNames/abbreviateddaynames1.vb" id="Snippet1"::: ]]> @@ -295,7 +295,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated genitive month names to its and properties. It then displays the string representation of dates that include the abbreviated month name of each month in the culture's supported calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ The following example creates a read/write object that represents the English (United States) culture and assigns abbreviated genitive month names to its and properties. It then displays the string representation of dates that include the abbreviated name of each month in the culture's supported calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.abbreviatedmonthgenitivenames/vb/abbreviatedmonthnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/AbbreviatedMonthGenitiveNames/abbreviatedmonthnames1.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ Changing the value of this property affects the following properties as well: object that represents the Arabic (Egypt) culture and first attempts to change its calendar to the Japanese calendar. Because the Japanese calendar is not supported, the method makes not change the culture's calendar. However, because the Umm al-Qura calendar is a member of the collection, the method does succeed in making it the current calendar for the ar-EG culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.Calendar/vb/CalendarTest1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/Calendar/CalendarTest1.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ Changing the value of this property affects the following properties as well: property to retrieve a object that represents the formatting conventions of the current culture, which in this case is the en-US culture. It then displays the format string and the result string for six formatting properties. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.DateTimeFormatInfo.CurrentInfo/vb/CurrentInfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/CurrentInfo/CurrentInfo1.vb" id="Snippet1"::: ]]> @@ -769,7 +769,7 @@ Changing the value of this property affects the following properties as well: object for the en-US culture, changes its date separator to "-", and displays a date by using the "d", "G", and "g" standard format strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.dateseparator/vb/dateseparatorex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/DateSeparator/dateseparatorex.vb" id="Snippet1"::: ]]> @@ -966,7 +966,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.FullDateTimePattern/VB/dtfi_fulldatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/FullDateTimePattern/dtfi_fulldatetimepattern.vb" id="Snippet1"::: ]]> @@ -1269,7 +1269,7 @@ This property is affected if the value of the method in formatting operations. However, if you do, the string representation of a date and time value returned in that formatting operation cannot always be parsed successfully by the `Parse` and `TryParse` methods. Therefore, you cannot assume that the custom format strings returned by the method can be used to round-trip date and time values. The following example illustrates this problem. It retrieves a object that contains formatting information for the Italy (Italian) culture. It passes each custom format string in the array returned by the method to the method to create the string representation of a date and time. This example then attempts to parse this value by calling the method. As the output from the example shows, some of the custom format strings do not produce a date and time value that successfully round-trips. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex1.vb" id="Snippet1"::: To parse the string representation of a date and time that can be expressed in a number of predefined custom formats, call one of the following methods: @@ -1287,7 +1287,7 @@ This property is affected if the value of the object that represents the invariant culture by calling the constructor. It could also retrieve a that represents the invariant culture from the property. @@ -1350,7 +1350,7 @@ This property is affected if the value of the method in formatting operations. However, if you do, the string representation of a date and time value returned in that formatting operation cannot always be parsed successfully by the `Parse` and `TryParse` methods. Therefore, you cannot assume that the custom format strings returned by the method can be used to round-trip date and time values. The following example illustrates this problem. It retrieves a object that contains formatting information for the Russia (Russian) culture. It calls the method for each standard format string, and then passes each custom format string in the returned array to the method to create the string representation of a date and time. This example then attempts to parse this value by calling the method. As the output from the example shows, some of the custom format strings do not produce a date and time value that successfully round-trips. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.getalldatetimepatterns/vb/getalldatetimepatternsex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetAllDateTimePatterns/getalldatetimepatternsex2.vb" id="Snippet2"::: To parse the string representation of a date and time that can be expressed in a number of predefined custom formats, call one of the following methods: @@ -1521,7 +1521,7 @@ This property is affected if the value of the ignores the punctuation in the era name, only if the calendar is Gregorian and the culture uses the era name "A.D.". :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb" id="Snippet1"::: ]]> @@ -2055,7 +2055,7 @@ This property is affected if the value of the property defines the culture-specific format of date strings that are returned by calls to the and methods and by composite format strings that are supplied the "D" standard format string. The following example illustrates the relationships among the following: the "D" standard format string, the custom format string returned by the property, and the culture-specific representation of a date. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern1.vb" id="Snippet2"::: See [Custom Date and Time Format Strings](/dotnet/standard/base-types/custom-date-and-time-format-strings) for individual custom format specifiers that can be combined to construct custom format strings such as "dddd, dd MMMM yyyy". @@ -2064,13 +2064,13 @@ This property is affected if the value of the property of a object that represents the Arabic (Syria) culture changes when the object used by the culture changes. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/longdatepattern2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/longdatepattern2.vb" id="Snippet3"::: ## Examples The following example displays the value of the property for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongDatePattern/VB/dtfi_longdatepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongDatePattern/dtfi_longdatepattern.vb" id="Snippet1"::: ]]> @@ -2145,7 +2145,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.LongTimePattern/VB/dtfi_longtimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/LongTimePattern/dtfi_longtimepattern.vb" id="Snippet1"::: ]]> @@ -2218,7 +2218,7 @@ This property is affected if the value of the for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.MonthDayPattern/VB/dtfi_monthdaypattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/MonthDayPattern/dtfi_monthdaypattern.vb" id="Snippet1"::: ]]> @@ -2618,7 +2618,7 @@ This property is affected if the value of the @@ -2694,7 +2694,7 @@ This property is affected if the value of the object that represents the "en-US" (English - United States) culture and uses it to parse an array of date and time strings using the "Y" standard format string. It then uses the method to associate a new custom format string with the "Y" standard format string, and then attempts to parse the array of date and time strings. Output from the example demonstrates that the new custom format string is used in both the parsing and formatting operations. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.setalldatetimepatterns/vb/setalldatetimepatterns.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SetAllDateTimePatterns/setalldatetimepatterns.vb" id="Snippet1"::: ]]> @@ -2767,12 +2767,12 @@ This property is affected if the value of the property and the value of a date formatted using the property for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/dtfi_shortdatepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/dtfi_shortdatepattern.vb" id="Snippet1"::: The following example modifies the property of a object that represents the formatting conventions of the English (United States) culture. It also displays a date value twice, first to reflect the original property and then to reflect the new property value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortDatePattern/VB/shortdatepattern1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortDatePattern/shortdatepattern1.vb" id="Snippet2"::: ]]> @@ -2915,7 +2915,7 @@ The default array starts on Sunday. The following example displays the value of for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.ShortTimePattern/VB/dtfi_shorttimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/ShortTimePattern/dtfi_shorttimepattern.vb" id="Snippet1"::: ]]> @@ -2980,7 +2980,7 @@ The default array starts on Sunday. The following example displays the value of for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.SortableDateTimePattern/VB/dtfi_sortabledatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/SortableDateTimePattern/dtfi_sortabledatetimepattern.vb" id="Snippet1"::: ]]> @@ -3084,7 +3084,7 @@ If the custom pattern includes the format pattern ":", object for the en-US culture, changes its date separator to ".", and displays a date by using the "t", "T", "F", "f", "G", and "g" standard format strings. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.datetimeformatinfo.timeseparator/vb/timeseparatorex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/TimeSeparator/timeseparatorex.vb" id="Snippet1"::: ]]> @@ -3150,7 +3150,7 @@ If the custom pattern includes the format pattern ":", for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern/VB/dtfi_universalsortabledatetimepattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/UniversalSortableDateTimePattern/dtfi_universalsortabledatetimepattern.vb" id="Snippet1"::: ]]> @@ -3226,7 +3226,7 @@ If the custom pattern includes the format pattern ":", for a few cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.DateTimeFormatInfo.YearMonthPattern/VB/dtfi_yearmonthpattern.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/YearMonthPattern/dtfi_yearmonthpattern.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/EastAsianLunisolarCalendar.xml b/xml/System.Globalization/EastAsianLunisolarCalendar.xml index 536fa199ff8..7368ca0c6e1 100644 --- a/xml/System.Globalization/EastAsianLunisolarCalendar.xml +++ b/xml/System.Globalization/EastAsianLunisolarCalendar.xml @@ -146,7 +146,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: ]]> @@ -220,7 +220,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Globalization/GregorianCalendar.xml b/xml/System.Globalization/GregorianCalendar.xml index 0f1b4f17728..08ef33c5224 100644 --- a/xml/System.Globalization/GregorianCalendar.xml +++ b/xml/System.Globalization/GregorianCalendar.xml @@ -93,7 +93,7 @@ The following example illustrates that February 18, 1700 in the Julian calendar, which is the last day the Julian calendar was officially used in Denmark, is one day earlier than March 1, 1700 in the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/Overview/minimum1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.gregoriancalendar.class/vb/minimum1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/Overview/minimum1.vb" id="Snippet1"::: Each supports a set of calendars. The property returns the default calendar for the culture, and the property returns an array containing all the calendars supported by the culture. To change the calendar used by a , the application can set the property to a new . @@ -105,7 +105,7 @@ The following code example shows that ignores the punctuation in the era name, only if the calendar is Gregorian and the culture uses the era name "A.D.". :::code language="csharp" source="~/snippets/csharp/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetEra/VB/gregorian_getera.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/DateTimeFormatInfo/GetEra/gregorian_getera.vb" id="Snippet1"::: ]]> @@ -175,7 +175,7 @@ The following code example prints a using a that is localized. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb" id="Snippet1"::: ]]> @@ -293,7 +293,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -301,7 +301,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -419,7 +419,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -427,7 +427,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -547,7 +547,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -603,7 +603,7 @@ The following code example demonstrates how to determine the GregorianCalendar language version supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: ]]> @@ -721,7 +721,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -793,7 +793,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -866,7 +866,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -942,7 +942,7 @@ The following code example calls GetDaysInMonth for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInMonth/VB/gregoriancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInMonth/gregoriancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -1024,7 +1024,7 @@ The following code example calls GetDaysInYear for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetDaysInYear/VB/gregoriancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetDaysInYear/gregoriancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -1100,7 +1100,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1237,7 +1237,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1310,7 +1310,7 @@ The following code example calls GetMonthsInYear for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.GetMonthsInYear/VB/gregoriancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/GetMonthsInYear/gregoriancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1432,7 +1432,7 @@ The following code example displays the values of several components of a in terms of the Gregorian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_AddGet/VB/gregoriancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/AddMonths/gregoriancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ The following code example calls IsLeapDay for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapDay/VB/gregoriancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapDay/gregoriancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1609,7 +1609,7 @@ The following code example calls IsLeapMonth for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapMonth/VB/gregoriancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapMonth/gregoriancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1693,7 +1693,7 @@ The following code example calls IsLeapYear for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar.IsLeapYear/VB/gregoriancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/IsLeapYear/gregoriancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1765,7 +1765,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1831,7 +1831,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendar_MinMax/VB/gregoriancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/MaxSupportedDateTime/gregoriancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/GregorianCalendarTypes.xml b/xml/System.Globalization/GregorianCalendarTypes.xml index f2f51bdd6c7..e7ca5554155 100644 --- a/xml/System.Globalization/GregorianCalendarTypes.xml +++ b/xml/System.Globalization/GregorianCalendarTypes.xml @@ -83,12 +83,12 @@ The following code example demonstrates how to determine the GregorianCalendar language version supported by the culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarTypes/VB/gregoriancalendartypes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/CultureInfo/OptionalCalendars/gregoriancalendartypes.vb" id="Snippet1"::: The following code example prints a using a that is localized. :::code language="csharp" source="~/snippets/csharp/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.GregorianCalendarLocalized/VB/gregorianlocalized.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/GregorianCalendar/.ctor/gregorianlocalized.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HebrewCalendar.xml b/xml/System.Globalization/HebrewCalendar.xml index 0b1f7398ff9..703f1bac2d0 100644 --- a/xml/System.Globalization/HebrewCalendar.xml +++ b/xml/System.Globalization/HebrewCalendar.xml @@ -114,7 +114,7 @@ The following example creates a file that contains the date ranges supported by the class, and displays the number of days in each month of the year 5772. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.hebrewcalendar.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/Overview/example1.vb" id="Snippet1"::: The example instantiates a object and makes it the current calendar of a Hebrew (Israel) object. It then makes Hebrew (Israel) the current culture. This causes the common language runtime to interpret all dates and times in relation to the Hebrew calendar. @@ -232,7 +232,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -240,7 +240,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -325,7 +325,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -333,7 +333,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -395,7 +395,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -510,7 +510,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -592,7 +592,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ The following code example calls `GetDaysInMonth` for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetDaysInMonth/VB/hebrewcalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInMonth/hebrewcalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -823,7 +823,7 @@ The following code example calls `GetDaysInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_GetDaysInYear/VB/hebrewcalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetDaysInYear/hebrewcalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -895,7 +895,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1033,7 +1033,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1113,7 +1113,7 @@ The following code example calls `GetMonthsInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.GetMonthsInYear/VB/hebrewcalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/GetMonthsInYear/hebrewcalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1185,7 +1185,7 @@ The following code example displays the values of several components of a in terms of the Hebrew calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_AddGet/VB/hebrewcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/AddMonths/hebrewcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1328,7 +1328,7 @@ The following code example calls `IsLeapDay` for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapDay/VB/hebrewcalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapDay/hebrewcalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1411,7 +1411,7 @@ The following code example calls `IsLeapMonth` for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapMonth/VB/hebrewcalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapMonth/hebrewcalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1489,7 +1489,7 @@ The following code example calls `IsLeapYear` for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar.IsLeapYear/VB/hebrewcalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/IsLeapYear/hebrewcalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1551,7 +1551,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1611,7 +1611,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HebrewCalendar_MinMax/VB/hebrewcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HebrewCalendar/MaxSupportedDateTime/hebrewcalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/HijriCalendar.xml b/xml/System.Globalization/HijriCalendar.xml index 08181997f29..ccd481752bb 100644 --- a/xml/System.Globalization/HijriCalendar.xml +++ b/xml/System.Globalization/HijriCalendar.xml @@ -221,7 +221,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -229,7 +229,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -312,7 +312,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -320,7 +320,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -634,7 +634,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -707,7 +707,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -783,7 +783,7 @@ The following code example calls `GetDaysInMonth` for the twelfth month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInMonth/VB/hijricalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInMonth/hijricalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -860,7 +860,7 @@ The following code example calls `GetDaysInYear` for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetDaysInYear/VB/hijricalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetDaysInYear/hijricalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -932,7 +932,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1076,7 +1076,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1149,7 +1149,7 @@ The following code example calls the GetMonthsInYear method for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.GetMonthsInYear/VB/hijricalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/GetMonthsInYear/hijricalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1220,7 +1220,7 @@ The following code example displays the values of several components of a in terms of the Hijri calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_AddGet/VB/hijricalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/AddMonths/hijricalendar_addget.vb" id="Snippet1"::: ]]> @@ -1298,7 +1298,7 @@ The following code example shows how affects the date. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.HijriAdjustment/VB/hijriadjustment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/HijriAdjustment/hijriadjustment.vb" id="Snippet1"::: ]]> @@ -1427,7 +1427,7 @@ The following code example calls the `IsLeapDay` method for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1519,7 +1519,7 @@ The following code example calls `IsLeapMonth` for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapMonth/VB/hijricalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapMonth/hijricalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1603,7 +1603,7 @@ The following code example calls the `IsLeapYear` method for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapYear/VB/hijricalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapYear/hijricalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1746,7 +1746,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar_MinMax/VB/hijricalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/MaxSupportedDateTime/hijricalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/IdnMapping.xml b/xml/System.Globalization/IdnMapping.xml index 3c7961f84e5..04b69b7e19b 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/GetHashCode/conversion1b.vb" id="Snippet3"::: ]]> @@ -682,7 +682,7 @@ The following example uses the method to convert an array of internationalized domain names to Punycode. The method then converts the Punycode domain name back into the original domain name, but replaces the original label separators with the standard label separator. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/Overview/conversion1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.class/vb/conversion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/Overview/conversion1.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following example generates URLs that contain characters in the ASCII range from U+0000 to U+007F and passes them to the method of two objects. One object has its property set to `true`, and the other object has it set to `false`. The output displays the characters that are invalid when the property is `true` but valid when it is `false`. :::code language="csharp" source="~/snippets/csharp/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.idnmapping.usestd3asciirules/vb/usestd3asciirules1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/IdnMapping/UseStd3AsciiRules/usestd3asciirules1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/JapaneseCalendar.xml b/xml/System.Globalization/JapaneseCalendar.xml index e02774b0b24..3d3c450dc9a 100644 --- a/xml/System.Globalization/JapaneseCalendar.xml +++ b/xml/System.Globalization/JapaneseCalendar.xml @@ -239,7 +239,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -247,7 +247,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -338,7 +338,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -412,7 +412,7 @@ The following example uses reflection to instantiate each type found in the .NET Class Library and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ The following example displays the values contained in the property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.Eras/VB/yslin_japanesecalendar_eras.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/Eras/yslin_japanesecalendar_eras.vb" id="Snippet1"::: ]]> @@ -551,7 +551,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -782,7 +782,7 @@ The following code example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInMonth/VB/japanesecalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInMonth/japanesecalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -863,7 +863,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetDaysInYear/VB/japanesecalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetDaysInYear/japanesecalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -950,7 +950,7 @@ The following example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1090,7 +1090,7 @@ The following example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1163,7 +1163,7 @@ The following example calls for the first five years in each era. Because the class supports only 12-month years, it indicates that there are 12 months in each of the eras supported by the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.GetMonthsInYear/VB/japanesecalendar_getmonthsinyear.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/GetMonthsInYear/japanesecalendar_getmonthsinyear.vb"::: ]]> @@ -1255,7 +1255,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1321,7 +1321,7 @@ The following code example displays the values of several components of a in terms of the Japanese calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar_AddGet/VB/japanesecalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/AddMonths/japanesecalendar_addget.vb" id="Snippet1"::: ]]> @@ -1405,7 +1405,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. The current era in the example output is the Reiwa era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapDay/VB/japanesecalendar_isleapday.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapDay/japanesecalendar_isleapday.vb"::: ]]> @@ -1494,7 +1494,7 @@ The following example calls for all the months in the first five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapMonth/VB/japanesecalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapMonth/japanesecalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1577,7 +1577,7 @@ The following example calls for five years in each of the eras. The current era in the example output is the Reiwa era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JapaneseCalendar.IsLeapYear/VB/japanesecalendar_isleapyear.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JapaneseCalendar/IsLeapYear/japanesecalendar_isleapyear.vb"::: ]]> @@ -1648,7 +1648,7 @@ The following example calls @@ -1714,7 +1714,7 @@ The following example calls diff --git a/xml/System.Globalization/JulianCalendar.xml b/xml/System.Globalization/JulianCalendar.xml index cfa3ad77ad4..466b89e7315 100644 --- a/xml/System.Globalization/JulianCalendar.xml +++ b/xml/System.Globalization/JulianCalendar.xml @@ -206,7 +206,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -214,7 +214,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -297,7 +297,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -305,7 +305,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -373,7 +373,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -488,7 +488,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -560,7 +560,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -633,7 +633,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -709,7 +709,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInMonth/VB/juliancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInMonth/juliancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetDaysInYear/VB/juliancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetDaysInYear/juliancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -867,7 +867,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1005,7 +1005,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1078,7 +1078,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.GetMonthsInYear/VB/juliancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/GetMonthsInYear/juliancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1149,7 +1149,7 @@ The following code example displays the values of several components of a in terms of the Julian calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_AddGet/VB/juliancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/AddMonths/juliancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1234,7 +1234,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapDay/VB/juliancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapDay/juliancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1326,7 +1326,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapMonth/VB/juliancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapMonth/juliancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1410,7 +1410,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar.IsLeapYear/VB/juliancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/IsLeapYear/juliancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1534,7 +1534,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1595,7 +1595,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.JulianCalendar_MinMax/VB/juliancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/JulianCalendar/MaxSupportedDateTime/juliancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/KoreanCalendar.xml b/xml/System.Globalization/KoreanCalendar.xml index baf5dfab08e..aa6d7727ab8 100644 --- a/xml/System.Globalization/KoreanCalendar.xml +++ b/xml/System.Globalization/KoreanCalendar.xml @@ -223,7 +223,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -231,7 +231,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -313,7 +313,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -321,7 +321,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -390,7 +390,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -505,7 +505,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -587,7 +587,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -660,7 +660,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -736,7 +736,7 @@ The following code example calls GetDaysInMonth for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInMonth/VB/koreancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInMonth/koreancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -818,7 +818,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetDaysInYear/VB/koreancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetDaysInYear/koreancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -894,7 +894,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1032,7 +1032,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1105,7 +1105,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.GetMonthsInYear/VB/koreancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/GetMonthsInYear/koreancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1198,7 +1198,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1264,7 +1264,7 @@ The following code example displays the values of several components of a in terms of the Korean calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_AddGet/VB/koreancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/AddMonths/koreancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1349,7 +1349,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapDay/VB/koreancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapDay/koreancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1441,7 +1441,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapMonth/VB/koreancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapMonth/koreancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1525,7 +1525,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar.IsLeapYear/VB/koreancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/IsLeapYear/koreancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1650,7 +1650,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1711,7 +1711,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.KoreanCalendar_MinMax/VB/koreancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/KoreanCalendar/MaxSupportedDateTime/koreancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/NumberFormatInfo.xml b/xml/System.Globalization/NumberFormatInfo.xml index 0d344c77046..9dcadf9df8f 100644 --- a/xml/System.Globalization/NumberFormatInfo.xml +++ b/xml/System.Globalization/NumberFormatInfo.xml @@ -227,7 +227,7 @@ The following example uses the method to create a read/write copy of a object that represents the numeric formatting conventions of the current culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/Clone/isreadonly1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb" id="Snippet1"::: ]]> @@ -598,7 +598,7 @@ On Windows, the initial value of this property is derived from the settings in t The following example shows how the property defines the format of negative currency values. It retrieves all the specific cultures that are defined on the host computer and displays each culture's property value, its associated pattern, and a number formatted as a currency value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencynegativepattern/vb/currencynegativepattern1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencyNegativePattern/currencynegativepattern1.vb" id="Snippet1"::: ]]> @@ -738,7 +738,7 @@ The pattern does not support a positive sign. The following example displays the currency symbol for the current culture and uses the "C" standard numeric format string to format a currency value. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currencysymbol/vb/currencysymbolex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrencySymbol/currencysymbolex1.vb" id="Snippet1"::: ]]> @@ -814,7 +814,7 @@ The pattern does not support a positive sign. The following example shows that the objects returned by the and `CultureInfo.CurrentCulture.NumberFormat` properties are identical. It then uses reflection to display the property values of the object returned by the property on a system whose current culture is en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.currentinfo/vb/currentinfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/CurrentInfo/currentinfo1.vb" id="Snippet1"::: ]]> @@ -1079,7 +1079,7 @@ The pattern does not support a positive sign. The following example displays the default property values of the . :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.NumberFormatInfo.InvariantInfo/VB/invariantinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/InvariantInfo/invariantinfo.vb" id="Snippet1"::: ]]> @@ -1138,7 +1138,7 @@ The pattern does not support a positive sign. You can call the method to create a read/write object from a read-only object, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Globalization/NumberFormatInfo/Clone/isreadonly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.numberformatinfo.isreadonly/vb/isreadonly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/NumberFormatInfo/Clone/isreadonly1.vb" id="Snippet1"::: ]]> @@ -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/PersianCalendar.xml b/xml/System.Globalization/PersianCalendar.xml index a1cde3217b5..6c2e0bca2d3 100644 --- a/xml/System.Globalization/PersianCalendar.xml +++ b/xml/System.Globalization/PersianCalendar.xml @@ -193,7 +193,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -267,7 +267,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -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"::: ]]> diff --git a/xml/System.Globalization/RegionInfo.xml b/xml/System.Globalization/RegionInfo.xml index a9bf3543a86..e914debf1d1 100644 --- a/xml/System.Globalization/RegionInfo.xml +++ b/xml/System.Globalization/RegionInfo.xml @@ -85,7 +85,7 @@ The following example demonstrates several members of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/Overview/regioninfo.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo/VB/regioninfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/Overview/regioninfo.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: ]]> @@ -245,12 +245,12 @@ This constructor throws an if `name` is a neutra The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: The following code example creates instances of using culture names. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo.ctorCultureName/VB/regioninfo_ctorculturename.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_ctorculturename.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -656,7 +656,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ This constructor throws an if `name` is a neutra The following code example compares two instances of that were created differently. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/.ctor/regioninfo_equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Equals/VB/regioninfo_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/.ctor/regioninfo_equals.vb" id="Snippet1"::: ]]> @@ -920,7 +920,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1165,7 +1165,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1307,7 +1307,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1375,7 +1375,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ This constructor throws an if `name` is a neutra The following code example displays the properties of the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.RegionInfo_Properties/VB/regioninfo_properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/RegionInfo/CurrencySymbol/regioninfo_properties.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/SortKey.xml b/xml/System.Globalization/SortKey.xml index 7ce0db169ac..df5d9d06dc6 100644 --- a/xml/System.Globalization/SortKey.xml +++ b/xml/System.Globalization/SortKey.xml @@ -68,12 +68,12 @@ The following example compares the string "llama" using the "en-US" and "es-ES" cultures, and the "en-US" and "es-ES" traditional cultures. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Overview/sortkey_compare.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Compare/VB/sortkey_compare.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey_compare.vb" id="Snippet1"::: The following example shows how you can use the class to improve performance in an application that relies extensively on sorting and searching a large array. The example creates an unordered array of names, which in this case has 13 elements. It then stores the sort key of each name in a parallel array, which it passes to the method. The result is a sorted array. The example then searches the array for three strings. For each search string, it calls the method to retrieve the string's sort key, and then calls the method to retrieve the index of that sort key in the array of sort keys. Because the name and sort key arrays are parallel, the returned index is also the index of the name in the `names` array. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Overview/sortkey1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.sortkey.class/vb/sortkey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Overview/sortkey1.vb" id="Snippet1"::: ]]> @@ -229,7 +229,7 @@ The following code example shows the results of when compared with different objects. :::code language="csharp" source="~/snippets/csharp/System.Globalization/SortKey/Equals/sortkey_equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.SortKey.Equals/VB/sortkey_equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/SortKey/Equals/sortkey_equals.vb" id="Snippet1"::: ]]> 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..f18f49182d7 100644 --- a/xml/System.Globalization/StringInfo.xml +++ b/xml/System.Globalization/StringInfo.xml @@ -103,7 +103,7 @@ 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 diff --git a/xml/System.Globalization/TaiwanCalendar.xml b/xml/System.Globalization/TaiwanCalendar.xml index f109bb661e2..0fcbe149d8f 100644 --- a/xml/System.Globalization/TaiwanCalendar.xml +++ b/xml/System.Globalization/TaiwanCalendar.xml @@ -224,7 +224,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -232,7 +232,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -310,7 +310,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -318,7 +318,7 @@ The following code example displays the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -380,7 +380,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -494,7 +494,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -643,7 +643,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInMonth/VB/taiwancalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInMonth/taiwancalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -797,7 +797,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetDaysInYear/VB/taiwancalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetDaysInYear/taiwancalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -872,7 +872,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1000,7 +1000,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1064,7 +1064,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.GetMonthsInYear/VB/taiwancalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/GetMonthsInYear/taiwancalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1156,7 +1156,7 @@ The following code example shows how the result of varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1222,7 +1222,7 @@ The following code example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_AddGet/VB/taiwancalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/AddMonths/taiwancalendar_addget.vb" id="Snippet1"::: ]]> @@ -1300,7 +1300,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapDay/VB/taiwancalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapDay/taiwancalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1390,7 +1390,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapMonth/VB/taiwancalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapMonth/taiwancalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1472,7 +1472,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar.IsLeapYear/VB/taiwancalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/IsLeapYear/taiwancalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1542,7 +1542,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1608,7 +1608,7 @@ The following code example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TaiwanCalendar_MinMax/VB/taiwancalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TaiwanCalendar/MaxSupportedDateTime/taiwancalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextElementEnumerator.xml b/xml/System.Globalization/TextElementEnumerator.xml index 0e43f92149d..8bb13b721d3 100644 --- a/xml/System.Globalization/TextElementEnumerator.xml +++ b/xml/System.Globalization/TextElementEnumerator.xml @@ -111,7 +111,7 @@ The following example uses the class to enumerate the text elements of a string. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextElementEnumerator/Overview/tee_summary.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextElementEnumerator.Summary/VB/tee_summary.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextElementEnumerator/Overview/tee_summary.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/TextInfo.xml b/xml/System.Globalization/TextInfo.xml index 1fe4364ccc5..581f582f1d9 100644 --- a/xml/System.Globalization/TextInfo.xml +++ b/xml/System.Globalization/TextInfo.xml @@ -961,7 +961,7 @@ The property always reflects a spec The following code example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: ]]> @@ -1246,12 +1246,12 @@ The property always reflects a spec The following example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: The following example passes each string in an array to the method. The strings include proper title strings as well as acronyms. The strings are converted to title case by using the conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/totitlecase2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.textinfo.totitlecase/vb/totitlecase2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/totitlecase2.vb" id="Snippet1"::: ]]> @@ -1276,7 +1276,7 @@ The property always reflects a spec The following code example changes the casing of a string based on the English (United States) culture, with the culture name en-US. :::code language="csharp" source="~/snippets/csharp/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.TextInfo_casing/VB/textinfo_casing.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Globalization/TextInfo/ToTitleCase/textinfo_casing.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/ThaiBuddhistCalendar.xml b/xml/System.Globalization/ThaiBuddhistCalendar.xml index eaa85ccdf8c..a418aa56136 100644 --- a/xml/System.Globalization/ThaiBuddhistCalendar.xml +++ b/xml/System.Globalization/ThaiBuddhistCalendar.xml @@ -222,7 +222,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -230,7 +230,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -315,7 +315,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -571,7 +571,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -641,7 +641,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -714,7 +714,7 @@ The following example calls for the second month in each of five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInMonth/VB/thaibuddhistcalendar_getdaysinmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInMonth/thaibuddhistcalendar_getdaysinmonth.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetDaysInYear/VB/thaibuddhistcalendar_getdaysinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetDaysInYear/thaibuddhistcalendar_getdaysinyear.vb" id="Snippet1"::: ]]> @@ -870,7 +870,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -998,7 +998,7 @@ The following example demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1063,7 +1063,7 @@ The following example calls for five years in each era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.GetMonthsInYear/VB/thaibuddhistcalendar_getmonthsinyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/GetMonthsInYear/thaibuddhistcalendar_getmonthsinyear.vb" id="Snippet1"::: ]]> @@ -1155,7 +1155,7 @@ The following example shows how the result of the method varies depending on the and values used. If the specified date is the last day of the year, returns the total number of weeks in that year. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.Calendar.GetWeekOfYear/VB/yslin_calendar_getweekofyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/GetWeekOfYear/yslin_calendar_getweekofyear.vb" id="Snippet1"::: ]]> @@ -1225,7 +1225,7 @@ The following example demonstrates the use of the Method. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_AddGet/VB/thaibuddhistcalendar_addget.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/AddMonths/thaibuddhistcalendar_addget.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ The following example calls for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapDay/VB/thaibuddhistcalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapDay/thaibuddhistcalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1393,7 +1393,7 @@ The following example calls for all the months in five years in the current era. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapMonth/VB/thaibuddhistcalendar_isleapmonth.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapMonth/thaibuddhistcalendar_isleapmonth.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ The following example calls for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar.IsLeapYear/VB/thaibuddhistcalendar_isleapyear.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/IsLeapYear/thaibuddhistcalendar_isleapyear.vb" id="Snippet1"::: ]]> @@ -1547,7 +1547,7 @@ The following example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: ]]> @@ -1608,7 +1608,7 @@ The following example gets the minimum value and the maximum value of the calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.ThaiBuddhistCalendar_MinMax/VB/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/ThaiBuddhistCalendar/MaxSupportedDateTime/thaibuddhistcalendar_minmax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/UmAlQuraCalendar.xml b/xml/System.Globalization/UmAlQuraCalendar.xml index 501f0806730..c620caf8cdf 100644 --- a/xml/System.Globalization/UmAlQuraCalendar.xml +++ b/xml/System.Globalization/UmAlQuraCalendar.xml @@ -193,7 +193,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet5"::: @@ -201,7 +201,7 @@ The following example instantiates a value and displays the values of several of its components in the Um Al Qura calendar. Next, it calls the and methods to add 2 years and 10 months in the Um Al Qura calendar to the date value. Finally, it again displays the values of these date components in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ The property of the returned value always equals . You can preserve the property of the `time` parameter by calling the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AddDays/add1.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.addmethods/vb/add1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AddDays/add1.vb" id="Snippet8"::: @@ -283,7 +283,7 @@ The following example instantiates a value and displays the values of several of its components in the Um AL Qura calendar. Next, it calls the and methods to add 2 years and 10 months in the Um Al Qura calendar to the date value. Finally, it again displays the values of these date components in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -343,7 +343,7 @@ The following example uses reflection to instantiate each type found in the .NET Framework and displays the value of its property. :::code language="csharp" source="~/snippets/csharp/System.Globalization/Calendar/AlgorithmType/algorithmtype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.calendar.algorithmtype/vb/algorithmtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/Calendar/AlgorithmType/algorithmtype1.vb" id="Snippet1"::: ]]> @@ -503,7 +503,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -580,7 +580,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -648,7 +648,7 @@ The following example displays the values of several components of a in terms of the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -719,7 +719,7 @@ The following example calls the method to get the number of days in each month of five consecutive years. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb" id="Snippet1"::: ]]> @@ -782,7 +782,7 @@ The following example calls the method to get the number of days in ten consecutive years in each era supported by the class. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinyear/vb/getdaysinyear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInYear/getdaysinyear1.vb" id="Snippet1"::: ]]> @@ -849,7 +849,7 @@ The following example displays the values of several components of a date in the Um Al Qura calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -974,7 +974,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. The method is used to retrieve the month of the minimum and maximum supported dates in the Um Al Qura calendar if it is not the current culture's current calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1038,7 +1038,7 @@ The following example calls the method to determine the number of months in four consecutive years, and then calls the method to determine how many days there are in each month. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getdaysinmonth/vb/getdaysinmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetDaysInMonth/getdaysinmonth1.vb" id="Snippet1"::: ]]> @@ -1101,7 +1101,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. The method is used to retrieve the year of the minimum and maximum supported dates in the Um Al Qura calendar if it is not the current culture's current calendar. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1174,7 +1174,7 @@ The following example calls the method for the last day of the second month (February) for five years in each of the eras. :::code language="csharp" source="~/snippets/csharp/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.HijriCalendar.IsLeapDay/VB/hijricalendar_isleapday.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/HijriCalendar/IsLeapDay/hijricalendar_isleapday.vb" id="Snippet1"::: ]]> @@ -1305,7 +1305,7 @@ The following example lists the number of days in ten consecutive years and calls the method to determine which years are leap years. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.isleapyear/vb/isleapyear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/IsLeapYear/isleapyear1.vb" id="Snippet1"::: ]]> @@ -1369,7 +1369,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> @@ -1424,7 +1424,7 @@ The following example displays the date ranges supported by the class in both the Gregorian and Um Al Qura calendars. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.globalization.umalquracalendar.getmonth/vb/getmonth1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UmAlQuraCalendar/GetMonth/getmonth1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Globalization/UnicodeCategory.xml b/xml/System.Globalization/UnicodeCategory.xml index 34ac6a3a2ff..234e9b964aa 100644 --- a/xml/System.Globalization/UnicodeCategory.xml +++ b/xml/System.Globalization/UnicodeCategory.xml @@ -98,7 +98,7 @@ The following example displays the characters and their corresponding code points for characters in the UppercaseLetter category. You can modify the example to display the letters in any other category by replacing UppercaseLetter with the category of interest to you in the assignment to the `category` variable. Note that the output for some categories can be extensive. :::code language="csharp" source="~/snippets/csharp/System.Globalization/UnicodeCategory/Overview/Characters1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Globalization.UnicodeCategory/vb/Characters1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Globalization/UnicodeCategory/Overview/Characters1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipArchive.xml b/xml/System.IO.Compression/ZipArchive.xml index ab60d9225ec..c164c4d9ead 100644 --- a/xml/System.IO.Compression/ZipArchive.xml +++ b/xml/System.IO.Compression/ZipArchive.xml @@ -456,7 +456,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/CreateEntry/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: ]]> @@ -520,7 +520,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/CreateEntry/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program2.vb" id="Snippet2"::: ]]> @@ -748,7 +748,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> @@ -806,7 +806,7 @@ If the comment byte length is larger than , it will :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/GetEntry/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Compression/ZipArchiveEntry.xml b/xml/System.IO.Compression/ZipArchiveEntry.xml index 50b0883e42a..ceac7bd0260 100644 --- a/xml/System.IO.Compression/ZipArchiveEntry.xml +++ b/xml/System.IO.Compression/ZipArchiveEntry.xml @@ -170,7 +170,7 @@ If the comment byte length is larger than , it will The following example shows how to retrieve entries in a zip archive, and evaluate the properties of the entries. It uses the property to display the name of the entry, and the and properties to calculate how much the file was compressed. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb" id="Snippet1"::: ]]> @@ -455,7 +455,7 @@ If the comment byte length is larger than , it will The following example shows how to retrieve entries from a zip archive, and evaluate the properties of the entries. It uses the property to display the name of the entry, and the and properties to calculate how much the file was compressed. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/GetEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchiveentry/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/GetEntry/program1.vb" id="Snippet1"::: ]]> @@ -548,7 +548,7 @@ If the comment byte length is larger than , it will The following example shows how to create a new entry, open it with the method, and write to the stream. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/CreateEntry/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchivemode/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/CreateEntry/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFile.xml b/xml/System.IO.Compression/ZipFile.xml index 1e97b9d511a..6edfe345316 100644 --- a/xml/System.IO.Compression/ZipFile.xml +++ b/xml/System.IO.Compression/ZipFile.xml @@ -1821,7 +1821,7 @@ An archive entry has been compressed using a compression method that is not supp :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -2098,7 +2098,7 @@ An unspecified I/O error occurred while opening the file. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO.Compression/ZipArchive/Entries/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO.Compression/ZipFileExtensions.xml b/xml/System.IO.Compression/ZipFileExtensions.xml index e6fd970ef40..8a86d0a7765 100644 --- a/xml/System.IO.Compression/ZipFileExtensions.xml +++ b/xml/System.IO.Compression/ZipFileExtensions.xml @@ -131,7 +131,7 @@ The following example shows how to create a new entry in a zip archive from an existing file. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -222,7 +222,7 @@ The following example shows how to create a new entry in a zip archive from an existing file, and specify the compression level. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program4.vb" id="Snippet4"::: ]]> @@ -375,7 +375,7 @@ This method creates the directory specified by `destinationDirectoryName`. The m The following example shows how to create a new entry in a zip archive from an existing file, and extract the archive to a new directory. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program3.vb" id="Snippet3"::: ]]> @@ -615,7 +615,7 @@ A has been compressed usi The following example shows how to iterate through the contents of a zip archive file and extract files that have a .txt extension. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program1.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ A has been compressed usi The following example shows how to iterate through the contents of a zip archive file, and extract files that have a .txt extension. It overwrites an existing file that has the same name in the destination folder. In order to compiler this code example, you must reference the `System.IO.Compression` and `System.IO.Compression.FileSystem` assemblies in your project. :::code language="csharp" source="~/snippets/csharp/System.IO.Compression/ZipArchive/Entries/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.compression.ziparchive/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Compression/ZipArchive/Entries/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml index 84221849b4a..bf25eaabc30 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageFile.xml @@ -198,7 +198,7 @@ The following code example demonstrates how to use the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -442,7 +442,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet7"::: ]]> @@ -592,7 +592,7 @@ The following code example demonstrates the property. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet5"::: ]]> @@ -661,7 +661,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet8"::: ]]> @@ -732,7 +732,7 @@ The following code example uses the method to delete a number of files in isolated storage. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet6"::: ]]> @@ -863,7 +863,7 @@ The following code example opens an isolated storage file, uses it to write information to a stream, closes the file, and then uses the method to release all resources. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -1178,7 +1178,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> @@ -1384,7 +1384,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> @@ -1595,7 +1595,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet18"::: ]]> @@ -1665,7 +1665,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet19"::: > [!NOTE] > Different assemblies running within the same application domain always have distinct isolated stores. @@ -1730,7 +1730,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet20"::: Different assemblies running within the same application domain always have distinct isolated stores. @@ -1743,7 +1743,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -2157,7 +2157,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> @@ -2244,7 +2244,7 @@ The following code example obtains storage based on publisher evidence. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.GetStore/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/GetStore/source.vb" id="Snippet1"::: ]]> @@ -2324,7 +2324,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet21"::: In this code, the `applicationIdentity` parameter for `GetStore(IsolatedStorageScope scope, Object applicationIdentity)` is `null`. @@ -2397,7 +2397,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet22"::: > [!NOTE] > Different assemblies running within the same application domain always have distinct isolated stores. @@ -2467,7 +2467,7 @@ is functionally equivalent to the following code: :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/remarks.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/remarks.vb" id="Snippet23"::: Different assemblies running within the same application domain always have distinct isolated stores. @@ -2480,7 +2480,7 @@ The following code example demonstrates the method. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -2765,7 +2765,7 @@ The following code example demonstrates the property. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet5"::: ]]> @@ -3296,7 +3296,7 @@ The following code example uses the method to delete the isolated storage file after its contents have been emptied. The [How to: Delete Stores in Isolated Storage](/dotnet/standard/io/how-to-delete-stores-in-isolated-storage) example also demonstrates the use of the method. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet16"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml index fd7e3074051..30f8b96ae0f 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageFileStream.xml @@ -79,7 +79,7 @@ The following console application demonstrates how you can use and to write data to an Isolated Storage file. The user is requested to log in. If the user is a new user, a News URL and a Sports URL are recorded as personal preferences in Isolated Storage. If the user is a returning user, the user's current preferences are displayed. The code examples used throughout this namespace are presented in the context of this sample application. You can use the [Storeadm.exe (Isolated Storage Tool)](/dotnet/framework/tools/storeadm-exe-isolated-storage-tool) utility to list and remove the Isolated Storage files that are created with this console application. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet1"::: ]]> @@ -280,7 +280,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -350,7 +350,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> @@ -427,7 +427,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet10"::: ]]> @@ -573,7 +573,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -659,7 +659,7 @@ The following code example demonstrates the use of this constructor. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet12"::: ]]> @@ -898,7 +898,7 @@ The following code example demonstrates how you could use the property, as a check to see whether a stream can be read before calling the or methods. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet11"::: ]]> @@ -1006,7 +1006,7 @@ The following code example demonstrates how you could use the property, as a check to see whether a stream can be read before calling the or methods. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet13"::: ]]> @@ -1518,7 +1518,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet4"::: ]]> @@ -1576,7 +1576,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates how you can use the property to verify that an is synchronous. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet7"::: ]]> @@ -1634,7 +1634,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -1751,7 +1751,7 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile) The following code example uses the property to write data to a file. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -2009,7 +2009,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how the method can be used to read data from an object. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> @@ -2494,7 +2494,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following code example demonstrates how the method can be used to read data from an object. For the complete context of this example, see the overview. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet14"::: ]]> diff --git a/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml b/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml index dbbd252d30b..5ab21b9b825 100644 --- a/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml +++ b/xml/System.IO.IsolatedStorage/IsolatedStorageScope.xml @@ -69,7 +69,7 @@ The following code example demonstrates how the enumeration is used in the methods. :::code language="csharp" source="~/snippets/csharp/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.IsolatedStorage.IsolatedStorage/VB/source.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.IsolatedStorage/IsolatedStorageFile/Close/source.vb" id="Snippet15"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml index a357af7b45b..41b548ec4b8 100644 --- a/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml +++ b/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml @@ -927,17 +927,17 @@ Process C says: True **Process A** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet1"::: **Process B** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_a/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program.vb" id="Snippet1"::: **Process C** :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_b/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program1.vb" id="Snippet1"::: ]]> @@ -1781,7 +1781,7 @@ Process C says: True The following example creates a stream and writes a value to it. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml index a9b8e81aa93..05cf6643833 100644 --- a/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml +++ b/xml/System.IO.MemoryMappedFiles/MemoryMappedViewStream.xml @@ -62,7 +62,7 @@ This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.memorymappedfiles_ipc_x/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.MemoryMappedFiles/MemoryMappedFile/CreateNew/program2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeClientStream.xml b/xml/System.IO.Pipes/AnonymousPipeClientStream.xml index b6de0e08dcf..efc28b9aecd 100644 --- a/xml/System.IO.Pipes/AnonymousPipeClientStream.xml +++ b/xml/System.IO.Pipes/AnonymousPipeClientStream.xml @@ -69,7 +69,7 @@ The following example sends a string from a parent process to a child process by This example is for the client process, which is started by the server process. Name the resulting executable from the client code `pipeClient.exe` and copy it to the same directory as the server executable when you run this example. For the entire code example, including the code for both the pipe client and server, see [How to: Use Anonymous Pipes for Local Interprocess Communication](/dotnet/standard/io/how-to-use-anonymous-pipes-for-local-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -145,7 +145,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/.ctor/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb" id="Snippet01"::: ]]> @@ -213,7 +213,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/.ctor/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_ctorSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/.ctor/program.vb" id="Snippet01"::: ]]> @@ -290,7 +290,7 @@ The following example sends a string from a parent process to a child process by The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a child process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -399,7 +399,7 @@ Anonymous pipes do not support the object is created in a child process. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> @@ -465,7 +465,7 @@ Anonymous pipes do not support object is created in a child process and the is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeClientStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeClientStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeClientStream/Overview/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/AnonymousPipeServerStream.xml b/xml/System.IO.Pipes/AnonymousPipeServerStream.xml index 783d153ae7c..463d47b8f21 100644 --- a/xml/System.IO.Pipes/AnonymousPipeServerStream.xml +++ b/xml/System.IO.Pipes/AnonymousPipeServerStream.xml @@ -70,7 +70,7 @@ The following example sends a string from a parent process to a child process us This example is for the server process, which uses the class. For the entire code example, including the code for both the pipe client and server, see [How to: Use Anonymous Pipes for Local Interprocess Communication](/dotnet/standard/io/how-to-use-anonymous-pipes-for-local-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -272,7 +272,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a method to send a string from a parent process to a child process using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -651,7 +651,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -753,7 +753,7 @@ The following example sends a string from a parent process to a child process us The following example demonstrates a way to send a string from a parent process to a child process by using anonymous pipes. In this example, an object is created in a parent process with a value of . :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> @@ -873,7 +873,7 @@ Anonymous pipes do not support the object is created in a parent process and the property is displayed to the console. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/AnonymousPipeServerStream/Overview/Program.cs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.AnonymousPipeServerStream_Sample/vb/program.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/AnonymousPipeServerStream/Overview/program.vb"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeClientStream.xml b/xml/System.IO.Pipes/NamedPipeClientStream.xml index 45b95a1c4e3..38b80c48c03 100644 --- a/xml/System.IO.Pipes/NamedPipeClientStream.xml +++ b/xml/System.IO.Pipes/NamedPipeClientStream.xml @@ -63,7 +63,7 @@ This example is for the client process, which connects to the server process. For the entire code sample, including the code for both the pipe client and server, see [How to: Use Named Pipes for Network Interprocess Communication](/dotnet/standard/io/how-to-use-named-pipes-for-network-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -297,7 +297,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. This example creates a object in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -814,7 +814,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. This example creates a object in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -1235,7 +1235,7 @@ The following example demonstrates a method to send a string from a parent process to a child process using named pipes. In this example, a object is created in a child process, which then connects to a pipe on the local computer. The server example can be seen in the class. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeClientStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeClientStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeClientStream/Overview/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/NamedPipeServerStream.xml b/xml/System.IO.Pipes/NamedPipeServerStream.xml index cce929e5542..abbb7f7afa4 100644 --- a/xml/System.IO.Pipes/NamedPipeServerStream.xml +++ b/xml/System.IO.Pipes/NamedPipeServerStream.xml @@ -68,7 +68,7 @@ The following example demonstrates a way to send a string from a parent process This example is for the server process, which uses the class. For the entire code example, including the code for both the pipe client and server, see [How to: Use Named Pipes for Network Interprocess Communication](/dotnet/standard/io/how-to-use-named-pipes-for-network-interprocess-communication). :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -241,7 +241,7 @@ This example is for the server process, which uses the object in a parent process. The object has a value of , which then blocks until a object establishes a connection to the current object. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> @@ -1278,7 +1278,7 @@ This example is for the server process, which uses the object in a parent process, which then creates multiple threads that wait for objects to connect. After a client is connected, it supplies a file name to the server and the contents of that file are read and sent back to the client. Because the impersonates the client when opening the file, the client can request only files that it has sufficient permissions to open. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb" id="Snippet01"::: ]]> @@ -1404,7 +1404,7 @@ This example is for the server process, which uses the object in a parent process, which then creates multiple threads that wait for objects to connect. After a client is connected, it supplies a file name to the server and the contents of that file are read and sent back to the client. Because the impersonates the client when opening the file, the client can request only files that it has sufficient permissions to open. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_ImpersonationSample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/GetImpersonationUserName/program.vb" id="Snippet01"::: ]]> @@ -1481,7 +1481,7 @@ This example is for the server process, which uses the object in a parent process. This object has a value of , which then blocks until a object establishes a connection to the object. This example is part of a larger example provided for the and classes. :::code language="csharp" source="~/snippets/csharp/System.IO.Pipes/NamedPipeServerStream/Overview/Program.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Pipes.NamedPipeServerStream_Sample1/vb/program.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Pipes/NamedPipeServerStream/Overview/program.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Pipes/PipeStream.xml b/xml/System.IO.Pipes/PipeStream.xml index 31f8bc3409d..2ca134fc0b1 100644 --- a/xml/System.IO.Pipes/PipeStream.xml +++ b/xml/System.IO.Pipes/PipeStream.xml @@ -1648,7 +1648,7 @@ The pipe handle has not been set. (Did your diff --git a/xml/System.IO.Ports/Handshake.xml b/xml/System.IO.Ports/Handshake.xml index 799bd3b9803..b463f09be1e 100644 --- a/xml/System.IO.Ports/Handshake.xml +++ b/xml/System.IO.Ports/Handshake.xml @@ -39,7 +39,7 @@ The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet05"::: ]]> diff --git a/xml/System.IO.Ports/Parity.xml b/xml/System.IO.Ports/Parity.xml index e6a8927131e..c01b6ed0077 100644 --- a/xml/System.IO.Ports/Parity.xml +++ b/xml/System.IO.Ports/Parity.xml @@ -41,7 +41,7 @@ The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet03"::: ]]> diff --git a/xml/System.IO.Ports/SerialPort.xml b/xml/System.IO.Ports/SerialPort.xml index 5106d9e1cb7..260cf877dd0 100644 --- a/xml/System.IO.Ports/SerialPort.xml +++ b/xml/System.IO.Ports/SerialPort.xml @@ -52,7 +52,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. Both computers must be executing the program to achieve full functionality of this example. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet10"::: ]]> @@ -98,7 +98,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -458,12 +458,12 @@ The following example shows how to set the property to `9600`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -703,7 +703,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -817,7 +817,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -880,7 +880,7 @@ This example adds a to to read all the available data received on the COM1 port. Note that to test this code it is necessary to have hardware attached to COM1 that will send data. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet06"::: ]]> @@ -1372,7 +1372,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1547,7 +1547,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1625,7 +1625,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -1793,7 +1793,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2156,7 +2156,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2226,7 +2226,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2445,12 +2445,12 @@ The following example shows how to set the property to `One`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2706,7 +2706,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> @@ -2773,7 +2773,7 @@ The following code example demonstrates the use of the class to allow two users to chat from two separate computers connected by a null modem cable. In this example, the users are prompted for the port settings and a username before chatting. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet01"::: ]]> diff --git a/xml/System.IO.Ports/StopBits.xml b/xml/System.IO.Ports/StopBits.xml index 5157910b5d7..f5b82453263 100644 --- a/xml/System.IO.Ports/StopBits.xml +++ b/xml/System.IO.Ports/StopBits.xml @@ -39,12 +39,12 @@ The following example shows how to set the property to `One`. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/datareceived.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/datareceived.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/datareceived.vb" id="Snippet20"::: The following code example displays the possible values of the enumeration to the console, then prompts the user to choose one. This code example is part of a larger code example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO.Ports/Handshake/Overview/SerialPort.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Ports.SerialPort/vb/SerialPort.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO.Ports/Handshake/Overview/SerialPort.vb" id="Snippet04"::: ]]> diff --git a/xml/System.IO/BinaryReader.xml b/xml/System.IO/BinaryReader.xml index bb7e189a809..2258b99a08b 100644 --- a/xml/System.IO/BinaryReader.xml +++ b/xml/System.IO/BinaryReader.xml @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -188,7 +188,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -814,7 +814,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar2/VB/rwreadchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchar.vb" id="Snippet1"::: ]]> @@ -990,13 +990,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb" id="Snippet1"::: This example reads the contents of a file and displays each byte's numeric value in 16-column format. The end of the file that is being read is detected when the method returns zero bytes. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source5.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source5.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb" id="Snippet6"::: ]]> @@ -1092,7 +1092,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb" id="Snippet1"::: ]]> @@ -1298,7 +1298,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -1381,7 +1381,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadByte/rwbyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadByte/rwbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb" id="Snippet1"::: ]]> @@ -1465,13 +1465,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadBytes/rwbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadBytes/rwbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb" id="Snippet1"::: This example reads the contents of a file and displays it to the console as dump text. The end of the file that is being read is detected when the length of the array returned from is zero. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source5.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source5.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source5.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source5.vb" id="Snippet6"::: ]]> @@ -1556,7 +1556,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChar/rwchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChar/rwchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb" id="Snippet1"::: ]]> @@ -1642,7 +1642,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChars/rwchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChars/rwchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb" id="Snippet1"::: ]]> @@ -1794,7 +1794,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -2036,7 +2036,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2263,7 +2263,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2344,7 +2344,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/BinaryWriter.xml b/xml/System.IO/BinaryWriter.xml index fcf7ea92e51..52f6e2f2557 100644 --- a/xml/System.IO/BinaryWriter.xml +++ b/xml/System.IO/BinaryWriter.xml @@ -116,7 +116,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -945,7 +945,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source3.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source3.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source3.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source3.vb" id="Snippet5"::: ]]> @@ -1078,7 +1078,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -1166,7 +1166,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadByte/rwbyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadByte/rwbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWByte/VB/rwbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadByte/rwbyte.vb" id="Snippet1"::: ]]> @@ -1240,7 +1240,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadBytes/rwbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadBytes/rwbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes1/VB/rwbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadBytes/rwbytes.vb" id="Snippet1"::: ]]> @@ -1332,7 +1332,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChar/rwchar.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChar/rwchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChar1/VB/rwchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChar/rwchar.vb" id="Snippet1"::: ]]> @@ -1422,7 +1422,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/ReadChars/rwchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/ReadChars/rwchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars1/VB/rwchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/ReadChars/rwchars.vb" id="Snippet1"::: ]]> @@ -1583,7 +1583,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -1644,7 +1644,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/BaseStream/rwdouble.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> @@ -1800,7 +1800,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2108,7 +2108,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2192,7 +2192,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Overview/source.vb" id="Snippet1"::: ]]> @@ -2492,7 +2492,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadbytes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadbytes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWBytes2/VB/rwreadbytes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadbytes.vb" id="Snippet1"::: ]]> @@ -2575,7 +2575,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/Read/rwreadchars.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BinaryReader/Read/rwreadchars.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWChars2/VB/rwreadchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/Read/rwreadchars.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/BufferedStream.xml b/xml/System.IO/BufferedStream.xml index 5d9f10e68f6..4c144e043da 100644 --- a/xml/System.IO/BufferedStream.xml +++ b/xml/System.IO/BufferedStream.xml @@ -98,13 +98,13 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet1"::: **Example 2: Code that runs on the server** :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/server.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/server.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream2/VB/server.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/server.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet2"::: ]]> @@ -544,7 +544,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet5"::: ]]> @@ -615,7 +615,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet3"::: ]]> @@ -687,7 +687,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet4"::: ]]> @@ -1165,7 +1165,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -1489,7 +1489,7 @@ Use for reading primitive data types. :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet7"::: ]]> @@ -2016,7 +2016,7 @@ If the write operation is successful, the position within the buffered stream ad :::code language="csharp" source="~/snippets/csharp/System.IO/BufferedStream/Overview/client.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/BufferedStream/Overview/client.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BufferedStream1/VB/client.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BufferedStream/Overview/client.vb" id="Snippet6"::: ]]> diff --git a/xml/System.IO/Directory.xml b/xml/System.IO/Directory.xml index 41cd2e75d14..2a93ceefa86 100644 --- a/xml/System.IO/Directory.xml +++ b/xml/System.IO/Directory.xml @@ -114,19 +114,19 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class2.vb" id="Snippet10"::: The following example demonstrates how to use the method to retrieve a collection of text files from a directory, and then use that collection in a query to find all the lines that contain "Example". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class3.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class3.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class3.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class3.vb" id="Snippet11"::: The following example demonstrates how to move a directory and all its files to a new directory. The original directory no longer exists after it has been moved. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class6.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class6.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class6.vb" id="Snippet14"::: ]]> @@ -384,7 +384,7 @@ Directory.CreateDirectory("c:\\Users\\User1\\Public\\Html"); :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class7.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class7.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class7.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class7.vb" id="Snippet15"::: ]]> @@ -593,7 +593,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Delete/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Delete/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Delete/class1.vb" id="Snippet1"::: ]]> @@ -708,7 +708,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Delete/class2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Delete/class2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.delete/vb/class2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Delete/class2.vb" id="Snippet2"::: ]]> @@ -815,7 +815,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs1/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program.vb" id="Snippet1"::: ]]> @@ -906,7 +906,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program1.vb" id="Snippet1"::: ]]> @@ -1088,7 +1088,7 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateDirectories/program2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateDirectories/program2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.enumdirs3/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateDirectories/program2.vb" id="Snippet1"::: ]]> @@ -1184,13 +1184,13 @@ An I/O error occurred. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class4.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class4.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class4.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class4.vb" id="Snippet12"::: The following example enumerates the files in the specified directory, reads each line of the file, and displays the line if it contains the string "Europe". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateFiles/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateFiles/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumfiles/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateFiles/module1.vb" id="Snippet1"::: ]]> @@ -1281,13 +1281,13 @@ The returned collection is not cached. Each call to the @@ -1475,13 +1475,13 @@ The returned collection is not cached. Each call to the @@ -2267,7 +2267,7 @@ The returned collection is not cached. Each call to the @@ -2831,7 +2831,7 @@ The returned collection is not cached. Each call to the @@ -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 @@ -3823,7 +3823,7 @@ The returned collection is not cached. Each call to the @@ -4002,7 +4002,7 @@ The returned collection is not cached. Each call to the @@ -4080,7 +4080,7 @@ The returned collection is not cached. Each call to the @@ -4166,7 +4166,7 @@ The returned collection is not cached. Each call to the @@ -4264,7 +4264,7 @@ The following example demonstrates how to move a directory and all its files to :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/Overview/class6.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/Overview/class6.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Directory/VB/class6.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/Overview/class6.vb" id="Snippet14"::: ]]> @@ -4498,7 +4498,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> @@ -4671,7 +4671,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetDirectoryRoot/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetDirectoryRoot/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryRoot/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetDirectoryRoot/example.vb" id="Snippet1"::: ]]> @@ -4844,7 +4844,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> @@ -5021,7 +5021,7 @@ There are too many levels of symbolic links. :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/GetCreationTimeUtc/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/GetCreationTimeUtc/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.UTCExample/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/GetCreationTimeUtc/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/DirectoryInfo.xml b/xml/System.IO/DirectoryInfo.xml index 3416596fc4c..1b5df211fcf 100644 --- a/xml/System.IO/DirectoryInfo.xml +++ b/xml/System.IO/DirectoryInfo.xml @@ -816,7 +816,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateDirectories/program.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateDirectories/program.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumdirs/vb/module1.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/module1.vb"::: ]]> @@ -1109,7 +1109,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateDirectories/program1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateDirectories/program1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumeratedirectories/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateDirectories/program.vb" id="Snippet1"::: ]]> @@ -1220,13 +1220,13 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module1.vb" id="Snippet1"::: The following example shows how to enumerate files in a directory by using different search options. The example assumes a directory that has files named log1.txt, log2.txt, test1.txt, test2.txt, test3.txt, and a subdirectory that has a file named SubFile.txt. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -1333,7 +1333,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -1534,7 +1534,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/EnumerateFiles/program2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/EnumerateFiles/program2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directoryinfo.enumfiles/vb/module2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/EnumerateFiles/module2.vb" id="Snippet2"::: ]]> @@ -2539,7 +2539,7 @@ namespace ConsoleApp :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/searchoption.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/DirectoryInfo/GetDirectories/searchoption.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/DriveInfo.xml b/xml/System.IO/DriveInfo.xml index 1700f3253ea..b042e0b499b 100644 --- a/xml/System.IO/DriveInfo.xml +++ b/xml/System.IO/DriveInfo.xml @@ -79,7 +79,7 @@ The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -200,7 +200,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -264,7 +264,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -329,7 +329,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -392,7 +392,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -460,7 +460,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -516,7 +516,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -737,7 +737,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -802,7 +802,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following code example demonstrates the use of the class to display information about all of the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> @@ -875,7 +875,7 @@ On Windows, passing a mounted directory (for example, C:\\NetworkMountedDrive) o The following example demonstrates the use of the class to display information about all the drives on the current system. :::code language="csharp" source="~/snippets/csharp/System.IO/DriveInfo/Overview/DriveInfo.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DriveInfo/vb/DriveInfo.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DriveInfo/Overview/DriveInfo.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/EndOfStreamException.xml b/xml/System.IO/EndOfStreamException.xml index 82625012f27..9a443fa23f1 100644 --- a/xml/System.IO/EndOfStreamException.xml +++ b/xml/System.IO/EndOfStreamException.xml @@ -94,7 +94,7 @@ The following code example shows how to read and write `Double` data to memory by using the and classes on top of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/BinaryReader/BaseStream/rwdouble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.BinaryReaderWriter.RWDouble/VB/rwdouble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/BinaryReader/BaseStream/rwdouble.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/File.xml b/xml/System.IO/File.xml index 58488c1784f..9e83cd5cf8c 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/AppendAllLines/program.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -981,7 +981,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> @@ -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/ReadAllLines/AllText.vb" id="Snippet00"::: ]]> @@ -4837,7 +4837,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText_Encoding.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText_Encoding.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb" id="Snippet00"::: ]]> @@ -5044,7 +5044,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -5151,7 +5151,7 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> @@ -5361,13 +5361,13 @@ The following example moves a file. :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadLines/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadLines/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.readlines/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadLines/program.vb" id="Snippet1"::: The following example uses the method in a LINQ query that enumerates all directories for files that have a .txt extension, reads each line of the file, and displays the line if it contains the string "Microsoft". :::code language="csharp" source="~/snippets/csharp/System.IO/Directory/EnumerateFiles/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/Directory/EnumerateFiles/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.directory.enumeratefiles/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Directory/EnumerateFiles/program.vb" id="Snippet1"::: ]]> @@ -7300,7 +7300,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllLines/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllLines/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.file.writeallappendall/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllLines/program.vb" id="Snippet1"::: ]]> @@ -7402,7 +7402,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText.vb" id="Snippet00"::: ]]> @@ -7600,7 +7600,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/ReadAllLines/AllText_Encoding.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/ReadAllLines/AllText_Encoding.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllLines_Encoding/vb/AllText_Encoding.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/ReadAllLines/AllText_Encoding.vb" id="Snippet00"::: ]]> @@ -7882,7 +7882,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText.vb" id="Snippet00"::: ]]> @@ -8063,7 +8063,7 @@ It is not possible to change the compression status of a o :::code language="csharp" source="~/snippets/csharp/System.IO/File/AppendAllText/AllText1.cs" id="Snippet00"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/File/AppendAllText/AllText1.fs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.File.AllText_Encoding/vb/AllText.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/File/AppendAllText/AllText1.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/FileAttributes.xml b/xml/System.IO/FileAttributes.xml index 737294a2fdd..82e40001c58 100644 --- a/xml/System.IO/FileAttributes.xml +++ b/xml/System.IO/FileAttributes.xml @@ -100,7 +100,7 @@ On Unix systems, the value returned by diff --git a/xml/System.IO/FileStream.xml b/xml/System.IO/FileStream.xml index ddf9d0ce089..6511c5f7b29 100644 --- a/xml/System.IO/FileStream.xml +++ b/xml/System.IO/FileStream.xml @@ -366,7 +366,7 @@ :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> @@ -1034,7 +1034,7 @@ The file was too large (when @@ -1362,7 +1362,7 @@ The file was too large (when @@ -2493,7 +2493,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -2576,7 +2576,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -2737,7 +2737,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -3075,7 +3075,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -3241,7 +3241,7 @@ Calling `DisposeAsync` allows the resources used by the @@ -3322,7 +3322,7 @@ If the absolute path is not known, this property returns a string similar to "[U :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream2/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source1.vb" id="Snippet4"::: ]]> @@ -3796,7 +3796,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> @@ -3946,13 +3946,13 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: The following example reads text in the reverse direction, from the end of file to the beginning of the file, by using the various values with the method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/Seek/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/Seek/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.filestream.seek/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/Seek/source.vb" id="Snippet1"::: ]]> @@ -4181,7 +4181,7 @@ The following example shows how to read from a file asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/fstreamlock.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet1"::: ]]> @@ -4328,7 +4328,7 @@ For a list of common file and directory operations, see [Common I/O Tasks](/dotn :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/fstreamlock.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet3"::: ]]> @@ -4571,7 +4571,7 @@ This method stores in the task it returns all non-usage exceptions that the meth :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.IO/FileStream/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.IO/FileSystemInfo.xml b/xml/System.IO/FileSystemInfo.xml index d44efda9109..797bb5aa84c 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/System.IO/FileSystemInfo/LastAccessTime/touch.vb" id="Snippet00"::: ]]> @@ -1267,7 +1267,7 @@ The `Extension` property returns the extension, The following code example demonstrates the updating of the property through a "touch" operation. In this example, the file is "touched", updating the , and properties to the current date and time. :::code language="csharp" source="~/snippets/csharp/System.IO/FileSystemInfo/LastAccessTime/touch.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileSystemInfo_touch/vb/touch.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileSystemInfo/LastAccessTime/touch.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/IOException.xml b/xml/System.IO/IOException.xml index 45bcfcd9c34..941675938e6 100644 --- a/xml/System.IO/IOException.xml +++ b/xml/System.IO/IOException.xml @@ -106,7 +106,7 @@ This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.IO/FileStream/.ctor/fstreamlock.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.FileStream3/VB/fstreamlock.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/FileStream/.ctor/fstreamlock.vb" id="Snippet6"::: ]]> diff --git a/xml/System.IO/MemoryStream.xml b/xml/System.IO/MemoryStream.xml index 0bb525541df..eae5fb61fa5 100644 --- a/xml/System.IO/MemoryStream.xml +++ b/xml/System.IO/MemoryStream.xml @@ -104,7 +104,7 @@ The following code example shows how to read and write data using memory as a backing store. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet1"::: ]]> @@ -319,7 +319,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet2"::: ]]> @@ -1039,7 +1039,7 @@ Refer to the remarks for additional usage This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1692,7 +1692,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1796,7 +1796,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet5"::: ]]> @@ -1944,7 +1944,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet7"::: ]]> @@ -2159,7 +2159,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet8"::: ]]> @@ -2238,7 +2238,7 @@ The pending operation does not support writing. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet6"::: ]]> @@ -2602,7 +2602,7 @@ The underlying buffer will not be exposed if the current `MemoryStream` instance This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet3"::: ]]> @@ -2825,7 +2825,7 @@ The underlying buffer will not be exposed if the current `MemoryStream` instance This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/MemoryStream/Overview/memstream.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.MemoryStream/VB/memstream.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/MemoryStream/Overview/memstream.vb" id="Snippet4"::: ]]> diff --git a/xml/System.IO/Path.xml b/xml/System.IO/Path.xml index 0ce1b191c3a..207f4dcfafe 100644 --- a/xml/System.IO/Path.xml +++ b/xml/System.IO/Path.xml @@ -270,7 +270,7 @@ The following example displays field values on Windows and The following example demonstrates a use of the `ChangeExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines an array of strings into a path. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet3"::: ]]> @@ -596,7 +596,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines three paths. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet1"::: ]]> @@ -680,7 +680,7 @@ If any element in `paths` but the last one is not a drive and does not end with The following example combines four paths. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/Combine/program1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.path.combine/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/Combine/program.vb" id="Snippet2"::: ]]> @@ -1046,7 +1046,7 @@ For a list of common I/O tasks, see [Common I/O tasks](/dotnet/standard/io/commo The following example demonstrates using the `GetDirectoryName` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet3"::: ]]> @@ -1172,7 +1172,7 @@ This method obtains the extension of `path` by searching `path` for a period (.) The following example demonstrates using the `GetExtension` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet4"::: ]]> @@ -1300,7 +1300,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates the behavior of the `GetFileName` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet5"::: ]]> @@ -1417,7 +1417,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates a use of the `GetFileNameWithoutExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet6"::: ]]> @@ -1509,7 +1509,7 @@ For more information on file path formats on Windows, see [File path formats on The following example demonstrates the `GetFullPath` method on a Windows-based desktop platform. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet7"::: ]]> @@ -1898,7 +1898,7 @@ For more information on file paths on Windows, see [File path formats on Windows The following example demonstrates a use of the `GetPathRoot` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet8"::: ]]> @@ -1969,7 +1969,7 @@ Unlike , method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers20.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers20.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers20.vb" id="Snippet20"::: ]]> @@ -2331,7 +2331,7 @@ A trailing period in `path` is not considered an extension. The following example demonstrates the use of the `HasExtension` method. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet11"::: ]]> @@ -2410,7 +2410,7 @@ The array returned from this method is not guaranteed to contain the complete se The following example demonstrates the use of the `InvalidPathChars` property. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> @@ -2675,7 +2675,7 @@ Note that rooted paths can be either absolute (that is, fully qualified) or rela The following example demonstrates how the `IsPathRooted` method can be used to test three strings. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet12"::: ]]> @@ -3293,7 +3293,7 @@ Not all invalid characters for directory and file names are interpreted as unacc The following example demonstrates the use of the `PathSeparator` field. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> @@ -3572,7 +3572,7 @@ The destination character span must be large enough to hold the concatenated pat The following example demonstrates the use of the `VolumeSeparatorChar` field. :::code language="csharp" source="~/snippets/csharp/System.IO/Path/ChangeExtension/pathmembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.Path Members/VB/pathmembers.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/Path/ChangeExtension/pathmembers.vb" id="Snippet13"::: ]]> diff --git a/xml/System.IO/SearchOption.xml b/xml/System.IO/SearchOption.xml index eba64da1db6..463ab89eead 100644 --- a/xml/System.IO/SearchOption.xml +++ b/xml/System.IO/SearchOption.xml @@ -75,7 +75,7 @@ The following example lists all the directories and files that begin with the letter "c", as in "c:\\". In this example, is used to specify that only the top-level directory should be searched. :::code language="csharp" source="~/snippets/csharp/System.IO/DirectoryInfo/GetDirectories/searchoption.cs" id="Snippet00"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.DirectoryInfo_SearchOptions/vb/searchoption.vb" id="Snippet00"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/DirectoryInfo/GetDirectories/searchoption.vb" id="Snippet00"::: ]]> diff --git a/xml/System.IO/SeekOrigin.xml b/xml/System.IO/SeekOrigin.xml index 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..4f764e55282 100644 --- a/xml/System.IO/Stream.xml +++ b/xml/System.IO/Stream.xml @@ -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"::: ]]> diff --git a/xml/System.IO/StreamReader.xml b/xml/System.IO/StreamReader.xml index d2fd92b04ad..abe50199131 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/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/streamreadersample.vb" id="Snippet2"::: ]]> @@ -461,7 +461,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -547,7 +547,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -700,7 +700,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -798,7 +798,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -897,7 +897,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1000,7 +1000,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1102,7 +1102,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/streamreadersample.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/streamreadersample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/streamreadersample.vb" id="Snippet2"::: ]]> @@ -1526,7 +1526,7 @@ Following a call to , any operations on th The following example shows a scenario where the method must be called to synchronize the internal buffer and the underlying stream. The file in the example is used to illustrate position and consists of the text `abcdefghijklmnopqrstuvwxyz`. By calling after the data is read, the example works as expected. After the first 15 characters are read, the position is reset to the offset value of 2 and all the remaining characters are read. If you remove the call to , the example does not work as expected. The first 15 characters are read, but only the position of the underlying stream is reset. The internal buffer of the object is still on the 16th character. Therefore, returns all the characters in the buffer plus the characters in the underlying stream starting from the reset position. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/module1.vb" id="Snippet30"::: ]]> @@ -2165,7 +2165,7 @@ Following a call to , any operations on th The following example shows how to read all the characters in a file by using the method. It checks whether each character is a letter, digit, or white space before adding the character to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example42.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb" id="Snippet42"::: ]]> @@ -2573,7 +2573,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read the first line of a file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example41.cs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example41.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example41.vb" id="Snippet41"::: ]]> @@ -2792,7 +2792,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read the contents of a file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example40.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example40.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example40.vb" id="Snippet40"::: ]]> diff --git a/xml/System.IO/StreamWriter.xml b/xml/System.IO/StreamWriter.xml index 209f7bcc58a..332379b6364 100644 --- a/xml/System.IO/StreamWriter.xml +++ b/xml/System.IO/StreamWriter.xml @@ -202,7 +202,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program1.vb" id="Snippet1"::: ]]> @@ -286,7 +286,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program5.vb" id="Snippet5"::: ]]> @@ -391,7 +391,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program2.vb" id="Snippet2"::: ]]> @@ -479,7 +479,7 @@ The following code example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program6.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program6.vb" id="Snippet6"::: ]]> @@ -633,7 +633,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program3.vb" id="Snippet3"::: ]]> @@ -733,7 +733,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program7.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program7.vb" id="Snippet7"::: ]]> @@ -892,7 +892,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program4.vb" id="Snippet4"::: ]]> @@ -990,7 +990,7 @@ The following example demonstrates this constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/.ctor/program8.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.streamwriter.ctor/vb/program8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/.ctor/program8.vb" id="Snippet8"::: ]]> @@ -1082,7 +1082,7 @@ The following example shows the syntax for using the `AutoFlush` property. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet5"::: ]]> @@ -1213,7 +1213,7 @@ The following code example demonstrates the `Close` method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet17"::: ]]> @@ -1397,7 +1397,7 @@ The following example retrieves the encoding of the specified instance. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet11"::: ]]> @@ -1675,7 +1675,7 @@ For a list of common I/O tasks, see [Common I/O Tasks](/dotnet/standard/io/commo The following example demonstrates a use of the `Null` field. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/logger.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/logger.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/logger.vb" id="Snippet6"::: ]]> @@ -2478,7 +2478,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a single character (the letter "a") to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example20.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example20.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example20.vb" id="Snippet20"::: ]]> @@ -2560,7 +2560,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a string to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example21.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example21.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example21.vb" id="Snippet21"::: ]]> @@ -2691,7 +2691,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write multiple characters to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example24.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example24.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example24.vb" id="Snippet24"::: ]]> @@ -3294,7 +3294,7 @@ See method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example22.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example22.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example22.vb" id="Snippet22"::: ]]> @@ -3377,7 +3377,7 @@ See method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example23.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb" id="Snippet23"::: ]]> @@ -3517,7 +3517,7 @@ The line terminator is defined by the fi The following example shows how to write characters to two separate lines in a text file by using the method. The first line contains the first 11 characters from the string (the letters "First line" followed by a space). The second line contains the remaining characters from the string (the letters "and second line"). :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example25.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example25.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example25.vb" id="Snippet25"::: ]]> diff --git a/xml/System.IO/StringReader.xml b/xml/System.IO/StringReader.xml index c5fdc1282dc..35ea818f62c 100644 --- a/xml/System.IO/StringReader.xml +++ b/xml/System.IO/StringReader.xml @@ -113,7 +113,7 @@ The following example shows how to read an entire string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb" id="Snippet2"::: ]]> @@ -202,7 +202,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet2"::: ]]> @@ -515,7 +515,7 @@ This implementation of `Close` calls the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet3"::: ]]> @@ -781,7 +781,7 @@ This implementation of `Close` calls the @@ -1065,7 +1065,7 @@ This implementation of `Close` calls the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet2"::: ]]> @@ -1140,7 +1140,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read one line at a time from a string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example3.vb" id="Snippet3"::: ]]> @@ -1276,7 +1276,7 @@ This method stores in the task it returns all non-usage exceptions that the meth This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/ReadToEnd/textrw.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.TextReaderWriter/VB/textrw.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/ReadToEnd/textrw.vb" id="Snippet5"::: ]]> @@ -1350,7 +1350,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to read an entire string asynchronously. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringreader/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/Overview/example2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.IO/StringWriter.xml b/xml/System.IO/StringWriter.xml index 8f7ac0156bc..3e17a1c28a0 100644 --- a/xml/System.IO/StringWriter.xml +++ b/xml/System.IO/StringWriter.xml @@ -113,7 +113,7 @@ The following code example demonstrates the creation of a continuous paragraph from a group of double-spaced sentences, and then the conversion of the paragraph back to the original text. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet1"::: ]]> @@ -211,7 +211,7 @@ The following code example demonstrates how to construct a string using the `StringWriter` class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet1"::: ]]> @@ -301,7 +301,7 @@ The following code example demonstrates how to construct a string in a specific culture. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb" id="Snippet1"::: ]]> @@ -390,7 +390,7 @@ The following code example demonstrates using the class to modify the underlying string in a closed `StringWriter`. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb" id="Snippet1"::: ]]> @@ -554,7 +554,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter3/VB/strwriter3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter3.vb" id="Snippet2"::: ]]> @@ -710,7 +710,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet4"::: ]]> @@ -842,7 +842,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet3"::: ]]> @@ -923,7 +923,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter2/VB/strwriter2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter2.vb" id="Snippet2"::: ]]> @@ -1026,7 +1026,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet2"::: ]]> @@ -1166,7 +1166,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StringReader/.ctor/stringrw.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringReaderWriter/VB/stringrw.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringReader/.ctor/stringrw.vb" id="Snippet3"::: ]]> @@ -1302,7 +1302,7 @@ This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/.ctor/strwriter1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StringWriter1/VB/strwriter1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/.ctor/strwriter1.vb" id="Snippet2"::: ]]> @@ -1394,7 +1394,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example5.vb" id="Snippet5"::: ]]> @@ -1476,7 +1476,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write a string by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example4.vb" id="Snippet4"::: ]]> @@ -1660,7 +1660,7 @@ This method stores in the task it returns all non-usage exceptions that the meth The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example6.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example6.vb" id="Snippet6"::: ]]> @@ -1838,7 +1838,7 @@ The line terminator is defined by the pro The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example2.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example2.vb" id="Snippet2"::: ]]> @@ -1921,7 +1921,7 @@ The line terminator is defined by the pro The following example shows how to write a string by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example.vb" id="Snippet1"::: ]]> The string writer is disposed. @@ -2105,7 +2105,7 @@ The line terminator is defined by the pro The following example shows how to write characters by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StringWriter/WriteAsync/example3.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.stringwriter/vb/example3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/StringWriter/WriteAsync/example3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.IO/TextReader.xml b/xml/System.IO/TextReader.xml index aae1bdca9e3..13cd233e90e 100644 --- a/xml/System.IO/TextReader.xml +++ b/xml/System.IO/TextReader.xml @@ -109,7 +109,7 @@ The class is an abstract class. Therefore, you do not instantiate it in your code. The class derives from and provides implementations of the members for reading from a stream. The following example shows how to read all the characters in a file by using the method. It checks whether each character is a letter, digit, or white space before adding the character to an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamReader/Overview/example42.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamReader/VB/example42.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamReader/Overview/example42.vb" id="Snippet42"::: ]]> diff --git a/xml/System.IO/TextWriter.xml b/xml/System.IO/TextWriter.xml index 58d33a6d102..4265425f61b 100644 --- a/xml/System.IO/TextWriter.xml +++ b/xml/System.IO/TextWriter.xml @@ -121,7 +121,7 @@ The class is an abstract class. Therefore, you do not instantiate it in your code. The class derives from and provides implementations of the members for writing to a stream. The following example shows how to write two lines that consist of string values to a text file by using the method. :::code language="csharp" source="~/snippets/csharp/System.IO/StreamWriter/AutoFlush/example23.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IO.StreamWriter/VB/example23.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.IO/StreamWriter/AutoFlush/example23.vb" id="Snippet23"::: ]]> diff --git a/xml/System.IO/WindowsRuntimeStorageExtensions.xml b/xml/System.IO/WindowsRuntimeStorageExtensions.xml index 10f40978dff..91e76104d93 100644 --- a/xml/System.IO/WindowsRuntimeStorageExtensions.xml +++ b/xml/System.IO/WindowsRuntimeStorageExtensions.xml @@ -44,7 +44,7 @@ The WindowsRuntimeStorageExtensions class contains two methods that extend in a Windows Store app, and write to it by using an instance of the class. It then reads the contents for the file by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb" id="Snippet8"::: The next example shows the XAML code that is associated with the previous example. @@ -114,7 +114,7 @@ The key benefit of the API is access to a brokered `SafeFileHandle`. This is cri The following example shows how to open a file as a in a Windows Store app, and read its contents by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: The next example shows the XAML code that is associated with the previous example. @@ -170,7 +170,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and read its contents by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: The next example shows the XAML code that is associated with the previous example. @@ -225,7 +225,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and write to it by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage3.xaml.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage3.xaml.vb" id="Snippet6"::: The next example shows the XAML code that is associated with the previous example. @@ -283,7 +283,7 @@ The next example shows the XAML code that is associated with the previous exampl The following example shows how to open a file as a in a Windows Store app, and write to it by using an instance of the class. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.cs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestorageextensions/vb/blankpage4.xaml.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStorageExtensions/Overview/blankpage4.xaml.vb" id="Snippet8"::: The next example shows the XAML code that is associated with the previous example. diff --git a/xml/System.IO/WindowsRuntimeStreamExtensions.xml b/xml/System.IO/WindowsRuntimeStreamExtensions.xml index eaff841cfd6..e4f22d58714 100644 --- a/xml/System.IO/WindowsRuntimeStreamExtensions.xml +++ b/xml/System.IO/WindowsRuntimeStreamExtensions.xml @@ -49,7 +49,7 @@ Starting with the .NET Framework 4.5.1, the `WindowsRuntimeStreamExtensions` cla The following example shows how to use the and :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. @@ -99,7 +99,7 @@ Here's the XAML code that is associated with the previous example. The following example shows how to use the `AsInputStream` and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: Here's the XAML code that is associated with the previous example. @@ -153,7 +153,7 @@ Here's the XAML code that is associated with the previous example. The following example shows how to use the and `AsOutputStream`> methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage2.xaml.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage2.xaml.vb" id="Snippet4"::: Here's the XAML code that is associated with the previous example. @@ -343,7 +343,7 @@ A default buffer size of 16,384 bytes is used when converting the stream. To spe The following example shows how to use the and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. @@ -445,7 +445,7 @@ A default buffer size of 16,384 bytes is used when converting the stream. To spe The following example shows how to use the and methods to convert a managed stream to and from a stream in the Windows Runtime. :::code language="csharp" source="~/snippets/csharp/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.io.windowsruntimestreamextensions/vb/blankpage.xaml.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.IO/WindowsRuntimeStreamExtensions/Overview/blankpage.xaml.vb" id="Snippet2"::: Here's the XAML code that is associated with the previous example. diff --git a/xml/System.Linq.Expressions/BinaryExpression.xml b/xml/System.Linq.Expressions/BinaryExpression.xml index ca99287c50e..d95966d810b 100644 --- a/xml/System.Linq.Expressions/BinaryExpression.xml +++ b/xml/System.Linq.Expressions/BinaryExpression.xml @@ -66,7 +66,7 @@ The following example creates a object that represents the subtraction of one number from another. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet8"::: ]]> diff --git a/xml/System.Linq.Expressions/BlockExpression.xml b/xml/System.Linq.Expressions/BlockExpression.xml index 17d95b41dff..8d1a8ab7fab 100644 --- a/xml/System.Linq.Expressions/BlockExpression.xml +++ b/xml/System.Linq.Expressions/BlockExpression.xml @@ -67,7 +67,7 @@ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> diff --git a/xml/System.Linq.Expressions/ConditionalExpression.xml b/xml/System.Linq.Expressions/ConditionalExpression.xml index d01f4ed6a10..9c8d157784f 100644 --- a/xml/System.Linq.Expressions/ConditionalExpression.xml +++ b/xml/System.Linq.Expressions/ConditionalExpression.xml @@ -74,7 +74,7 @@ The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq.Expressions/ConstantExpression.xml b/xml/System.Linq.Expressions/ConstantExpression.xml index 963ca1bc560..0464021c218 100644 --- a/xml/System.Linq.Expressions/ConstantExpression.xml +++ b/xml/System.Linq.Expressions/ConstantExpression.xml @@ -74,7 +74,7 @@ The following code example shows how to create an expression that represents a constant value by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Linq.Expressions/DefaultExpression.xml b/xml/System.Linq.Expressions/DefaultExpression.xml index 78547c81989..b6f585b1dbf 100644 --- a/xml/System.Linq.Expressions/DefaultExpression.xml +++ b/xml/System.Linq.Expressions/DefaultExpression.xml @@ -62,7 +62,7 @@ The following code example shows how to create an expression that represents a default value for a given type by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Linq.Expressions/ElementInit.xml b/xml/System.Linq.Expressions/ElementInit.xml index a662316789b..9bd2ca4f12e 100644 --- a/xml/System.Linq.Expressions/ElementInit.xml +++ b/xml/System.Linq.Expressions/ElementInit.xml @@ -68,7 +68,7 @@ The following example creates an that represents the initialization of an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Linq.Expressions/Expression.xml b/xml/System.Linq.Expressions/Expression.xml index 004f61368b8..d45c2336b3c 100644 --- a/xml/System.Linq.Expressions/Expression.xml +++ b/xml/System.Linq.Expressions/Expression.xml @@ -59,7 +59,7 @@ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> @@ -303,7 +303,7 @@ The following code example shows how to create an expression that adds two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that adds a value to an integer variable and then assigns the result of the operation to the variable. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet18"::: ]]> @@ -1085,7 +1085,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a logical AND operation on two Boolean values. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet2"::: ]]> @@ -1301,7 +1301,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that performs a logical AND operation on its two operands only if the first operand evaluates to `true`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet19"::: ]]> @@ -1697,7 +1697,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to change the value of an element in a multidimensional array by using the `ArrayAccess` method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet21"::: ]]> @@ -1774,7 +1774,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to change a value of an array element by using the `ArrayAccess` method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet20"::: ]]> @@ -1854,7 +1854,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create a that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> @@ -2011,7 +2011,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create a that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> @@ -2146,7 +2146,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents an assignment operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet12"::: ]]> @@ -2433,7 +2433,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create a block expression. The block expression consists of two objects and one object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet13"::: ]]> @@ -2504,7 +2504,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to pass a parameter to a block expression and process this parameter within a block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet14"::: ]]> @@ -3100,7 +3100,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create an expression that contains a object that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -3362,7 +3362,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that calls a method without arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet15"::: ]]> @@ -3490,7 +3490,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create an expression that calls a `static` (`Shared` in Visual Basic) method that takes one argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet16"::: ]]> @@ -3910,7 +3910,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that calls an instance method that has two arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet17"::: ]]> @@ -4931,7 +4931,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: ]]> @@ -5084,7 +5084,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a constant value. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet4"::: ]]> @@ -5156,7 +5156,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a constant of the nullable type and set its value to `null`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet22"::: ]]> @@ -5228,7 +5228,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to create a loop expression that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet46"::: ]]> @@ -5388,7 +5388,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a type conversion operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet23"::: ]]> @@ -5845,7 +5845,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that subtracts 1 from a given value. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet5"::: ]]> @@ -5964,7 +5964,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents a default value for a given type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet6"::: ]]> @@ -6072,7 +6072,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that divides its first argument by its second argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet7"::: ]]> @@ -6840,7 +6840,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create an that represents calling the method to initialize an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> @@ -6935,7 +6935,7 @@ The following code example shows how to create an expression that adds two integ The following example demonstrates how to use the method to create an that represents calling the method to initialize an element of a dictionary collection. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet4"::: ]]> @@ -7008,7 +7008,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an empty expression and add it to a block expression. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet31"::: ]]> @@ -7114,7 +7114,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that checks whether the values of its two arguments are equal. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet8"::: ]]> @@ -7326,7 +7326,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents the logical XOR operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet9"::: ]]> @@ -7782,7 +7782,7 @@ The following code example shows how to create an expression that adds two integ The following code example shows how to create an expression that represents accessing a field. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet37"::: ]]> @@ -8142,7 +8142,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet45"::: ]]> @@ -8424,7 +8424,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet10"::: ]]> @@ -8638,7 +8638,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet11"::: ]]> @@ -8802,7 +8802,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a conditional block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet32"::: ]]> @@ -8862,7 +8862,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a conditional block. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet33"::: ]]> @@ -8941,7 +8941,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents an increment operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet24"::: ]]> @@ -9093,7 +9093,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an that represents the invocation of a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> @@ -9184,7 +9184,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an that represents the invocation of a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> @@ -9499,7 +9499,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> @@ -9667,7 +9667,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use a object in a loop expression. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -10240,7 +10240,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a lambda expression that adds 1 to the passed argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet42"::: ]]> @@ -11731,7 +11731,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet25"::: ]]> @@ -11945,7 +11945,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that compares two integers. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet26"::: ]]> @@ -12411,7 +12411,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of a new dictionary instance with two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> @@ -12585,7 +12585,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of a new dictionary instance with two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> @@ -13036,7 +13036,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a block expression that contains a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> @@ -13185,7 +13185,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the subtraction of one number from another. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet8"::: ]]> @@ -14558,7 +14558,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates an expression that creates a new object and initializes a property of the object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet40"::: ]]> @@ -14632,7 +14632,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the initialization of two members of a new object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet9"::: ]]> @@ -15143,7 +15143,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that multiplies two values. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet27"::: ]]> @@ -15943,7 +15943,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents an arithmetic negation operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet50"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet50"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet50"::: ]]> @@ -16379,7 +16379,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents constructing a new instance of a dictionary object by calling the constructor without parameters. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet10"::: ]]> @@ -16840,7 +16840,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a string array that has a rank of 2. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> @@ -16926,7 +16926,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a string array that has a rank of 2. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> @@ -17020,7 +17020,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a one-dimensional string array that is initialized with a list of string expressions. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: ]]> @@ -17109,7 +17109,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create an expression tree that represents creating a one-dimensional string array that is initialized with a list of string expressions. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: ]]> @@ -17271,7 +17271,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a logical NOT operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet51"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet51"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet51"::: ]]> @@ -17804,7 +17804,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a logical OR operation. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet28"::: ]]> @@ -18217,7 +18217,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that represents a logical `OR` operation that evaluates the second operand only if the first operand evaluates to `false`. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet29"::: ]]> @@ -18407,7 +18407,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that prints the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet49"::: ]]> @@ -19606,7 +19606,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example shows how to create an expression that represents accessing a property. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet38"::: ]]> @@ -19948,7 +19948,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example shows how to create an expression that represents accessing a property or field. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet39"::: ]]> @@ -20476,7 +20476,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that contains the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> @@ -21213,7 +21213,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following code example shows how to create an expression that subtracts the argument from the first argument. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet30"::: ]]> @@ -22004,7 +22004,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement without a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet34"::: ]]> @@ -22092,7 +22092,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement that has a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> @@ -22469,7 +22469,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create an expression that represents a switch statement that has a default case. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> @@ -22808,7 +22808,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that uses the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> @@ -22984,7 +22984,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that contains a catch statement. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> @@ -23069,7 +23069,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to create a object that contains a catch statement and a finally statement. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet48"::: ]]> @@ -23383,7 +23383,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The is the type of the expression tree node, whereas the represents the static common language runtime (CLR) type of the expression that the node represents. For example, two nodes with different node types can have the same , as shown in the following code example. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet36"::: ]]> @@ -23447,7 +23447,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents the reference conversion of a non-nullable integer expression to the nullable integer type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet11"::: ]]> @@ -23561,7 +23561,7 @@ As with `Func`, the last argument is the return type. It can be set to `System.V The following example demonstrates how to use the method to create a that represents a type test of a string value against the type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Linq.Expressions/Expression`1.xml b/xml/System.Linq.Expressions/Expression`1.xml index c61b652e5a1..332cda0bbfe 100644 --- a/xml/System.Linq.Expressions/Expression`1.xml +++ b/xml/System.Linq.Expressions/Expression`1.xml @@ -88,7 +88,7 @@ The following code example demonstrates how to represent a lambda expression both as executable code in the form of a delegate and as data in the form of an expression tree. It also demonstrates how to turn the expression tree back into executable code by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb" id="Snippet1"::: ]]> @@ -197,7 +197,7 @@ The following code example demonstrates how is used to execute an expression tree. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.ExpressionT/VB/ExpressionT.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/ExpressionTDelegate/Overview/ExpressionT.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq.Expressions/GotoExpression.xml b/xml/System.Linq.Expressions/GotoExpression.xml index 1a458ace2d5..84045c5a1a5 100644 --- a/xml/System.Linq.Expressions/GotoExpression.xml +++ b/xml/System.Linq.Expressions/GotoExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet45"::: ]]> diff --git a/xml/System.Linq.Expressions/IndexExpression.xml b/xml/System.Linq.Expressions/IndexExpression.xml index 9e15f953022..d85b2c21151 100644 --- a/xml/System.Linq.Expressions/IndexExpression.xml +++ b/xml/System.Linq.Expressions/IndexExpression.xml @@ -71,7 +71,7 @@ The following code example shows how to create an object of the type and use it to change a value of an array element by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet20"::: ]]> diff --git a/xml/System.Linq.Expressions/InvocationExpression.xml b/xml/System.Linq.Expressions/InvocationExpression.xml index 98ef53246a3..7a51c5cf095 100644 --- a/xml/System.Linq.Expressions/InvocationExpression.xml +++ b/xml/System.Linq.Expressions/InvocationExpression.xml @@ -79,7 +79,7 @@ The following example creates an that represents invoking a lambda expression with specified arguments. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Linq.Expressions/LabelTarget.xml b/xml/System.Linq.Expressions/LabelTarget.xml index 846fea6c1d5..d39d46d5368 100644 --- a/xml/System.Linq.Expressions/LabelTarget.xml +++ b/xml/System.Linq.Expressions/LabelTarget.xml @@ -58,7 +58,7 @@ The following example demonstrates how to create an expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet43"::: ]]> diff --git a/xml/System.Linq.Expressions/LambdaExpression.xml b/xml/System.Linq.Expressions/LambdaExpression.xml index 81a8acebb06..37f0f0ae941 100644 --- a/xml/System.Linq.Expressions/LambdaExpression.xml +++ b/xml/System.Linq.Expressions/LambdaExpression.xml @@ -76,7 +76,7 @@ The following example demonstrates how to create an expression that represents a lambda expression that adds 1 to the passed argument by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet42"::: ]]> diff --git a/xml/System.Linq.Expressions/ListInitExpression.xml b/xml/System.Linq.Expressions/ListInitExpression.xml index cacf1982a2a..5cc6b8c7016 100644 --- a/xml/System.Linq.Expressions/ListInitExpression.xml +++ b/xml/System.Linq.Expressions/ListInitExpression.xml @@ -70,7 +70,7 @@ The following example creates a that represents the initialization of a new dictionary instance that has two key-value pairs. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Linq.Expressions/LoopExpression.xml b/xml/System.Linq.Expressions/LoopExpression.xml index 162dbe5d209..3238439fa12 100644 --- a/xml/System.Linq.Expressions/LoopExpression.xml +++ b/xml/System.Linq.Expressions/LoopExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create a block expression that contains a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet44"::: ]]> diff --git a/xml/System.Linq.Expressions/MemberExpression.xml b/xml/System.Linq.Expressions/MemberExpression.xml index 6988e7744d7..1ef7936e665 100644 --- a/xml/System.Linq.Expressions/MemberExpression.xml +++ b/xml/System.Linq.Expressions/MemberExpression.xml @@ -74,7 +74,7 @@ The following example creates a that represents getting the value of a field member. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Linq.Expressions/MemberInitExpression.xml b/xml/System.Linq.Expressions/MemberInitExpression.xml index 82cfb2b8d93..4159d748add 100644 --- a/xml/System.Linq.Expressions/MemberInitExpression.xml +++ b/xml/System.Linq.Expressions/MemberInitExpression.xml @@ -70,7 +70,7 @@ The following example creates a that represents the initialization of two members of a new object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Linq.Expressions/MethodCallExpression.xml b/xml/System.Linq.Expressions/MethodCallExpression.xml index 80f77386e4a..982121575d7 100644 --- a/xml/System.Linq.Expressions/MethodCallExpression.xml +++ b/xml/System.Linq.Expressions/MethodCallExpression.xml @@ -83,7 +83,7 @@ The following example creates a object that represents indexing into a two-dimensional array. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq.Expressions/NewArrayExpression.xml b/xml/System.Linq.Expressions/NewArrayExpression.xml index b9565b154f0..97d4997f7be 100644 --- a/xml/System.Linq.Expressions/NewArrayExpression.xml +++ b/xml/System.Linq.Expressions/NewArrayExpression.xml @@ -81,12 +81,12 @@ The following example creates a object that represents creating and initializing a one-dimensional array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet1"::: The next example creates a object that represents creating a two-dimensional array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq.Expressions/NewExpression.xml b/xml/System.Linq.Expressions/NewExpression.xml index 7c809dc847b..5a8a2888e35 100644 --- a/xml/System.Linq.Expressions/NewExpression.xml +++ b/xml/System.Linq.Expressions/NewExpression.xml @@ -83,7 +83,7 @@ The following example creates a that represents the construction of a new instance of a dictionary object. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet10"::: ]]> diff --git a/xml/System.Linq.Expressions/ParameterExpression.xml b/xml/System.Linq.Expressions/ParameterExpression.xml index cfb2d37d924..b3858e19661 100644 --- a/xml/System.Linq.Expressions/ParameterExpression.xml +++ b/xml/System.Linq.Expressions/ParameterExpression.xml @@ -74,7 +74,7 @@ The following example demonstrates how to create a object that prints the value of a object by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet49"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet49"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet49"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchCase.xml b/xml/System.Linq.Expressions/SwitchCase.xml index 4e6ae482bd2..a4f78dc1315 100644 --- a/xml/System.Linq.Expressions/SwitchCase.xml +++ b/xml/System.Linq.Expressions/SwitchCase.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that represents a switch statement without a default case by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet34"::: ]]> diff --git a/xml/System.Linq.Expressions/SwitchExpression.xml b/xml/System.Linq.Expressions/SwitchExpression.xml index b7cf708eb79..548d0e2df89 100644 --- a/xml/System.Linq.Expressions/SwitchExpression.xml +++ b/xml/System.Linq.Expressions/SwitchExpression.xml @@ -62,7 +62,7 @@ The following example demonstrates how to create an expression that represents a switch statement that has a default case by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet35"::: ]]> diff --git a/xml/System.Linq.Expressions/TryExpression.xml b/xml/System.Linq.Expressions/TryExpression.xml index 2788d7ede1c..b034fcb35bb 100644 --- a/xml/System.Linq.Expressions/TryExpression.xml +++ b/xml/System.Linq.Expressions/TryExpression.xml @@ -77,7 +77,7 @@ The following example demonstrates how to create a object that contains a catch statement by using the method. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.linq.expressions.expressiondev10/vb/module1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet47"::: ]]> diff --git a/xml/System.Linq.Expressions/TypeBinaryExpression.xml b/xml/System.Linq.Expressions/TypeBinaryExpression.xml index d2d6bdf0658..6fb53265ceb 100644 --- a/xml/System.Linq.Expressions/TypeBinaryExpression.xml +++ b/xml/System.Linq.Expressions/TypeBinaryExpression.xml @@ -72,7 +72,7 @@ The following example creates a object that represents a type test of a string value against the type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Linq.Expressions/UnaryExpression.xml b/xml/System.Linq.Expressions/UnaryExpression.xml index b9a9c4a5c6d..e5a949a3e28 100644 --- a/xml/System.Linq.Expressions/UnaryExpression.xml +++ b/xml/System.Linq.Expressions/UnaryExpression.xml @@ -82,7 +82,7 @@ The following example creates a object that represents the reference conversion of a non-nullable integer expression to the nullable integer type. :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BinaryExpression/Overview/Expression.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Expressions.Expression/VB/Expression.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BinaryExpression/Overview/Expression.vb" id="Snippet11"::: ]]> diff --git a/xml/System.Linq/Enumerable.xml b/xml/System.Linq/Enumerable.xml index 8e49c9033b5..5c1047f356c 100644 --- a/xml/System.Linq/Enumerable.xml +++ b/xml/System.Linq/Enumerable.xml @@ -139,7 +139,7 @@ The following code example demonstrates how to reverse the order of words in a string by using . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ The following code example demonstrates how to use to apply an accumulator function and use a seed value. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet2"::: ]]> @@ -326,7 +326,7 @@ The following code example demonstrates how to use to apply an accumulator function and a result selector. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet3"::: ]]> @@ -559,12 +559,12 @@ The following code example demonstrates how to use to determine whether all the elements in a sequence satisfy a condition. Variable `allStartWithB` is true if all the pet names start with "B" or if the `pets` array is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet4"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `All` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet129"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet129"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet129"::: ]]> @@ -655,12 +655,12 @@ The following code example demonstrates how to use to determine whether a sequence contains any elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet5"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `Any` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet130"::: ]]> @@ -743,7 +743,7 @@ The following code example demonstrates how to use to determine whether any element in a sequence satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet6"::: ]]> @@ -824,7 +824,7 @@ The following code example demonstrates how to use to append a value to the end of the sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet201"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet201"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet201"::: ]]> @@ -898,7 +898,7 @@ The following code example demonstrates how to use to hide a type's custom `Where` method when the standard query operator implementation is desired. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet108"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet108"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet108"::: ]]> @@ -1085,7 +1085,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet8"::: ]]> @@ -1379,7 +1379,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet12"::: ]]> @@ -1571,7 +1571,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1651,7 +1651,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1728,7 +1728,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -1806,7 +1806,7 @@ The following code example demonstrates how to use to calculate an average. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1886,7 +1886,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -1964,7 +1964,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -2041,7 +2041,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2119,7 +2119,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet16"::: ]]> @@ -2194,7 +2194,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2271,7 +2271,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet18"::: ]]> @@ -2378,7 +2378,7 @@ Dim doubles = From item As Integer In sequence The following code example demonstrates how to use to enable the use of the standard query operators on an . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet19"::: ]]> @@ -2518,12 +2518,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to concatenate two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet20"::: An alternative way of concatenating two sequences is to construct a collection, for example an array, of sequences and then apply the method, passing it the identity selector function. The following example demonstrates this use of . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet112"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet112"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet112"::: ]]> @@ -2613,7 +2613,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to determine whether an array contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet21"::: ]]> @@ -2792,7 +2792,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to count the elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet22"::: ]]> @@ -2872,7 +2872,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use to count the elements in an array that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet23"::: ]]> @@ -3025,12 +3025,12 @@ Each chunk except the last one will be of size `size`. The last chunk will conta This example uses a non-empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet24"::: This example uses an empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet25"::: ]]> @@ -3108,7 +3108,7 @@ Each chunk except the last one will be of size `size`. The last chunk will conta The following code example demonstrates how to use the method and specify a default value. The first sequence is not empty and the second sequence is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet26"::: ]]> @@ -3207,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/AggregateTSource/Enumerable.vb" id="Snippet27"::: If you want to return distinct elements from sequences of objects of some custom data type, you have to implement the generic interface in the class. The following code example shows how to implement this interface in a custom data type and provide and methods. @@ -3595,7 +3595,7 @@ This method throws an exception if `index` is out of range. To instead return a The following code example demonstrates how to use to return an element at a specific position. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet28"::: ]]> @@ -3736,7 +3736,7 @@ The default value for reference and nullable types is `null`. The following code example demonstrates how to use . This example uses an index that is outside the bounds of the array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet29"::: ]]> @@ -3807,12 +3807,12 @@ The default value for reference and nullable types is `null`. The following code example demonstrates how to use to generate an empty . :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet30"::: The following code example demonstrates a possible application of the method. The method is applied to a collection of string arrays. The elements of each array in the collection are added to the resulting only if that array contains four or more elements. is used to generate the seed value for because if no array in the collection has four or more elements, only the empty sequence is returned. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet31"::: ]]> @@ -3909,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/AggregateTSource/Enumerable.vb" id="Snippet34"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override the and methods. @@ -4221,7 +4221,7 @@ Only unique elements are returned. The following code example demonstrates how to use to return the first element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet35"::: ]]> @@ -4296,7 +4296,7 @@ Only unique elements are returned. The following code example demonstrates how to use to return the first element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet36"::: ]]> @@ -4388,12 +4388,12 @@ Only unique elements are returned. The following code example demonstrates how to use on an empty array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet37"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the first element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric months is empty. Because the default value for an integer is 0, which does not correspond to any month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet126"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet126"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet126"::: ]]> @@ -4469,7 +4469,7 @@ Only unique elements are returned. The following code example demonstrates how to use by passing in a predicate. In the second call to the method, there is no element in the array that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet38"::: ]]> @@ -4884,12 +4884,12 @@ Only unique elements are returned. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet39"::: In query expression syntax, a `group by` (C#) or `Group By Into` (Visual Basic) clause translates to an invocation of . The translation of the query expression in the following example is equivalent to the query in the example above. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet122"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet122"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet122"::: > [!NOTE] > In a C# or Visual Basic query expression, the element and key selection expressions occur in the reverse order from their argument positions in a call to the method. @@ -5105,7 +5105,7 @@ Only unique elements are returned. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet15"::: ]]> @@ -5305,7 +5305,7 @@ Only unique elements are returned. The following code example demonstrates how to use to group the projected elements of a sequence and then project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet125"::: ]]> @@ -5544,7 +5544,7 @@ Only unique elements are returned. The following code example demonstrates how to use to perform a grouped join on two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet40"::: ]]> @@ -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/AggregateTSource/Enumerable.vb" id="Snippet41"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override and methods. @@ -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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/Enumerable.vb" id="Snippet45"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the last element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric days of the month is empty. Because the default value for an integer is 0, which does not correspond to any day of the month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet127"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet127"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet127"::: ]]> @@ -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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/Enumerable.vb" id="Snippet84"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the element. The following code example uses both techniques to obtain a default value of 1 if a collection of page numbers is empty. Because the default value for an integer is 0, which is not usually a valid page number, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query has finished executing. The second result variable is obtained by using to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Enumerable/AggregateTSource/enumerable.cs" interactive="try-dotnet-method" id="Snippet128"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vb" id="Snippet128"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Enumerable/AggregateTSource/Enumerable.vb" id="Snippet128"::: ]]> @@ -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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/Enumerable.vb" id="Snippet109"::: If you want to compare sequences of objects of some custom data type, you have to implement the generic interface in a helper class. The following code example shows how to implement this interface in a custom data type and override and methods. @@ -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/AggregateTSource/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/AggregateTSource/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/AggregateTSource/Enumerable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Linq/IGrouping`2.xml b/xml/System.Linq/IGrouping`2.xml index b7b79c59f07..c4620a1ba4d 100644 --- a/xml/System.Linq/IGrouping`2.xml +++ b/xml/System.Linq/IGrouping`2.xml @@ -101,7 +101,7 @@ The example then outputs the key of the object and the property of each value in the object's sequence of values. Notice that to access an object's sequence of values, you simply use the variable itself. :::code language="csharp" source="~/snippets/csharp/System.Linq/IGroupingTKey,TElement/Overview/igrouping.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following example demonstrates how to use the property to label each object in a sequence of objects. The method is used to obtain a sequence of objects. The `foreach` in Visual C# or `For Each` in Visual Basic loop then iterates through each object, outputting its key and the number of values it contains. :::code language="csharp" source="~/snippets/csharp/System.Linq/IGroupingTKey,TElement/Overview/igrouping.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IGrouping/VB/IGrouping.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IGroupingTKey,TElement/Overview/IGrouping.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq/ILookup`2.xml b/xml/System.Linq/ILookup`2.xml index 171c1d93a92..2f11ef1ca69 100644 --- a/xml/System.Linq/ILookup`2.xml +++ b/xml/System.Linq/ILookup`2.xml @@ -84,7 +84,7 @@ The following code example creates an object and iterates through its contents. :::code language="csharp" source="~/snippets/csharp/System.Linq/ILookupTKey,TElement/Overview/ILookup.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.ILookup/vb/ILookup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/ILookupTKey,TElement/Overview/ILookup.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Linq/IOrderedEnumerable`1.xml b/xml/System.Linq/IOrderedEnumerable`1.xml index 3d66385b6ce..edf000e0493 100644 --- a/xml/System.Linq/IOrderedEnumerable`1.xml +++ b/xml/System.Linq/IOrderedEnumerable`1.xml @@ -78,7 +78,7 @@ The following example demonstrates how to perform a primary and secondary ordering on an array of strings. It also demonstrates that the resulting is enumerable. :::code language="csharp" source="~/snippets/csharp/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb" id="Snippet1"::: ]]> @@ -166,7 +166,7 @@ The following code example demonstrates how to use to perform a secondary ordering on an . :::code language="csharp" source="~/snippets/csharp/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.IOrderedEnumerable/VB/IOrderedEnumerable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/IOrderedEnumerableTElement/Overview/IOrderedEnumerable.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Linq/Lookup`2.xml b/xml/System.Linq/Lookup`2.xml index e2f6b82d8b7..83058bc34f4 100644 --- a/xml/System.Linq/Lookup`2.xml +++ b/xml/System.Linq/Lookup`2.xml @@ -99,7 +99,7 @@ The following example creates a from a collection of objects. It then enumerates the and outputs each key and each value in the key's associated collection of values. It also demonstrates how to use the properties and and the methods and . :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet1"::: ]]> @@ -227,7 +227,7 @@ The following example demonstrates how to use to determine whether a contains a specified key. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet4"::: ]]> @@ -293,7 +293,7 @@ The following example demonstrates how to use to determine the number of key/value collection pairs in a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet2"::: ]]> @@ -360,7 +360,7 @@ The following example demonstrates how to use to iterate through the keys and values of a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet5"::: ]]> @@ -424,7 +424,7 @@ The following example demonstrates how to use to index directly into a . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Linq/LookupTKey,TElement/Overview/lookup.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Lookup/VB/Lookup.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/LookupTKey,TElement/Overview/Lookup.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Linq/Queryable.xml b/xml/System.Linq/Queryable.xml index 7438661a584..0ce76496420 100644 --- a/xml/System.Linq/Queryable.xml +++ b/xml/System.Linq/Queryable.xml @@ -147,7 +147,7 @@ The following code example demonstrates how to use to build a sentence from an array of strings. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet1"::: ]]> @@ -246,7 +246,7 @@ The following code example demonstrates how to use to apply an accumulator function when a seed value is provided to the function. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet2"::: ]]> @@ -354,7 +354,7 @@ The following code example demonstrates how to use to apply an accumulator function and a result selector. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet3"::: ]]> @@ -591,12 +591,12 @@ The following code example demonstrates how to use to determine whether all the elements in a sequence satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet4"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `All` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet134"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet134"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet134"::: ]]> @@ -687,12 +687,12 @@ The following code example demonstrates how to use to determine whether a sequence contains any elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet5"::: The Boolean value that the method returns is typically used in the predicate of a `where` clause (`Where` clause in Visual Basic) or a direct call to the method. The following example demonstrates this use of the `Any` method. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet135"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet135"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet135"::: ]]> @@ -777,7 +777,7 @@ The following code example demonstrates how to use to determine whether any element in a sequence satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet6"::: ]]> @@ -994,7 +994,7 @@ The following code example demonstrates how to use to convert an to an . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet125"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet125"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet125"::: ]]> @@ -1069,7 +1069,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1136,7 +1136,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1201,7 +1201,7 @@ The following code example demonstrates how to use to calculate the average of a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1268,7 +1268,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1335,7 +1335,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1400,7 +1400,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1465,7 +1465,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1528,7 +1528,7 @@ The following code example demonstrates how to use to calculate the average of a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1593,7 +1593,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet12"::: ]]> @@ -1658,7 +1658,7 @@ [!INCLUDE[sqo_diff_overload_example_elementtype](~/includes/sqo-diff-overload-example-elementtype-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet8"::: ]]> @@ -1746,7 +1746,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -1834,7 +1834,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -1920,7 +1920,7 @@ The following code example demonstrates how to use to calculate the average length in a sequence of values of type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2008,7 +2008,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2096,7 +2096,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2182,7 +2182,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2268,7 +2268,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2354,7 +2354,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2440,7 +2440,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2526,7 +2526,7 @@ [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet18"::: ]]> @@ -2606,7 +2606,7 @@ The following code example demonstrates how to use to convert objects in a sequence to type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet19"::: ]]> @@ -2759,7 +2759,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to concatenate two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet20"::: ]]> @@ -2852,7 +2852,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine whether a sequence contains a specific element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet21"::: ]]> @@ -3027,7 +3027,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet22"::: ]]> @@ -3112,7 +3112,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in a sequence that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet23"::: ]]> @@ -3267,7 +3267,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code examples demonstrate how to use to provide a default value in case the source sequence is empty. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet24"::: ]]> @@ -3349,7 +3349,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example shows a situation in which it is useful to call in a LINQ query. A default value is passed to in this example. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet25"::: ]]> @@ -3439,7 +3439,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return distinct elements from a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet27"::: ]]> @@ -3800,7 +3800,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return an element at a specific position in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet28"::: ]]> @@ -3943,7 +3943,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use . This example uses a value for `index` that is outside the bounds of the source sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet29"::: ]]> @@ -4035,7 +4035,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return those elements that only appear in the first source sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet34"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet34"::: ]]> @@ -4348,7 +4348,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the first element in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet35"::: ]]> @@ -4433,7 +4433,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the first element of a sequence that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet36"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet36"::: ]]> @@ -4532,12 +4532,12 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use on an empty sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet37"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the first element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric months is empty. Because the default value for an integer is 0, which does not correspond to any month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet131"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet131"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet131"::: ]]> @@ -4623,7 +4623,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use by passing in a predicate. In the second query, there is no element in the sequence that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet38"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet38"::: ]]> @@ -4842,7 +4842,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet14"::: ]]> @@ -5041,7 +5041,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet39"::: ]]> @@ -5251,7 +5251,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet15"::: ]]> @@ -5472,7 +5472,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to group the elements of a sequence and project a sequence of results of type `TResult`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet130"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet130"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet130"::: ]]> @@ -5716,7 +5716,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to perform a grouped join on two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet40"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet40"::: ]]> @@ -5982,7 +5982,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the elements that appear in each of two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet41"::: ]]> @@ -6336,7 +6336,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to perform an inner join of two sequences based on a common key. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet42"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet42"::: ]]> @@ -6545,7 +6545,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the last element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet43"::: ]]> @@ -6630,7 +6630,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to return the last element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet44"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet44"::: ]]> @@ -6729,12 +6729,12 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use on an empty array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet45"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the last element. The following code example uses both techniques to obtain a default value of 1 if a collection of numeric days of the month is empty. Because the default value for an integer is 0, which does not correspond to any day of the month, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet132"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet132"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet132"::: ]]> @@ -6820,7 +6820,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use by passing in a predicate. In the second call to the method, there is no element in the sequence that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet46"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet46"::: ]]> @@ -7203,7 +7203,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet47"::: ]]> @@ -7288,7 +7288,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to count the elements in an array that satisfy a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet48"::: ]]> @@ -7370,7 +7370,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the maximum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet52"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet52"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet52"::: ]]> @@ -7529,7 +7529,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the maximum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet58"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet58"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet58"::: ]]> @@ -7827,7 +7827,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the minimum value in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet60"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet60"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet60"::: ]]> @@ -7987,7 +7987,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use to determine the minimum value in a sequence of projected values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet68"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet68"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet68"::: ]]> @@ -8284,7 +8284,7 @@ The last chunk will contain the remaining elements and may be of a smaller size. The following code example demonstrates how to use `OfType` to filter out elements that are not of type from a list of elements of type . :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet69"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet69"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet69"::: ]]> @@ -8539,7 +8539,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to sort the elements of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet70"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet70"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet70"::: ]]> @@ -8832,7 +8832,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to sort the elements of a sequence in descending order by using a custom comparer. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet71"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet71"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet71"::: ]]> @@ -9124,7 +9124,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to reverse the order of elements in an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet74"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet74"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet74"::: ]]> @@ -9404,7 +9404,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to project over a sequence of values and use the index of each element in the projected form. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet76"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet76"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet76"::: ]]> @@ -9497,7 +9497,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to project over a sequence of values. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet75"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet75"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet75"::: ]]> @@ -9600,7 +9600,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet77"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet77"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet77"::: ]]> @@ -9693,7 +9693,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array and use the index of each source element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet78"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet78"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet78"::: ]]> @@ -9797,7 +9797,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to perform a one-to-many projection over an array. This example uses a result selector function to keep the source element that corresponds to each intermediate sequence in scope for the final call to `Select`. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet124"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet124"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet124"::: ]]> @@ -9986,12 +9986,12 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to determine whether two sequences are equal. In this example the sequences are equal. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet32"::: The following code example compares two sequences that are not equal. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet33"::: ]]> @@ -10208,7 +10208,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet79"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet79"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet79"::: ]]> @@ -10298,7 +10298,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array that satisfies a condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet81"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet81"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet81"::: ]]> @@ -10400,12 +10400,12 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array. The second query demonstrates that returns a default value when the sequence does not contain exactly one element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet83"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet83"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet83"::: Sometimes the value of `default(TSource)` is not the default value that you want to use if the collection contains no elements. Instead of checking the result for the unwanted default value and then changing it if necessary, you can use the method to specify the default value that you want to use if the collection is empty. Then, call to obtain the element. The following code example uses both techniques to obtain a default value of 1 if a collection of page numbers is empty. Because the default value for an integer is 0, which is not usually a valid page number, the default value must be specified as 1 instead. The first result variable is checked for the unwanted default value after the query is completed. The second result variable is obtained by calling to specify a default value of 1. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet133"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet133"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet133"::: ]]> @@ -10492,7 +10492,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to select the only element of an array that satisfies a condition. The second query demonstrates that returns a default value when the sequence does not contain exactly one element that satisfies the condition. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet85"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet85"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet85"::: ]]> @@ -10691,7 +10691,7 @@ The query behavior that occurs as a result of executing an expression tree The following code example demonstrates how to use to skip a specified number of elements in a sorted array and return the remaining elements. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet87"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet87"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet87"::: ]]> @@ -10853,7 +10853,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet88"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet88"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet88"::: ]]> @@ -10937,7 +10937,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to skip elements of an array as long as a condition that depends on the element's index is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet89"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet89"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet89"::: ]]> @@ -11456,7 +11456,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet121"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet121"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet121"::: ]]> @@ -11519,7 +11519,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to sum the values of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet120"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet120"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet120"::: ]]> @@ -11605,7 +11605,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11690,7 +11690,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11776,7 +11776,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11863,7 +11863,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -11950,7 +11950,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12037,7 +12037,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12123,7 +12123,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12210,7 +12210,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12297,7 +12297,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12383,7 +12383,7 @@ If `count` is not a positive number, this method returns an identical copy of th [!INCLUDE[sqo_diff_overload_example_func](~/includes/sqo-diff-overload-example-func-md.md)] :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet98"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet98"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet98"::: ]]> @@ -12465,7 +12465,7 @@ If `count` is not a positive number, this method returns an identical copy of th The following code example demonstrates how to use to return elements from the start of a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet99"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet99"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet99"::: ]]> @@ -12683,7 +12683,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet100"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet100"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet100"::: ]]> @@ -12767,7 +12767,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to return elements from the start of a sequence as long as a condition that uses the index of the element is true. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet101"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet101"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet101"::: ]]> @@ -12870,7 +12870,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet102"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet102"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet102"::: ]]> @@ -13163,7 +13163,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to perform a secondary ordering of the elements in a sequence in descending order by using a custom comparer. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" id="Snippet103"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet103"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet103"::: ]]> @@ -13255,7 +13255,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to obtain the set union of two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet109"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet109"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet109"::: ]]> @@ -13576,7 +13576,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to filter a sequence. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet110"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet110"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet110"::: ]]> @@ -13660,7 +13660,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use to filter a sequence based on a predicate that incorporates the index of each element. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet111"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet111"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet111"::: ]]> @@ -13837,7 +13837,7 @@ If `count` is not a positive number, this method returns an empty queryable sequ The following code example demonstrates how to use the method to merge two sequences. :::code language="csharp" source="~/snippets/csharp/System.Linq/Queryable/AggregateTSource/queryable.cs" interactive="try-dotnet-method" id="Snippet200"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet200"::: + :::code language="vb" source="~/snippets/visualbasic/System.Linq/Queryable/AggregateTSource/queryable.vb" id="Snippet200"::: ]]> diff --git a/xml/System.Numerics/BigInteger.xml b/xml/System.Numerics/BigInteger.xml index 33589c9755a..7a864715ec8 100644 --- a/xml/System.Numerics/BigInteger.xml +++ b/xml/System.Numerics/BigInteger.xml @@ -318,19 +318,19 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet1"::: The following example instantiates a positive and a negative value, passes them to the method, and then restores the original values from the resulting byte array. Note that the two values are represented by identical byte arrays. The only difference between them is in the most significant bit of the last element in the byte array. This bit is set (the value of the byte is 0xFF) if the array is created from a negative value. The bit is not set (the value of the byte is zero), if the array is created from a positive value. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet2"::: The following example illustrates how to make sure that a positive value is not incorrectly instantiated as a negative value by adding a byte whose value is zero to the end of the array. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example1.vb" id="Snippet3"::: ]]> @@ -391,7 +391,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet4"::: ]]> @@ -451,7 +451,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet5"::: ]]> @@ -513,7 +513,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet6"::: ]]> @@ -571,7 +571,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet7"::: ]]> @@ -631,7 +631,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet8"::: ]]> @@ -697,7 +697,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet9"::: ]]> @@ -762,7 +762,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/.ctor/Example2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/.ctor/Example2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ctors/vb/Example2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/.ctor/Example2.vb" id="Snippet10"::: ]]> @@ -931,7 +931,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet2"::: ]]> @@ -1049,7 +1049,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Compare/Compare1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Compare/Compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Compare/vb/Compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Compare/Compare1.vb" id="Snippet1"::: ]]> @@ -1138,7 +1138,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb" id="Snippet3"::: ]]> @@ -1219,13 +1219,13 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb" id="Snippet1"::: The following code then instantiates four `StarInfo` objects and stores them in a generic object. After the method is called, `StarInfo` objects are displayed in order of their distance from the Earth. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example1.vb" id="Snippet2"::: ]]> @@ -1315,7 +1315,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/CompareTo/Example2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/CompareTo/Example2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.CompareTo/vb/Example2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/CompareTo/Example2.vb" id="Snippet4"::: ]]> @@ -1635,7 +1635,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1754,7 +1754,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1829,7 +1829,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet1"::: ]]> @@ -1895,7 +1895,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet2"::: ]]> @@ -1966,7 +1966,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/Equals_Obj1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/Equals_Obj1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/Equals_Obj1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/Equals_Obj1.vb" id="Snippet3"::: ]]> @@ -2033,7 +2033,7 @@ The individual bytes in the `value` array should be in little-endian order, from :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Equals/EqualsExample1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Equals/EqualsExample1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Equals/vb/EqualsExample1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Equals/EqualsExample1.vb" id="Snippet2"::: ]]> @@ -2223,7 +2223,7 @@ This method returns 0 if the value of current object is equal to @@ -3032,7 +3032,7 @@ A return value of `false` does not imply that @@ -3148,7 +3148,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Min/Min1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Min/Min1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Min/vb/Min1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Min/Min1.vb" id="Snippet1"::: ]]> @@ -3321,7 +3321,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ModPow/ModPow1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ModPow/ModPow1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ModPow/vb/ModPow1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ModPow/ModPow1.vb" id="Snippet1"::: ]]> @@ -3389,7 +3389,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet1"::: If necessary, this method automatically performs implicit conversion of other integral types to objects. This is illustrated in the example in the next section, where the method is passed two values. @@ -3400,7 +3400,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet7"::: ]]> @@ -3464,7 +3464,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet4"::: @@ -3473,7 +3473,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet16"::: ]]> @@ -3594,7 +3594,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet12"::: Languages that do not support custom operators can call the method instead. @@ -3667,7 +3667,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet1"::: The method performs the bitwise `And` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -3739,7 +3739,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet2"::: The method performs the bitwise `Or` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -3805,7 +3805,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet3"::: Because objects are immutable, the operator creates a new object whose value is one less than the object represented by `value`. This means that repeated calls to may be expensive. @@ -3869,7 +3869,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet13"::: Languages that do not support custom operators and operator overloading can call the method instead. @@ -3880,7 +3880,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -3951,7 +3951,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet4"::: Languages that do not support custom operators can call the instance method instead. @@ -4014,7 +4014,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet5"::: Languages that do not support custom operators can call the instance method instead. @@ -4081,7 +4081,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet19"::: Languages that do not support custom operators can call the instance method instead. @@ -4149,7 +4149,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet6"::: Languages that do not support custom operators can call the instance method instead. @@ -4216,7 +4216,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet7"::: Languages that do not support custom operators can call the instance method instead. @@ -4289,7 +4289,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet8"::: The method performs the bitwise exclusive `Or` operation on two values as if they were both in two's complement representation with virtual sign extension. @@ -4364,7 +4364,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet1"::: ]]> @@ -4427,7 +4427,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet2"::: ]]> @@ -4524,7 +4524,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet1"::: ]]> @@ -4621,7 +4621,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet2"::: ]]> @@ -4682,7 +4682,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet4"::: @@ -4691,7 +4691,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet3"::: ]]> @@ -4821,7 +4821,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet4"::: ]]> @@ -4883,7 +4883,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet5"::: ]]> @@ -4945,7 +4945,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet6"::: ]]> @@ -5050,7 +5050,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet7"::: ]]> @@ -5112,7 +5112,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet5"::: @@ -5121,7 +5121,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet8"::: ]]> @@ -5230,7 +5230,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet9"::: ]]> @@ -5301,7 +5301,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet10"::: ]]> @@ -5372,7 +5372,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Explicit/vb/System.Numeric.BigInteger.Explicit.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/System.Numeric.BigInteger.Explicit.vb" id="Snippet11"::: ]]> @@ -5514,7 +5514,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Explicit/Explicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Explicit/Explicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Explicit/vb/Explicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Explicit/Explicit1.vb" id="Snippet3"::: ]]> @@ -5584,11 +5584,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet9"::: Languages that do not support custom operators can call the instance method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet10"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5649,11 +5649,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet11"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet12"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5718,11 +5718,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet20"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet21"::: The equivalent method for this operator is .]]> @@ -5787,11 +5787,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet13"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet14"::: ]]> @@ -5855,11 +5855,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet15"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet16"::: ]]> @@ -5928,11 +5928,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet17"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet18"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -5993,11 +5993,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet19"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet20"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -6062,11 +6062,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet22"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet23"::: The equivalent method for this operator is .]]> @@ -6131,11 +6131,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet21"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet22"::: The equivalent method for this operator is .]]> @@ -6200,11 +6200,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet23"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet24"::: The equivalent method for this operator is .]]> @@ -6274,7 +6274,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet1"::: ]]> @@ -6401,7 +6401,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet2"::: ]]> @@ -6458,7 +6458,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet3"::: ]]> @@ -6515,7 +6515,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet4"::: ]]> @@ -6615,7 +6615,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet5"::: ]]> @@ -6722,7 +6722,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet6"::: ]]> @@ -6788,7 +6788,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet7"::: ]]> @@ -6854,7 +6854,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_Implicit/Implicit1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_Implicit/Implicit1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Implicit/vb/Implicit1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_Implicit/Implicit1.vb" id="Snippet8"::: ]]> @@ -6958,7 +6958,7 @@ For this method matches the IEE Some languages (such as Visual Basic) that lack an increment operator or do not support operator overloading can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet25"::: Because objects are immutable, the operator creates a new object whose value is one more than the object represented by `value`. Therefore, repeated calls to may be expensive. @@ -7029,7 +7029,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet25"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet25"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet25"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet25"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7096,7 +7096,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet26"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7167,7 +7167,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet26"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7238,7 +7238,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet27"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7309,7 +7309,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet28"::: Languages that do not support custom operators can test for inequality by using one of the following techniques: @@ -7377,7 +7377,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet29"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet29"::: > [!NOTE] > Unlike the bitwise left-shift operation with integer primitives, the method preserves the sign of the original value. @@ -7386,7 +7386,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet30"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet30"::: ]]> @@ -7455,11 +7455,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet31"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet32"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7520,11 +7520,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet33"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet33"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet33"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet33"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet34"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet34"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7589,11 +7589,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet27"::: Languages that do not support custom operators can call the method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet28"::: The equivalent method for this operator is .]]> @@ -7658,11 +7658,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet35"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet35"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet35"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet35"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet36"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet36"::: The equivalent method for this operator is .]]> @@ -7727,11 +7727,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet37"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet37"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet37"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet37"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet38"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet38"::: The equivalent method for this operator is .]]> @@ -7800,11 +7800,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet39"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet39"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet39"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet39"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet40"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet40"::: If `left` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7865,11 +7865,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet41"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet41"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet41"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet41"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet42"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet42"::: If `right` is a , , , , , or value, it is implicitly converted to an value when the operation is performed. @@ -7934,11 +7934,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet29"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet29"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet29"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet29"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet30"::: The equivalent method for this operator is .]]> @@ -8003,11 +8003,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet43"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet43"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet43"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet43"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet44"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet44"::: The equivalent method for this operator is .]]> @@ -8072,11 +8072,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.cs" id="Snippet45"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.fs" id="Snippet45"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet45"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet45"::: Languages that do not support custom operators can call the method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet46"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet46"::: The equivalent method for this operator is .]]> @@ -8138,7 +8138,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet31"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet31"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet31"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet31"::: Languages that do not support custom operators can call the method instead. @@ -8207,7 +8207,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet11"::: The equivalent method for this operator is .]]> @@ -8267,11 +8267,11 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/OnesComplement1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/OnesComplement1.vb" id="Snippet1"::: Languages that do not support custom operators may be able to call the method directly to perform a bitwise one's complement operation. For example: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OnesComplement/vb/onescomplement2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_OnesComplement/onescomplement2.vb" id="Snippet2"::: ]]> @@ -8332,13 +8332,13 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.cs" id="Snippet47"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.fs" id="Snippet47"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet47"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet47"::: Languages that do not support custom operators can perform a bitwise right-shift operation by dividing `value` by `BigInteger.Pow(2, shift)` and subtracting 1 times `shift` for negative values. The following example shows that the results are identical to the results of using this operator. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.cs" id="Snippet48"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/op_BitwiseAnd/RightShift1.fs" id="Snippet48"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Operators/vb/Operator1.vb" id="Snippet48"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/op_BitwiseAnd/Operator1.vb" id="Snippet48"::: If `shift` is greater than or equal to the number of bits in a positive value, the result of the right-shift operation is . If `shift` is greater than the number of bits in a negative value, the result of the right-shift operation is . @@ -8402,7 +8402,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet14"::: Languages that do not support custom operators can call the method instead. @@ -8469,7 +8469,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet16"::: ]]> @@ -8660,7 +8660,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -8822,7 +8822,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/ParseHex1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/ParseHex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb" id="Snippet3"::: The `value` parameter is parsed by using the formatting information in a object that is initialized for the current system culture. To specify the culture whose formatting information is used for the parse operation, call the overload. @@ -8833,7 +8833,7 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet5"::: ]]> @@ -8946,19 +8946,19 @@ This operation performs an unsigned (otherwise known as a logical) right shift o :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet2"::: A object can then be instantiated with the following code: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet3"::: The second example is more straightforward. It passes the object that provides formatting information to the `provider` parameter. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Parse/vb/System.Numeric.BigInteger.Parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/System.Numeric.BigInteger.Parse.vb" id="Snippet4"::: ]]> @@ -9215,7 +9215,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/ParseHex1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/ParseHex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/ParseHex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/ParseHex1.vb" id="Snippet3"::: The `provider` parameter is an implementation. Its method returns a object that provides culture-specific information about the format of `value`. Typically, `provider` can be any one of the following: @@ -9234,13 +9234,13 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet2"::: A number of the individual calls to the method pass an instance of the following `BigIntegerFormatProvider` class, which defines a tilde (~) as the negative sign. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Parse/Parse1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Parse/Parse1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Parse/vb/Parse1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Parse/Parse1.vb" id="Snippet4"::: ]]> @@ -9353,7 +9353,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.cs" id="Snippet32"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.fs" id="Snippet32"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.Class/vb/BigInteger_Examples.vb" id="Snippet32"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/GreatestCommonDivisor/BigInteger_Examples.vb" id="Snippet32"::: ]]> @@ -9427,7 +9427,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Remainder/Remainder1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Remainder/Remainder1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.Remainder/vb/Remainder1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Remainder/Remainder1.vb" id="Snippet1"::: ]]> @@ -9641,7 +9641,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/Add/Multiply1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/Add/Multiply1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.OperationMethods/vb/Multiply1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/Add/Multiply1.vb" id="Snippet3"::: ]]> @@ -9697,7 +9697,7 @@ The following example calls the @@ -11190,7 +11190,7 @@ The following example calls the @@ -11323,7 +11323,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -11409,7 +11409,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.ToString/vb/System.Numeric.BigInteger.ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/System.Numeric.BigInteger.ToString.vb" id="Snippet1"::: ]]> @@ -11497,7 +11497,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -11598,7 +11598,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/ToString/ToString1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -11852,7 +11852,7 @@ The integer value `33022` can be exported in four different arrays: :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numeric.BigInteger.TryParse/vb/System.Numeric.BigInteger.TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/System.Numeric.BigInteger.TryParse.vb" id="Snippet1"::: ]]> @@ -12201,7 +12201,7 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParseHex1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParseHex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParseHex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParseHex1.vb" id="Snippet1"::: The `provider` parameter is an implementation. Its method returns a object that provides culture-specific information about the format of `value`. The `provider` parameter can be any one of the following: @@ -12220,13 +12220,13 @@ If `provider` is `null`, the object :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParse1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb" id="Snippet2"::: A number of the individual calls to the method pass an instance of the following `BigIntegerFormatProvider` class, which defines a tilde (~) as the negative sign. :::code language="csharp" source="~/snippets/csharp/System.Numerics/BigInteger/TryParse/TryParse1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/BigInteger/TryParse/TryParse1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Numerics.BigInteger.TryParse/vb/TryParse1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/BigInteger/TryParse/TryParse1.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Numerics/Complex.xml b/xml/System.Numerics/Complex.xml index e7ba0d29c05..f361329518a 100644 --- a/xml/System.Numerics/Complex.xml +++ b/xml/System.Numerics/Complex.xml @@ -234,7 +234,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/.ctor/ctor1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Acos/acos1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Acos/acos1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add1.vb" id="Snippet1"::: ]]> @@ -608,7 +608,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Asin/asin1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Asin/asin1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb" id="Snippet1"::: ]]> @@ -672,7 +672,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Atan/atan1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Atan/atan1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.atan/vb/atan1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Atan/atan1.vb" id="Snippet1"::: ]]> @@ -732,7 +732,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Conjugate/conjugate1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Conjugate/conjugate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.conjugate/vb/conjugate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Conjugate/conjugate1.vb" id="Snippet1"::: ]]> @@ -795,7 +795,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Acos/acos1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Acos/acos1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.acos/vb/acos1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Acos/acos1.vb" id="Snippet1"::: ]]> @@ -1036,7 +1036,7 @@ $(a + c) + bi$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Divide/divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Divide/divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Divide/divide1.vb" id="Snippet1"::: ]]> @@ -1271,7 +1271,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -1280,13 +1280,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb" id="Snippet4"::: One recommended technique is to define an acceptable margin of difference between the two values (such as .01% of one of the values' real and imaginary components) instead of comparing the values for equality. If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to a difference in precision, and, therefore, the values are likely to be equal. The following example uses this technique to compare the two complex values that the previous code example found to be unequal. It finds the two complex numbers to be equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision1.vb" id="Snippet5"::: @@ -1349,13 +1349,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet2"::: If the `obj` parameter is not a object, but it is a data type for which an implicit conversion is defined, the method converts `obj` to a object whose real part is equal to the value of `obj` and whose imaginary part is equal to zero before it performs the comparison. The following example illustrates this by finding that a complex number and a double-precision floating-point value are equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals3.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals3.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals3.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals3.vb" id="Snippet6"::: ]]> @@ -1364,13 +1364,13 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals4.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals4.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals4.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals4.vb" id="Snippet8"::: One recommended technique is to define an acceptable margin of difference between the two values (such as .01% of one of the values' real and imaginary components) instead of comparing the values for equality. If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to a difference in precision and, therefore, the values are likely to be equal. The following example uses this technique to compare the two values that the previous code example found to be unequal. It now finds them to be equal. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/precision2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/precision2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/precision2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/precision2.vb" id="Snippet7"::: @@ -1428,7 +1428,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Exp/log1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Exp/log1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb" id="Snippet1"::: ]]> @@ -1493,7 +1493,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/FromPolarCoordinates/phase1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/FromPolarCoordinates/phase1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.phase/vb/phase1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/FromPolarCoordinates/phase1.vb" id="Snippet1"::: ]]> @@ -1596,7 +1596,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Imaginary/real1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Imaginary/real1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.real/vb/real1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Imaginary/real1.vb" id="Snippet1"::: ]]> @@ -1647,7 +1647,7 @@ $\frac{ac + bd}{c^2 + d^2} + (\frac{bc - ad}{c^2 + d^2})i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/ImaginaryOne/imaginaryone1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/ImaginaryOne/imaginaryone1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.imaginaryone/vb/imaginaryone1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/ImaginaryOne/imaginaryone1.vb" id="Snippet1"::: ]]> @@ -2415,7 +2415,7 @@ This function returns `true` for a complex number `a + bi` where `b` is zero. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Exp/log1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Exp/log1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.log/vb/log1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Exp/log1.vb" id="Snippet1"::: ]]> @@ -2708,7 +2708,7 @@ The following example multiples a complex number by each element in an array of :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Multiply/multiply1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Multiply/multiply1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply1.vb" id="Snippet1"::: ]]> @@ -2969,7 +2969,7 @@ $(ac - bd) + (ad + bc)i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Negate/negate1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Negate/negate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.negate/vb/negate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Negate/negate1.vb" id="Snippet1"::: ]]> @@ -3020,7 +3020,7 @@ $(ac - bd) + (ad + bc)i$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/One/one1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/One/one1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.one/vb/one1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/One/one1.vb" id="Snippet1"::: ]]> @@ -3040,7 +3040,7 @@ The operator allows performing add :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add3.vb" id="Snippet3"::: If the addition results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -3054,7 +3054,7 @@ The following example illustrates addition with complex numbers: :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Add/add2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Add/add2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Add/add2.vb" id="Snippet2"::: ]]> @@ -3279,7 +3279,7 @@ The operator allows performing div :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Divide/divide2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Divide/divide2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Divide/divide2.vb" id="Snippet2"::: If the division results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -3516,7 +3516,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/eqoperator1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/eqoperator1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/eqoperator1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/eqoperator1.vb" id="Snippet9"::: Languages that don't support custom operators can call the method instead. @@ -3524,7 +3524,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Equals/equals1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Equals/equals1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.equals/vb/equals1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Equals/equals1.vb" id="Snippet3"::: Note that, because of differences in precision, two complex numbers that are apparently equivalent can be considered unequal. For more information and a possible workaround, see the method. @@ -3597,7 +3597,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Explicit/explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Explicit/explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb" id="Snippet1"::: ]]> @@ -3694,7 +3694,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Explicit/explicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Explicit/explicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.explicit/vb/explicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Explicit/explicit1.vb" id="Snippet2"::: ]]> @@ -3802,7 +3802,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet1"::: ]]> @@ -3894,7 +3894,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet2"::: ]]> @@ -3986,7 +3986,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet3"::: ]]> @@ -4043,7 +4043,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet4"::: ]]> @@ -4100,7 +4100,7 @@ Languages that don't support custom operators and operator overloading can call :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet5"::: ]]> @@ -4200,7 +4200,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet6"::: ]]> @@ -4257,7 +4257,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet7"::: ]]> @@ -4322,7 +4322,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet8"::: ]]> @@ -4387,7 +4387,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet9"::: ]]> @@ -4452,7 +4452,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Implicit/implicit1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Implicit/implicit1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.implicit/vb/implicit1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Implicit/implicit1.vb" id="Snippet10"::: ]]> @@ -4593,7 +4593,7 @@ This API is not CLS-compliant. :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Inequality/inequality1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Inequality/inequality1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.inequality/vb/inequality1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Inequality/inequality1.vb" id="Snippet1"::: Languages that don't support custom operators can test for inequality by calling the method and reversing its value. @@ -4616,7 +4616,7 @@ The operator allows performing mul :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Multiply/multiply2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Multiply/multiply2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Multiply/multiply2.vb" id="Snippet2"::: If the multiplication results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -4809,7 +4809,7 @@ The operator allows performing :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Subtraction/subtract2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Subtraction/subtract2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract2.vb" id="Snippet2"::: If the subtraction results in an overflow in either the real or imaginary component, the value of that component is either or . @@ -5043,7 +5043,7 @@ Languages that don't support custom operators can call the when it is added to the original complex number. Languages that don't support custom operators can call the method instead. @@ -5336,7 +5336,7 @@ Languages that don't support custom operators can call the @@ -5409,7 +5409,7 @@ Languages that don't support custom operators can call the @@ -5515,7 +5515,7 @@ Languages that don't support custom operators can call the @@ -5578,7 +5578,7 @@ $\frac{a}{a^2 + b^2} + -\frac{b}{a^2 + b^2}$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Reciprocal/reciprocal1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Reciprocal/reciprocal1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.reciprocal/vb/reciprocal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Reciprocal/reciprocal1.vb" id="Snippet1"::: ]]> @@ -5641,7 +5641,7 @@ $\frac{a}{a^2 + b^2} + -\frac{b}{a^2 + b^2}$ :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Asin/asin1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Asin/asin1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.asin/vb/asin1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Asin/asin1.vb" id="Snippet1"::: ]]> @@ -5783,7 +5783,7 @@ The following example subtracts each complex number in an array from a complex n :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/op_Subtraction/subtract1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/op_Subtraction/subtract1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.subtract/vb/subtract1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/op_Subtraction/subtract1.vb" id="Snippet1"::: ]]> @@ -6743,7 +6743,7 @@ Languages that support custom operators can use the @@ -6866,7 +6866,7 @@ Languages that support custom operators can use the @@ -6940,7 +6940,7 @@ Languages that support custom operators can use the @@ -7017,7 +7017,7 @@ Languages that support custom operators can use the @@ -7105,7 +7105,7 @@ Languages that support custom operators can use the @@ -7478,7 +7478,7 @@ An implementation of this interface should produce the same string of characters :::code language="csharp" source="~/snippets/csharp/System.Numerics/Complex/Zero/zero1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Numerics/Complex/Zero/zero1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.zero/vb/zero1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Numerics/Complex/Zero/zero1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/AssemblyBuilder.xml b/xml/System.Reflection.Emit/AssemblyBuilder.xml index 212c3298a15..5f45d7b7473 100644 --- a/xml/System.Reflection.Emit/AssemblyBuilder.xml +++ b/xml/System.Reflection.Emit/AssemblyBuilder.xml @@ -185,7 +185,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample demonstrates how to attach a resource file to a dynamically created assembly, using `AddResourceFile`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample demonstrates how to attach a resource file to a dynamically created assembly, using `AddResourceFile`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.AddResourceFile Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/AddResourceFile/source.vb" id="Snippet1"::: ]]> @@ -586,7 +586,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a transient dynamic module using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a transient dynamic module using `DefineDynamicModule`, suppressing symbol information. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet2"::: ]]> @@ -751,7 +751,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a persistent dynamic module using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet3"::: ]]> @@ -838,7 +838,7 @@ The following code example shows how to define and use a dynamic assembly. The e The code example below demonstrates how to create a persistent dynamic module with symbol emission using `DefineDynamicModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.DefineDynamicModule Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/DefineDynamicModule/source.vb" id="Snippet4"::: ]]> @@ -3100,7 +3100,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample creates a dynamic assembly and then persists it to a local disk using `Save`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/AssemblyBuilder/Save/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.AssemblyBuilder.Save Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/AssemblyBuilder/Save/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ConstructorBuilder.xml b/xml/System.Reflection.Emit/ConstructorBuilder.xml index ac128d7da99..5027161f34d 100644 --- a/xml/System.Reflection.Emit/ConstructorBuilder.xml +++ b/xml/System.Reflection.Emit/ConstructorBuilder.xml @@ -94,7 +94,7 @@ The following code sample illustrates the contextual usage of a `ConstructorBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -629,7 +629,7 @@ The following code sample illustrates the use of the `GetILGenerator` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ConstructorBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -813,7 +813,7 @@ The following code sample illustrates the usage of `GetModule`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/CustomAttributeBuilder.xml b/xml/System.Reflection.Emit/CustomAttributeBuilder.xml index db197f59b00..574cb358c40 100644 --- a/xml/System.Reflection.Emit/CustomAttributeBuilder.xml +++ b/xml/System.Reflection.Emit/CustomAttributeBuilder.xml @@ -82,7 +82,7 @@ The following code sample illustrates the use of `CustomAttributeBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.CustomAttributeBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/CustomAttributeBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ILGenerator.xml b/xml/System.Reflection.Emit/ILGenerator.xml index 67b0a7d149b..0052da590b8 100644 --- a/xml/System.Reflection.Emit/ILGenerator.xml +++ b/xml/System.Reflection.Emit/ILGenerator.xml @@ -178,7 +178,7 @@ The code sample below demonstrates the contextual usage of the `BeginCatchBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -302,7 +302,7 @@ The code sample below demonstrates the contextual usage of the `BeginExceptionBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -726,7 +726,7 @@ The code sample below demonstrates the contextual usage of the `DefineLabel` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/DefineLabel/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.Label Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/DefineLabel/source.vb" id="Snippet1"::: ]]> @@ -801,7 +801,7 @@ The code sample below demonstrates the use of `Emit` to generate MSIL output via an instance of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1230,7 +1230,7 @@ The code sample below illustrates the creation of a dynamic method with a jump table. The jump table is built using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The code sample below illustrates the creation of a dynamic method with a jump table. The jump table is built using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -1973,7 +1973,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the contextual usage of the method to call an unmanaged type method external to the dynamic class. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitCalli/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.EmitCalli Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitCalli/source.vb" id="Snippet1"::: ]]> @@ -2141,7 +2141,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2213,7 +2213,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the use of the method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2282,7 +2282,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the `EmitWriteLine` method to write a string to the console in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -2337,7 +2337,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of the `EndExceptionBlock` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> @@ -2518,7 +2518,7 @@ The following code example emits two methods, a `varargs` method and a method th The code sample below demonstrates the contextual usage of `MarkLabel` to implement MSIL branching in a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -2893,7 +2893,7 @@ The following code example emits two methods, a `varargs` method and a method th The following code sample demonstrates the contextual usage of `ThrowException` to throw an exception inside the MSIL of a dynamic method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.ThrowException Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/BeginCatchBlock/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/MethodBuilder.xml b/xml/System.Reflection.Emit/MethodBuilder.xml index 5099a726feb..43a31ca6a8b 100644 --- a/xml/System.Reflection.Emit/MethodBuilder.xml +++ b/xml/System.Reflection.Emit/MethodBuilder.xml @@ -80,7 +80,7 @@ The following example uses the class to create a method within a dynamic type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -163,7 +163,7 @@ The following example uses the class The code sample below illustrates the contextual use of `AddDeclarativeSecurity` to require the caller of a method to have unrestricted permissions. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.AddDeclarativeSecurity Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/AddDeclarativeSecurity/source.vb" id="Snippet1"::: ]]> @@ -362,7 +362,7 @@ The following example uses the class In the example provided below, a simple method that adds two integers is generated via opcode using `CreateMethodBody`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Refelction.Emit.MethodBuilder.CreateMethodBody Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/CreateMethodBody/source.vb" id="Snippet1"::: ]]> @@ -1119,7 +1119,7 @@ The following example uses the class The code sample below demonstrates the contextual usage of the `GetILGenerator` method, creating and emitting a dynamic assembly that will calculate the dot product of two points in 3D space. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> @@ -1179,7 +1179,7 @@ The following example uses the class The code sample below demonstrates the contextual usage of the `GetILGenerator` method, creating and emitting a dynamic assembly that will calculate the dot product of two points in 3D space. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> @@ -1297,7 +1297,7 @@ The following example uses the class The sample code below illustrates the usage of the `GetModule` method to retrieve information about a dynamically-generated module. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetModule/VB/source3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ConstructorBuilder/GetModule/source3.vb" id="Snippet1"::: ]]> @@ -1349,7 +1349,7 @@ The following example uses the class The code sample below illustrates the use of `GetParameters` to discover information on the parameters passed to a dynamically-generated method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetParameters/source4.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.GetParameters Example/VB/source4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetParameters/source4.vb" id="Snippet1"::: ]]> @@ -2577,7 +2577,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual use of the `SetImplementationFlags` method to describe the implementation of MSIL in a method body. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetImplementationFlags Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetImplementationFlags/source.vb" id="Snippet1"::: ]]> @@ -2663,7 +2663,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual usage of the `SetMarshal` method to marshal the results of a method call as a different type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetMarshal/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetMarshal Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetMarshal/source.vb" id="Snippet1"::: ]]> @@ -3124,7 +3124,7 @@ For information on how to format `binaryAttribute`, see the metadata specificati The code sample below illustrates the contextual usage of the `SetSymCustomAttribute` method to set the byte values for the name and key of a custom attribute attached to a method. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.MethodBuilder.SetSymCustomAttribute Example/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/SetSymCustomAttribute/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/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..afb3425a4b0 100644 --- a/xml/System.Reflection.Emit/OpCodes.xml +++ b/xml/System.Reflection.Emit/OpCodes.xml @@ -61,7 +61,7 @@ The following example demonstrates the construction of a dynamic method using to emit `OpCodes` into a . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.OpCodes Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/EmitWriteLine/source.vb" id="Snippet1"::: ]]> @@ -15260,7 +15260,7 @@ callvirt m The following code sample illustrates the use of the `Switch` opcode to generate a jump table using an array of . :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ILGenerator/Emit/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ILGenerator.Emit Example 2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ILGenerator/Emit/source.vb" id="Snippet1"::: ]]> @@ -15393,7 +15393,7 @@ callvirt m The example below demonstrates the use of `TakesSingleByteArgument` by reflecting on to the `OpCodes` class and testing to see whether each `OpCode` field takes a single-byte argument. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.OpCodes.TakesSingleByteArgument Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/OpCodes/TakesSingleByteArgument/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/ParameterBuilder.xml b/xml/System.Reflection.Emit/ParameterBuilder.xml index 1fe36af8758..2f9bd9a5afb 100644 --- a/xml/System.Reflection.Emit/ParameterBuilder.xml +++ b/xml/System.Reflection.Emit/ParameterBuilder.xml @@ -88,7 +88,7 @@ The following example demonstrates how to create a dynamic method with a parameter passed by reference using `ParameterBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/ParameterBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.ParameterBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/ParameterBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/PropertyBuilder.xml b/xml/System.Reflection.Emit/PropertyBuilder.xml index 5b19d9e2da6..02376376028 100644 --- a/xml/System.Reflection.Emit/PropertyBuilder.xml +++ b/xml/System.Reflection.Emit/PropertyBuilder.xml @@ -86,7 +86,7 @@ The following code sample demonstrates how to implement properties in a dynamic type using a `PropertyBuilder` obtained via to create the property framework and an associated to implement the IL logic within the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection.Emit/TypeBuilder.xml b/xml/System.Reflection.Emit/TypeBuilder.xml index 833458c6add..faec42b7f58 100644 --- a/xml/System.Reflection.Emit/TypeBuilder.xml +++ b/xml/System.Reflection.Emit/TypeBuilder.xml @@ -96,7 +96,7 @@ The following code example shows how to define and use a dynamic assembly. The e The following code sample demonstrates how to build a type dynamically by using `TypeBuilder`. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit ILGenerator Example/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/MethodBuilder/GetILGenerator/source.vb" id="Snippet1"::: ]]> How to: Define a Generic Type with Reflection Emit @@ -572,7 +572,7 @@ See for a description of the format of the The following code example shows how to define an event handler for the event, in order to call the method on a nested type during a call on the enclosing type. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.TypeBuilder.CreateType Example/VB/nestedenum.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/TypeBuilder/CreateType/nestedenum.vb" id="Snippet1"::: ]]> @@ -3706,7 +3706,7 @@ See for a description of the format of the The following code sample demonstrates how to define a dynamic property and obtain a for specification. Note that a `PropertyBuilder` must also have a corresponding , which will house the IL logic for the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection.Emit/PropertyBuilder/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Emit.PropertyBuilder Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection.Emit/PropertyBuilder/Overview/source.vb" id="Snippet1"::: ]]> @@ -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/Assembly.xml b/xml/System.Reflection/Assembly.xml index 3a3602ed73d..68126e3ec49 100644 --- a/xml/System.Reflection/Assembly.xml +++ b/xml/System.Reflection/Assembly.xml @@ -287,7 +287,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example uses the property. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/codebase1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/codebase1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/codebase1.vb" id="Snippet1"::: ]]> @@ -386,7 +386,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example defines a `Person` class and calls the method to instantiate it. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CreateInstance/createinstance1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance1.vb" id="Snippet1"::: ]]> @@ -496,7 +496,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example defines a `Person` class. It then calls the method to instantiate it, but because the casing of the `typeName` argument doesn't match that of the type's property, the method returns `null`. When the example passes the same string to the overload and specifies that the comparison should be case-insensitive, the `Person` class is found, and a `Person` object is successfully instantiated. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CreateInstance/createinstance2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.createinstance/vb/createinstance2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CreateInstance/createinstance2.vb" id="Snippet2"::: ]]> @@ -1238,7 +1238,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example retrieves the assembly that contains the type and displays its name and file location. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/GetAssembly1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/GetAssembly1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/GetAssembly1.vb" id="Snippet12"::: ]]> @@ -1316,7 +1316,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example gets the calling assembly of the current method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/getcallingassembly1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/getcallingassembly1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/getcallingassembly1.vb" id="Snippet4"::: ]]> @@ -1664,7 +1664,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex For performance reasons, you should call this method only when you do not know at design time what assembly is currently executing. The recommended way to retrieve an object that represents the current assembly is to use the property of a type found in the assembly, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetExecutingAssembly/assembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/assembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/assembly1.vb" id="Snippet1"::: To get the assembly that contains the method that called the currently executing code, use . @@ -1674,7 +1674,7 @@ In .NET 5 and later versions, for bundled assemblies, this property throws an ex The following example uses the property to get the currently executing assembly based on a type contained in that assembly. It also calls the method to show that it returns an object that represents the same assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.getexecutingassembly/vb/getexecutingassembly1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetExecutingAssembly/getexecutingassembly1.vb" id="Snippet5"::: ]]> @@ -3248,7 +3248,7 @@ Note: In .NET for Win The following example defines an abstract `MeansOfTransportation` class in the `Transportation` namespace. It calls the method to retrieve its object, calls the method to get an array of objects that represent the type's properties, and then displays information on the type's abstract properties. Note that the call to the method uses the type's fully qualified name (that is, its namespace along with its type name). :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/GetType/gettype1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.gettype/vb/gettype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/GetType/gettype1.vb" id="Snippet1"::: ]]> @@ -3548,7 +3548,7 @@ Note: In .NET for Win The following example displays parameters of one method on a type in the specified assembly. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/CodeBase/assembly.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Assembly/VB/assembly.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/CodeBase/assembly.vb" id="Snippet11"::: ]]> @@ -3838,7 +3838,7 @@ This property is marked obsolete starting in .NET 5, and generates a compile-tim The following code example applies the attribute to an assembly and then uses to indicate whether it was applied. It also tests an attribute that was not applied. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Assembly/IsDefined/isdefined.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assembly.isdefined/VB/isdefined.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Assembly/IsDefined/isdefined.vb" id="Snippet1"::: ]]> @@ -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/CodeBase/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/CodeBase/assembly.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Reflection/AssemblyDescriptionAttribute.xml b/xml/System.Reflection/AssemblyDescriptionAttribute.xml index 8fe7c8035b1..c8ea9bb2e58 100644 --- a/xml/System.Reflection/AssemblyDescriptionAttribute.xml +++ b/xml/System.Reflection/AssemblyDescriptionAttribute.xml @@ -81,7 +81,7 @@ The following code example sets the for a simple assembly and indicates whether or not it was defined. :::code language="csharp" source="~/snippets/csharp/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.assemblydescriptionattribute/VB/DescrAttr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/AssemblyDescriptionAttribute/Overview/DescrAttr.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/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/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/GenericParameterAttributes.xml b/xml/System.Reflection/GenericParameterAttributes.xml index 16bba95587b..758ca9100af 100644 --- a/xml/System.Reflection/GenericParameterAttributes.xml +++ b/xml/System.Reflection/GenericParameterAttributes.xml @@ -73,7 +73,7 @@ The following code example defines a generic type `Test` with two type parameters. The second type parameter has a base class constraint and a reference type constraint. When the program executes, the constraints are examined using the property and the method. :::code language="csharp" source="~/snippets/csharp/System/Type/GenericParameterAttributes/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/MemberInfo.xml b/xml/System.Reflection/MemberInfo.xml index 8ad4f29b065..0bc5d482121 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/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..99c0a8421ac 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/hide.vb" id="Snippet1"::: ]]> @@ -2500,7 +2500,7 @@ If MethodInfo.IsVirtual AndAlso Not MethodInfo.IsFinal Then You can determine whether the current method overrides a method in a base class by calling the method. The following example implements an `IsOverride` method that does this. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/IsOverride1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb" id="Snippet2"::: diff --git a/xml/System.Reflection/MethodInfo.xml b/xml/System.Reflection/MethodInfo.xml index 21dde845f00..91cc735fb7a 100644 --- a/xml/System.Reflection/MethodInfo.xml +++ b/xml/System.Reflection/MethodInfo.xml @@ -562,7 +562,7 @@ For a list of the invariant conditions for other terms used in generic reflectio You can determine whether the current method overrides a method in a base class by calling the method. The following example implements an `IsOverride` method that does this. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/IsOverride1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/IsOverride1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/IsOverride1.vb" id="Snippet2"::: To call the `GetBaseDefinition` method: @@ -578,7 +578,7 @@ For a list of the invariant conditions for other terms used in generic reflectio The following example demonstrates the behavior of the method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.reflection.methodinfo.getbasedefinition/vb/getbasedefinition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/MethodBase/IsVirtual/getbasedefinition1.vb" id="Snippet1"::: ]]> 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..6e6b923b8a9 100644 --- a/xml/System.Reflection/Module.xml +++ b/xml/System.Reflection/Module.xml @@ -127,7 +127,7 @@ The following code examples show how to use reflection to get information about modules: :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/Overview/source.vb" id="Snippet1"::: ]]> @@ -232,7 +232,7 @@ The following example displays the full name of the specified assembly in the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/Assembly/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.Assembly Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/Assembly/class1.vb" id="Snippet1"::: ]]> @@ -388,7 +388,7 @@ The following example displays the module names that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ The following example displays the module names that match the specified search criteria, ignoring the case. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeNameIgnoreCase Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeNameIgnoreCase/class1.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ The following example demonstrates the `FindTypes` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FilterTypeName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FilterTypeName Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FilterTypeName/class1.vb" id="Snippet1"::: ]]> @@ -609,7 +609,7 @@ The following example displays the fully qualified name of the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/FullyQualifiedName/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.FullyQualifiedName/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/FullyQualifiedName/class1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ The following example displays the module names that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetCustomAttributes/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 1Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ The following example displays the module names of the specified type that match the specified search criteria. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetCustomAttributes/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetCustomAttributes 2Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetCustomAttributes/class11.vb" id="Snippet1"::: ]]> @@ -1805,7 +1805,7 @@ The following example displays the name of a type in the specified module. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 1Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class1.vb" id="Snippet1"::: ]]> @@ -1916,7 +1916,7 @@ The following example displays the name of a type in the specified module, specifying `false` for the `ignoreCase` parameter so that case will not be ignored. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 2Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class11.vb" id="Snippet1"::: ]]> @@ -2026,7 +2026,7 @@ The following example displays the name of a type in the specified module. The `throwOnError` and `ignoreCase` parameters are specified as `false`. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/GetType/class12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.GetType 3Arg Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/GetType/class12.vb" id="Snippet1"::: ]]> @@ -2178,7 +2178,7 @@ The following example demonstrates a use of the `IsDefined` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/IsDefined/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsDefined Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/IsDefined/class1.vb" id="Snippet1"::: ]]> @@ -2243,7 +2243,7 @@ The following example demonstrates a use of the `IsResource` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/IsResource/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.IsResource Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/IsResource/class1.vb" id="Snippet1"::: ]]> @@ -3999,7 +3999,7 @@ The following example demonstrates a use of the `ToString` method. :::code language="csharp" source="~/snippets/csharp/System.Reflection/Module/ToString/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Reflection.Module.ToString Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Reflection/Module/ToString/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Reflection/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..1ae15d2dd46 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/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"::: ]]> 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..184eeb03f4a 100644 --- a/xml/System.Resources/ResXResourceReader.xml +++ b/xml/System.Resources/ResXResourceReader.xml @@ -59,12 +59,12 @@ The following example uses the method to obtain an object that is used to enumerate the resources in a .resx file. The example includes a `CreateResourceFile` routine that creates the necessary resource file. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb" id="Snippet1"::: If the property is `true`, the value of the property is a object rather than the resource value. This makes a resource item's comment available from the property. The following example sets the property to `true` and enumerates the resources in a .resx file, :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader2.vb" id="Snippet2"::: If is `true`, the items in the enumeration can be either: @@ -83,7 +83,7 @@ The following example demonstrates how to use a to iterate through the resources in a .resx file. First, the `rsxr` is created for the file `items.resx`. Next, the method is used to create an to iterate through the resources and display the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -219,7 +219,7 @@ The following example creates a new instance of the class for the specified file, iterates through the resources of the file, and displays the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -500,7 +500,7 @@ The following example creates an XML resource file that contains images of dog breeds, and also creates a string resource that specifies the application that created the resource. objects are used to store the path to the images rather than storing the binary images themselves in the resource file. The example sets the property so that the relative file paths in the images' file names are interpreted as subdirectories of a directory named C:\data\\. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/BasePath/basepathex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.basepath/vb/basepathex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/BasePath/basepathex1.vb" id="Snippet1"::: Note that you must add a reference to System.Drawing.dll to compile the project successfully. The example also requires that the necessary images exist in a directory named C:\data\images\\. @@ -551,7 +551,7 @@ The following example displays the resources of a file to the console, and then uses the method to shut down the reader and to make its resources available for other processes. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/resxresourcereader.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader.vb" id="Snippet1"::: ]]> @@ -799,7 +799,7 @@ The following example uses the method to obtain an object that is used to enumerate the resources in a .resx file. The example includes a `CreateResourceFile` routine that creates the necessary resource file. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/resxresourcereader1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourcereader.class/vb/resxresourcereader1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/resxresourcereader1.vb" id="Snippet1"::: ]]> @@ -843,7 +843,7 @@ The following example uses the method to iterate through the metadata resources in an XML resource file. This code example is part of a larger example provided for the property. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/useresxdatanodes.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb" id="Snippet4"::: ]]> @@ -979,7 +979,7 @@ The following example enumerates and displays resource items in an XML file. Initially, is set to `false` to show both data and metadata items as they occur in the resource file. The second enumeration has the set to `true` so that resource data elements are returned as objects. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceReader/Overview/useresxdatanodes.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResXResourceReader Example/VB/useresxdatanodes.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceReader/Overview/useresxdatanodes.vb" id="Snippet2"::: The resource XML file used by the example contains one data node and one metadata node. To use the XML file with the previous example, copy the following text and save it to a file named Resource1.resx. diff --git a/xml/System.Resources/ResXResourceSet.xml b/xml/System.Resources/ResXResourceSet.xml index d12420e9039..2ad04ff80df 100644 --- a/xml/System.Resources/ResXResourceSet.xml +++ b/xml/System.Resources/ResXResourceSet.xml @@ -44,7 +44,7 @@ The following example instantiates a object and illustrates how to enumerate its resources and retrieve individual resources by name. For each resource that it enumerates, the example uses the property in a call to the `GetString` or `GetObject` method, depending on whether the value of the resource is a string or an object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResXResourceSet/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resxresourceset.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResXResourceSet/Overview/example1.vb" id="Snippet1"::: The example calls a `CreateResXFile` method to create the necessary XML resource file. It requires a bitmap file named Logo.bmp in the directory in which the example is running. diff --git a/xml/System.Resources/ResourceManager.xml b/xml/System.Resources/ResourceManager.xml index 971d88f891c..f251f3124be 100644 --- a/xml/System.Resources/ResourceManager.xml +++ b/xml/System.Resources/ResourceManager.xml @@ -392,7 +392,7 @@ You can determine the names of embedded .resources files by compiling and running the following utility. This is a console app that accepts the name of a main assembly or satellite assembly as a command-line parameter. It displays the strings that should be provided as the `baseName` parameter of the or constructor so that the resource manager can correctly identify the resource. :::code language="csharp" source="~/snippets/csharp/System.Resources/MissingManifestResourceException/Overview/resourcenames.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.class/vb/resourcenames.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/BaseName/resourcenames.vb" id="Snippet4"::: ]]> @@ -940,7 +940,7 @@ al /out:fr-FR\ShowNumbers.resources.dll /culture:fr-FR /embed:NumberResources.fr ``` :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceManager/GetResourceSet/shownumbers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcemanager.getresourceset/vb/shownumbers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceManager/GetResourceSet/shownumbers.vb" id="Snippet1"::: If you change the value of the `createIfNotExists` argument to `false`, the method call returns `null`, since Resource Manager hasn't yet loaded the French language resources. diff --git a/xml/System.Resources/ResourceReader.xml b/xml/System.Resources/ResourceReader.xml index f0b9662b585..0c8ef697190 100644 --- a/xml/System.Resources/ResourceReader.xml +++ b/xml/System.Resources/ResourceReader.xml @@ -199,7 +199,7 @@ Label11="Mobile Phone:" The following example assumes that the resource file is embedded in the assembly that contains the application's executable code. It retrieves a resource file named `PatientForm.resources` from the currently executing assemblies and displays the name and value of each of its resources. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream1.vb" id="Snippet1"::: If the C# example is named `Example.cs`, you can compile it by using the following command: @@ -300,7 +300,7 @@ Label11="Mobile Phone:" The following example enumerates the resources in `PatientForm.resources` and displays the name and value of each. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb" id="Snippet2"::: ]]> @@ -369,7 +369,7 @@ Label11="Mobile Phone:" The following example moves through a file's resources and displays all the key/value pairs it finds. The code then uses the method to shut down the and to release all resources used by it. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/Close/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceReader.GetEnumerator Example/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/Close/getenumerator.vb" id="Snippet1"::: ]]> @@ -537,7 +537,7 @@ Label11="Mobile Phone:" The following example enumerates the resources in `PatientForm.resources` and displays the name and value of each. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceReader/.ctor/stream2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcereader.ctor/vb/stream2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceReader/.ctor/stream2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Resources/ResourceSet.xml b/xml/System.Resources/ResourceSet.xml index 8ecc36a0206..bd9facfeb07 100644 --- a/xml/System.Resources/ResourceSet.xml +++ b/xml/System.Resources/ResourceSet.xml @@ -304,7 +304,7 @@ The following code example defines a new instance of the class for a specific file, iterates through the resources used by that file, and displays their contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> @@ -369,7 +369,7 @@ The following code example uses the method to release all resources used by the calling instance. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> @@ -666,7 +666,7 @@ The following example demonstrates how to create a `rs` for the file `items.resources`. Next, the method is used to create an for `rs`. The iterates through `rs` and displays the contents to the console. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceSet/.ctor/getenumerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceSet.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceSet/.ctor/getenumerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Resources/ResourceWriter.xml b/xml/System.Resources/ResourceWriter.xml index 6e566dd1f06..b8934f274a2 100644 --- a/xml/System.Resources/ResourceWriter.xml +++ b/xml/System.Resources/ResourceWriter.xml @@ -162,7 +162,7 @@ The following code example defines a new instance of the class that writes to a specified stream. The code adds resources to the writer and writes the resources to the stream. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -308,7 +308,7 @@ The following example uses the method to add a graphics image that has been read as an array of bytes to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_byt1.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_byt1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_byt1.vb" id="Snippet4"::: ]]> @@ -382,7 +382,7 @@ The following example uses the method to add a graphics image that has been saved to a object to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_str1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str1.vb" id="Snippet2"::: ]]> @@ -553,7 +553,7 @@ The following example uses the method to add string resources to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -631,7 +631,7 @@ The following example uses the method to add a graphics image that has been saved to a object to a object. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResource/addresource_str2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresource/vb/addresource_str2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResource/addresource_str2.vb" id="Snippet3"::: ]]> @@ -719,7 +719,7 @@ The following example uses the method to write two integer values to a .resources file, and then uses a object to retrieve them. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/AddResourceData/addresourcedata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.resources.resourcewriter.addresourcedata/vb/addresourcedata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/AddResourceData/addresourcedata.vb" id="Snippet1"::: ]]> @@ -786,7 +786,7 @@ The following example uses the method to write all resource objects in a class to the output stream. The code then shuts down the writer. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter Cstr1 Example/VB/resourcewritercstr1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/.ctor/resourcewritercstr1.vb" id="Snippet1"::: ]]> @@ -849,7 +849,7 @@ The following code example uses the method to write all resource objects in a class to the output stream. The code then shuts down the writer and make the writer's resources available for other processes. :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Dispose Example/VB/resourcewriterdispose.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/Dispose/resourcewriterdispose.vb" id="Snippet1"::: ]]> @@ -926,7 +926,7 @@ The following code example uses the method to write all resource objects in a class to the output stream :::code language="csharp" source="~/snippets/csharp/System.Resources/ResourceWriter/Generate/resourcewritergenerate.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Resources.ResourceWriter.Generate Example/VB/resourcewritergenerate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Resources/ResourceWriter/Generate/resourcewritergenerate.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml index 5596f5593b9..a9092a75308 100644 --- a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml +++ b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2+CreateValueCallback.xml @@ -82,7 +82,7 @@ The following example defines a `MainClass` class and a `MainInfo` class. `MainInfo` provides information about the `MainClass` instance. It also defines a static (`Shared` in Visual Basic) `CreateAttachedValue` method that can be assigned to the delegate and passed to the method. The example calls the method to add a `MainClass` object and its corresponding `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and a call to the method to retrieve the value that belongs to an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml index 2197ad76607..155f8001f4b 100644 --- a/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml +++ b/xml/System.Runtime.CompilerServices/ConditionalWeakTable`2.xml @@ -131,7 +131,7 @@ The following example illustrates that a key stored in the table does not persist after references to it outside the table are destroyed. The example defines two classes: `ManagedClass`, which represents the key in the table, and `ClassData`, which represents the key's value. The example instantiates three objects of each type. It also instantiates a object that represents the second `ManagedClass`, and then destroys the second `ManagedClass` instance. The attempt to retrieve the second `ManagedClass` object from the property indicates that no references to the object remain. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue/Overview/example1.vb" id="Snippet1"::: ]]> @@ -259,7 +259,7 @@ The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example then calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -595,7 +595,7 @@ The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ Note: In the .NET for The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. It also defines a static (`Shared` in Visual Basic) `CreateAttachedValue` method that can be assigned to the delegate and passed to the method. The example calls the method to add a `MainClass` object and its attached `MainInfo` object to a table. The example also illustrates calls to the and methods to add key/value pairs to the table, and to the method to retrieve the value of an existing key. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> @@ -1018,7 +1018,7 @@ retrieved. Additionally, it may not return all entries that were present when th The following example defines a `MainClass` class and a `MainInfo` class, which provides information about the `MainClass` instance. The example calls the , , and methods to add key/value pairs to a table. In each case, the example calls the method to confirm that the key/value pair has been added to the table. :::code language="csharp" source="~/snippets/csharp/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.compilerservices.conditionalweaktable.getvalue/vb/getvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.CompilerServices/ConditionalWeakTableTKey,TValue+CreateValueCallback/Overview/getvalue1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.CompilerServices/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/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.ConstrainedExecution/Cer.xml b/xml/System.Runtime.ConstrainedExecution/Cer.xml index 36d219e16d9..91aa30cf11a 100644 --- a/xml/System.Runtime.ConstrainedExecution/Cer.xml +++ b/xml/System.Runtime.ConstrainedExecution/Cer.xml @@ -76,7 +76,7 @@ If a method, type, or assembly is not explicitly marked to succeed, it is implic The following code example demonstrates the use of the enumeration when specifying a constrained execution region for a method. This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/Consistency.xml b/xml/System.Runtime.ConstrainedExecution/Consistency.xml index 4b85bda6b60..3b10b967aa7 100644 --- a/xml/System.Runtime.ConstrainedExecution/Consistency.xml +++ b/xml/System.Runtime.ConstrainedExecution/Consistency.xml @@ -64,7 +64,7 @@ The following code example demonstrates the use of the enumeration when specifying a constrained execution region for a method. This code example is part of a larger example provided for the constructor. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml index dada4b41779..33005e55ebd 100644 --- a/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml +++ b/xml/System.Runtime.ConstrainedExecution/ReliabilityContractAttribute.xml @@ -122,7 +122,7 @@ The following code example demonstrates the use of the constructor to create a constrained execution region and a `finally` block that is guaranteed to execute. :::code language="csharp" source="~/snippets/csharp/System.Runtime.ConstrainedExecution/Cer/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.ConstrainedExecution/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.ConstrainedExecution/Cer/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml b/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml index 8b9cd470fba..23d00078857 100644 --- a/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml +++ b/xml/System.Runtime.ExceptionServices/FirstChanceExceptionEventArgs.xml @@ -68,7 +68,7 @@ > To see how the stack display grows as the event is raised closer and closer to the default application domain, change `e.Exception.Message` to `e.Exception` in the `FirstChanceHandler` event handlers. Notice that when `TestException` is called across application domain boundaries, it appears twice: once for the proxy and once for the stub. :::code language="csharp" source="~/snippets/csharp/System/AppDomain/FirstChanceException/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.Hosting/ActivationArguments.xml b/xml/System.Runtime.Hosting/ActivationArguments.xml index be46e5dea49..b08288bef20 100644 --- a/xml/System.Runtime.Hosting/ActivationArguments.xml +++ b/xml/System.Runtime.Hosting/ActivationArguments.xml @@ -47,7 +47,7 @@ The following code example shows how to obtain the current object from the for the of a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet1"::: ]]> @@ -224,7 +224,7 @@ This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Runtime.Hosting/ApplicationActivator.xml b/xml/System.Runtime.Hosting/ApplicationActivator.xml index bf0fa416a86..9a30e108cd7 100644 --- a/xml/System.Runtime.Hosting/ApplicationActivator.xml +++ b/xml/System.Runtime.Hosting/ApplicationActivator.xml @@ -61,7 +61,7 @@ The following code example shows how to obtain an object from the current for a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Hosting/ActivationArguments/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.Hosting.ApplicationActivator/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Hosting/ActivationArguments/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml b/xml/System.Runtime.InteropServices/BestFitMappingAttribute.xml index 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..ae492fb705e 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/System.Runtime.InteropServices/DllImportAttribute/Overview/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/.ctor/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/System.Runtime.InteropServices/DllImportAttribute/Overview/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/.ctor/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/.ctor/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/System.Runtime.InteropServices/DllImportAttribute/Overview/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/System.Runtime.InteropServices/DllImportAttribute/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/.ctor/source.vb" id="Snippet4"::: ]]> @@ -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/.ctor/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/.ctor/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..437a7bc8f04 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet3"::: The following example demonstrates how to use the method to read the value of an unmanaged character. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet4"::: The following example demonstrates how to use the method to read the value of an unmanaged `short` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet5"::: The following example demonstrates how to use the method to read the value of an unmanaged `int` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet6"::: The following example demonstrates how to use the method to read the value of an unmanaged `__int64` variable. @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> @@ -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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/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/System.Runtime.InteropServices/Marshal/ReadByte/sample.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml b/xml/System.Runtime.InteropServices/MarshalAsAttribute.xml index 95ef950a223..9964cb59f4a 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/marshalas.sizeparamindex.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/TypeLibConverter.xml b/xml/System.Runtime.InteropServices/TypeLibConverter.xml index 8c4a8e94e98..f874f78ab16 100644 --- a/xml/System.Runtime.InteropServices/TypeLibConverter.xml +++ b/xml/System.Runtime.InteropServices/TypeLibConverter.xml @@ -108,7 +108,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/CPP/convert2.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.TypelibConverter.ConvertAssemblyToTypelib1/VB/convert2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertAssemblyToTypeLib/convert2.vb" id="Snippet1"::: ]]> @@ -266,7 +266,7 @@ ## Examples :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/CPP/convert1.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Runtime.InteropServices.ConvertTypelibToASSembly/VB/convert1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.InteropServices/TypeLibConverter/ConvertTypeLibToAssembly/convert1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Runtime.InteropServices/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.Versioning/FrameworkName.xml b/xml/System.Runtime.Versioning/FrameworkName.xml index 493c3f9af86..1cc11ad734d 100644 --- a/xml/System.Runtime.Versioning/FrameworkName.xml +++ b/xml/System.Runtime.Versioning/FrameworkName.xml @@ -689,7 +689,7 @@ The following example uses the equality operator to determine whether a object that represents the running version of .NET is equal to a supported version of .NET. Note that the two versions are not equal because they do not have identical version numbers. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb" id="Snippet1"::: ]]> @@ -758,7 +758,7 @@ The following example uses the equality operator to determine whether a object that represents the running version of .NET is equal to a supported version of .NET. Note that the two versions are not equal because they do not have identical version numbers. :::code language="csharp" source="~/snippets/csharp/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.versioning.frameworkname.operators/vb/Operators1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Runtime.Versioning/FrameworkName/op_Equality/Operators1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml b/xml/System.Runtime.Versioning/TargetFrameworkAttribute.xml index 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..4dc4d1e6edc 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/GC/Collect/lohcompactionmode1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml b/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml index 8ad67e2f5ca..9acd1df15a1 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleAccessRule.xml @@ -75,7 +75,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleRights.xml b/xml/System.Security.AccessControl/EventWaitHandleRights.xml index 02273a88cd1..35d0e85fa55 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleRights.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleRights.xml @@ -55,7 +55,7 @@ > This example does not attach the security object to an object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml index 7dae6314bd2..9a21e78b395 100644 --- a/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml +++ b/xml/System.Security.AccessControl/EventWaitHandleSecurity.xml @@ -92,7 +92,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -344,7 +344,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -567,7 +567,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -690,7 +690,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -899,7 +899,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -961,7 +961,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.EventWaitHandleSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/EventWaitHandleSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexAccessRule.xml b/xml/System.Security.AccessControl/MutexAccessRule.xml index 4f33c8445ef..9c565162c0b 100644 --- a/xml/System.Security.AccessControl/MutexAccessRule.xml +++ b/xml/System.Security.AccessControl/MutexAccessRule.xml @@ -75,7 +75,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -204,7 +204,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -275,7 +275,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexRights.xml b/xml/System.Security.AccessControl/MutexRights.xml index 8eeb8d3326f..c54b0ab1ca9 100644 --- a/xml/System.Security.AccessControl/MutexRights.xml +++ b/xml/System.Security.AccessControl/MutexRights.xml @@ -55,7 +55,7 @@ > This example does not attach the security object to a object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/MutexSecurity.xml b/xml/System.Security.AccessControl/MutexSecurity.xml index abc21e43799..562ec592773 100644 --- a/xml/System.Security.AccessControl/MutexSecurity.xml +++ b/xml/System.Security.AccessControl/MutexSecurity.xml @@ -90,7 +90,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -404,7 +404,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -687,7 +687,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -750,7 +750,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -959,7 +959,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1021,7 +1021,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.MutexSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/MutexSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistryAccessRule.xml b/xml/System.Security.AccessControl/RegistryAccessRule.xml index 525ec76e2b5..a6c5427683e 100644 --- a/xml/System.Security.AccessControl/RegistryAccessRule.xml +++ b/xml/System.Security.AccessControl/RegistryAccessRule.xml @@ -90,7 +90,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, and then displays the security for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -221,7 +221,7 @@ The following code example creates registry access rules and adds them to a object, showing how rules that allow and deny rights remain separate, while compatible rules of the same kind are merged. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, and then displays the rules for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/RegistrySecurity.xml b/xml/System.Security.AccessControl/RegistrySecurity.xml index 7083f7f8d86..4e17829d560 100644 --- a/xml/System.Security.AccessControl/RegistrySecurity.xml +++ b/xml/System.Security.AccessControl/RegistrySecurity.xml @@ -114,7 +114,7 @@ > This example does not attach the security object to a object. The second example in this section attaches a security object, and so do the examples in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb" id="Snippet1"::: Example 2 @@ -123,7 +123,7 @@ The program displays the rules in the object, and then uses the object to create a subkey. The program creates a child subkey and a grandchild subkey, then displays the security for each subkey. Finally, the program deletes the test keys. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistryAccessRule.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -393,7 +393,7 @@ A code example that demonstrates inheritance and propagation flags can be found in the class. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistryAccessRule/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistryAccessRule/.ctor/source.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ > This example does not attach the security object to a object. The second example in this section attaches a security object, and so do the examples in . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/Overview/source.vb" id="Snippet1"::: ]]> @@ -692,7 +692,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -758,7 +758,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -976,7 +976,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1039,7 +1039,7 @@ > This example does not attach the security object to a object. See the method and the method. :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.RegistrySecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/RegistrySecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreAccessRule.xml b/xml/System.Security.AccessControl/SemaphoreAccessRule.xml index 5be06d13a71..f3d16120a62 100644 --- a/xml/System.Security.AccessControl/SemaphoreAccessRule.xml +++ b/xml/System.Security.AccessControl/SemaphoreAccessRule.xml @@ -79,7 +79,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreRights.xml b/xml/System.Security.AccessControl/SemaphoreRights.xml index d1d0ee26ff6..0bde415afd9 100644 --- a/xml/System.Security.AccessControl/SemaphoreRights.xml +++ b/xml/System.Security.AccessControl/SemaphoreRights.xml @@ -61,7 +61,7 @@ > This example does not attach the security object to an object; see , method, and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.AccessControl/SemaphoreSecurity.xml b/xml/System.Security.AccessControl/SemaphoreSecurity.xml index b142647b80e..ca1cece2a0a 100644 --- a/xml/System.Security.AccessControl/SemaphoreSecurity.xml +++ b/xml/System.Security.AccessControl/SemaphoreSecurity.xml @@ -94,7 +94,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -401,7 +401,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.AddAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreAccessRule/Overview/source.vb" id="Snippet1"::: ]]> @@ -622,7 +622,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRule/source.vb" id="Snippet1"::: ]]> @@ -682,7 +682,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleAll/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleAll/source.vb" id="Snippet1"::: ]]> @@ -745,7 +745,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.RemoveAccessRuleSpecific/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/RemoveAccessRuleSpecific/source.vb" id="Snippet1"::: ]]> @@ -954,7 +954,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.ResetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/ResetAccessRule/source.vb" id="Snippet1"::: ]]> @@ -1016,7 +1016,7 @@ > This example does not attach the security object to a object. Examples that attach security objects can be found in and . :::code language="csharp" source="~/snippets/csharp/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AccessControl.SemaphoreSecurity.SetAccessRule/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.AccessControl/SemaphoreSecurity/SetAccessRule/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml b/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml index d8b30f458d6..72b1dea5f40 100644 --- a/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml +++ b/xml/System.Security.Cryptography.Xml/DSAKeyValue.xml @@ -56,12 +56,12 @@ The following code example demonstrates how to use the class in XML encryption to create a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb" id="Snippet1"::: The following code example demonstrates how to use the class in XML encryption to create an envelope signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -161,10 +161,10 @@ The following code example demonstrates how to use the class in XML encryption. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/VB/exampledetached.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampledetached.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Envelope/VB/exampleenvelope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/DSAKeyValue/Overview/exampleenvelope.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyInfo.xml b/xml/System.Security.Cryptography.Xml/KeyInfo.xml index 4b171ca2779..b8d647065d5 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfo.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfo.xml @@ -58,12 +58,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. @@ -113,12 +113,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. @@ -175,12 +175,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoName.xml b/xml/System.Security.Cryptography.Xml/KeyInfoName.xml index 1be6dad14d7..dc251ce0f55 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoName.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoName.xml @@ -52,12 +52,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. @@ -116,12 +116,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. @@ -311,12 +311,12 @@ The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example uses the object when encrypting an XML document. This example embeds an encrypted key within the encrypted XML document. diff --git a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml index 500022e4601..37af261e4db 100644 --- a/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml +++ b/xml/System.Security.Cryptography.Xml/KeyInfoX509Data.xml @@ -56,12 +56,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb" id="Snippet1"::: ]]> @@ -180,12 +180,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/VB/examplecreatedetached.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreatedetached.vb" id="Snippet2"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Envelope/VB/examplecreateenvelope.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/Overview/examplecreateenvelope.vb" id="Snippet2"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to use the object while signing and verifying an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.KeyInfoX509Data/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfoX509Data/.ctor/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/KeyReference.xml b/xml/System.Security.Cryptography.Xml/KeyReference.xml index 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/RSAKeyValue.xml b/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml index b5a096e6c40..2e7939fcb41 100644 --- a/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml +++ b/xml/System.Security.Cryptography.Xml/RSAKeyValue.xml @@ -56,12 +56,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -151,12 +151,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/Reference.xml b/xml/System.Security.Cryptography.Xml/Reference.xml index d0544bd6b6a..0997ae63777 100644 --- a/xml/System.Security.Cryptography.Xml/Reference.xml +++ b/xml/System.Security.Cryptography.Xml/Reference.xml @@ -64,7 +64,7 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -113,12 +113,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -265,12 +265,12 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: The following code example demonstrates how to generate and verify a detached XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: ]]> @@ -661,7 +661,7 @@ The following code example demonstrates how to generate and verify an enveloped XML signature using the object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/SignedXml.xml b/xml/System.Security.Cryptography.Xml/SignedXml.xml index 2a998b6108f..f35dd5f0730 100644 --- a/xml/System.Security.Cryptography.Xml/SignedXml.xml +++ b/xml/System.Security.Cryptography.Xml/SignedXml.xml @@ -44,7 +44,7 @@ The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. @@ -288,7 +288,7 @@ The following code example shows how to sign and verify a single element of an X The following code example computes and XML signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/AddObject/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml-AddObject-AddReference/VB/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/AddObject/example.vb" id="Snippet1"::: ]]> @@ -416,12 +416,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. @@ -484,12 +484,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -548,12 +548,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: ]]> @@ -687,7 +687,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignatureReturningKey/exampleenvelope.vb" id="Snippet1"::: ]]> @@ -763,12 +763,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -831,12 +831,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/VB/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigdetachedkeyedhashalg.vb" id="Snippet1"::: The following code example shows how to sign and verify an entire XML document using an enveloping signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Envelope/VB/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/xmldsigenvkeyedhashalg.vb" id="Snippet1"::: ]]> @@ -1080,12 +1080,12 @@ The following code example shows how to sign and verify a single element of an X The following code example uses the object when signing a resource represented by a Universal Resource Identifier (URI). This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: The following code example uses the object when signing an XML document. This example saves the signature in a new file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: ]]> @@ -1142,7 +1142,7 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to use the method to verify an XML document. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet3"::: ]]> @@ -1667,12 +1667,12 @@ The following code example shows how to sign and verify a single element of an X The following code example shows how to sign and verify an entire XML document using an enveloped signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Envelope/VB/exampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/Overview/exampleenvelope.vb" id="Snippet1"::: The following code example shows how to sign and verify a Uniform Resource Identifier (URI) addressable object using a detached signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-AsymetricAlg-Detached/VB/exampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/CheckSignature/exampledetached.vb" id="Snippet1"::: The following code example shows how to sign and verify a single element of an XML document using an enveloping signature. @@ -1814,7 +1814,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet2"::: ]]> @@ -1869,7 +1869,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to call members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2109,7 +2109,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2746,7 +2746,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to call members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -2799,7 +2799,7 @@ The following code example shows how to sign and verify a single element of an X The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml b/xml/System.Security.Cryptography.Xml/X509IssuerSerial.xml index 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/XmlDsigBase64Transform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml index 8a93344fca1..33e8e40d611 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigBase64Transform.xml @@ -54,7 +54,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet2"::: ]]> @@ -94,7 +94,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ The following code example demonstrates the use of the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet7"::: ]]> @@ -242,7 +242,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet8"::: ]]> @@ -292,7 +292,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet4"::: ]]> @@ -388,7 +388,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet11"::: ]]> @@ -438,7 +438,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml index 0c8b1aa7973..85d92276034 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigC14NTransform.xml @@ -62,12 +62,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/VB/xmldsigdetach.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigdetach.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet3"::: ]]> @@ -161,7 +161,7 @@ The following code example demonstrates how to use the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet1"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -352,7 +352,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet9"::: ]]> @@ -402,7 +402,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet5"::: ]]> @@ -498,7 +498,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet12"::: ]]> @@ -548,7 +548,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigC14NTransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigC14NTransformUrl/members.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml index 90aa02fec8e..77f014d6dbe 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform.xml @@ -56,12 +56,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb" id="Snippet1"::: ]]> @@ -103,12 +103,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/VB/sampledetached.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampledetached.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Envelope/VB/sampleenvelope.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransform/Overview/sampleenvelope.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml index 1add160367b..55fb1a7f43c 100644 --- a/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml +++ b/xml/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.xml @@ -58,12 +58,12 @@ **Example #1** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet1"::: **Example #2** :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet2"::: ]]> @@ -112,7 +112,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigEnvelope/VB/xmldsigenv.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/KeyInfo/Overview/xmldsigenv.vb" id="Snippet2"::: ]]> @@ -157,7 +157,7 @@ The following code example demonstrates how to use the constructor with a value of `true` to include comments. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet3"::: ]]> @@ -252,7 +252,7 @@ The following code example demonstrates how to use the method. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -306,7 +306,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet9"::: ]]> @@ -356,7 +356,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet5"::: ]]> @@ -408,7 +408,7 @@ The following code example demonstrates how to call the method using the specified object to configure the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -460,7 +460,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigBase64Transform/VB/members.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigBase64TransformUrl/members.vb" id="Snippet12"::: ]]> @@ -511,7 +511,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigEnvelopedSignatureTransformUrl/members.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXPathTransform.xml index 0d721177d4b..b40a2c8256c 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/SignedXml/XmlDsigXPathTransformUrl/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/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -263,7 +263,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet7"::: ]]> @@ -313,7 +313,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet4"::: ]]> @@ -432,7 +432,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -481,7 +481,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXPathTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXPathTransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml b/xml/System.Security.Cryptography.Xml/XmlDsigXsltTransform.xml index aefb402df9e..2da537bc0d6 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/SignedXml/XmlDsigXsltTransformUrl/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/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet8"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to use the method to retrieve the output of the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet7"::: ]]> @@ -349,7 +349,7 @@ The following code example demonstrates how to call the property to retrieve the valid input types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet4"::: ]]> @@ -458,7 +458,7 @@ The following code example demonstrates how to call the method using the specified object as the input. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet11"::: ]]> @@ -507,7 +507,7 @@ The following code example demonstrates how to call the property to retrieve the valid output types for the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography.Xml/SignedXml/XmlDsigXsltTransformUrl/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml b/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml index 9cf1043c850..3768a7140f6 100644 --- a/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml +++ b/xml/System.Security.Cryptography/AsymmetricAlgorithm.xml @@ -89,12 +89,12 @@ The following code example demonstrates how to implement a custom asymmetric algorithm inherited from the class. An additional class is provided to demonstrate how to use the custom class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet2"::: Here's an additional class that demonstrates how to use the custom class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet3"::: ]]> @@ -207,7 +207,7 @@ The following code example demonstrates how to call the method to release the resources of the current `customCrypto` object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet1"::: ]]> @@ -291,7 +291,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method in an extended class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet11"::: ]]> @@ -402,7 +402,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method in an extended class. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet12"::: ]]> @@ -1007,7 +1007,7 @@ This method is obsolete in .NET 5 and later versions. The following code example demonstrates how to implement the method to parse the specified XML string to populate the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet4"::: ]]> @@ -1561,7 +1561,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to return the name for the key exchange algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet6"::: ]]> @@ -1622,7 +1622,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to verify that it falls within the range identified in the local `keySizes` member variable. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet9"::: ]]> @@ -1744,7 +1744,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to call the property to retrieve the , , and properties. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet10"::: ]]> @@ -1873,7 +1873,7 @@ The algorithm-specific key import failed. The following code example demonstrates how to override the property to return the name of the signature algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet7"::: ]]> @@ -1980,7 +1980,7 @@ This member is an explicit interface member implementation. It can be used only The following code example demonstrates how to call the method to create an XML representation of the parameters in the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.AsymmetricAlgorithm/VB/customcrypto.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricAlgorithm/Overview/customcrypto.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml index 12b985b278c..006031bf499 100644 --- a/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example demonstrates how to extend the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet1"::: ]]> @@ -198,7 +198,7 @@ The following code example demonstrates how to override the method to create an encrypted key exchange for the specified input data. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet4"::: ]]> @@ -254,7 +254,7 @@ The following code example demonstrates how to override the property to disallow access to the parameters of the formatter. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet3"::: ]]> @@ -317,7 +317,7 @@ The following code example demonstrates how to override the to set the public key for encryption operations. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.AsymmetricKeyExchangeDeformatter/VB/contosodeformatter.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/AsymmetricKeyExchangeDeformatter/Overview/contosodeformatter.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoAPITransform.xml b/xml/System.Security.Cryptography/CryptoAPITransform.xml index 53ff2b75f75..8e6d3ff40f1 100644 --- a/xml/System.Security.Cryptography/CryptoAPITransform.xml +++ b/xml/System.Security.Cryptography/CryptoAPITransform.xml @@ -39,7 +39,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet1"::: ]]> @@ -77,7 +77,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet2"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet3"::: ]]> @@ -164,7 +164,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet7"::: ]]> @@ -264,7 +264,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet4"::: ]]> @@ -332,7 +332,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet6"::: ]]> @@ -462,7 +462,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet8"::: ]]> @@ -522,7 +522,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/CPP/members.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoAPITransform/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoAPITransform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoAPITransform/Overview/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptoConfig.xml b/xml/System.Security.Cryptography/CryptoConfig.xml index b450e7387b5..bc77cb1f302 100644 --- a/xml/System.Security.Cryptography/CryptoConfig.xml +++ b/xml/System.Security.Cryptography/CryptoConfig.xml @@ -116,7 +116,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet1"::: ]]> @@ -453,7 +453,7 @@ The following code example demonstrates how to call the method to create a new SHA-1 provider. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet4"::: ]]> @@ -549,7 +549,7 @@ The following code example demonstrates how to call the method to initialize a new RSA provider instance accessing the `TestContainer` key container. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet5"::: ]]> @@ -624,7 +624,7 @@ The following code example demonstrates how to call the method to encode the specified object identifier. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet6"::: ]]> @@ -705,7 +705,7 @@ The following code example demonstrates how to call the method to retrieve an object identifier (OID) from the string name of the SHA-1 algorithm. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptoConfig/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptoConfig/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptoConfig/Overview/members.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicException.xml b/xml/System.Security.Cryptography/CryptographicException.xml index 0bd492633e5..b7ddda3c40b 100644 --- a/xml/System.Security.Cryptography/CryptographicException.xml +++ b/xml/System.Security.Cryptography/CryptographicException.xml @@ -91,7 +91,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet2"::: ]]> @@ -164,7 +164,7 @@ The following code example demonstrates how to construct a with no parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to construct a using an error code for an . This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet3"::: ]]> @@ -303,7 +303,7 @@ The following code example demonstrates how to construct a using a custom error message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet4"::: ]]> @@ -440,7 +440,7 @@ The following code example demonstrates how to construct a using a custom error message and an inner exception. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet5"::: ]]> @@ -524,7 +524,7 @@ The following code example demonstrates how to construct a using a time format and the current date. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicException/VB/cryptographicexceptionmembers.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicException/Overview/cryptographicexceptionmembers.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml b/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml index 7386ae3ccac..63e54d05d40 100644 --- a/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml +++ b/xml/System.Security.Cryptography/CryptographicUnexpectedOperationException.xml @@ -79,7 +79,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet2"::: ]]> @@ -152,7 +152,7 @@ The following code example demonstrates how to construct a with no parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet1"::: ]]> @@ -217,7 +217,7 @@ The following code example demonstrates how to construct a using a custom error message. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet3"::: ]]> @@ -353,7 +353,7 @@ The following code example demonstrates how to construct a using a custom error message and an inner exception. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet4"::: ]]> @@ -429,7 +429,7 @@ The following code example demonstrates how to construct a using a time format and the current date. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.CryptographicUnexpectedOperationException/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/CryptographicUnexpectedOperationException/Overview/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureDeformatter.xml b/xml/System.Security.Cryptography/DSASignatureDeformatter.xml index 47cf79eb74d..96e25d4265d 100644 --- a/xml/System.Security.Cryptography/DSASignatureDeformatter.xml +++ b/xml/System.Security.Cryptography/DSASignatureDeformatter.xml @@ -74,7 +74,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -236,7 +236,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -350,7 +350,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureDeformatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureDeformatter/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/DSASignatureFormatter.xml b/xml/System.Security.Cryptography/DSASignatureFormatter.xml index a1557d332ad..34315502acc 100644 --- a/xml/System.Security.Cryptography/DSASignatureFormatter.xml +++ b/xml/System.Security.Cryptography/DSASignatureFormatter.xml @@ -74,7 +74,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -242,7 +242,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ ## Examples :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.DSASignatureFormatter/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/DSASignatureFormatter/Overview/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/FromBase64Transform.xml b/xml/System.Security.Cryptography/FromBase64Transform.xml index c0da6af3a85..250f93543d5 100644 --- a/xml/System.Security.Cryptography/FromBase64Transform.xml +++ b/xml/System.Security.Cryptography/FromBase64Transform.xml @@ -79,7 +79,7 @@ The following example decodes a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -192,7 +192,7 @@ The following example decodes a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -763,7 +763,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following example decrypts a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> @@ -846,7 +846,7 @@ For more information about Dispose and Finalize, see [Cleaning Up Unmanaged Reso The following example decrypts a base 64-encoded file to an output text file. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/FromBase64Transform/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.FromBase64Transform Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/FromBase64Transform/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/KeySizes.xml b/xml/System.Security.Cryptography/KeySizes.xml index 59dc9a1c4bb..174d8c0d832 100644 --- a/xml/System.Security.Cryptography/KeySizes.xml +++ b/xml/System.Security.Cryptography/KeySizes.xml @@ -64,7 +64,7 @@ The following example shows the use of members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet1"::: ]]> @@ -124,7 +124,7 @@ The following code shows the use of the constructor. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet2"::: ]]> @@ -179,7 +179,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet4"::: ]]> @@ -234,7 +234,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet3"::: ]]> @@ -289,7 +289,7 @@ The following code shows how to retrieve the use of the property. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeySizes/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeySizes/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeySizes/Overview/members.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml b/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml index 9272d121ace..3193ff8af6d 100644 --- a/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml +++ b/xml/System.Security.Cryptography/KeyedHashAlgorithm.xml @@ -482,7 +482,7 @@ Allows an to attempt to free resources and perfor The following code example demonstrates how to override the property to retrieve the key used in the current object. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.cs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.KeyedHashAlgorithm/VB/contosokeyedhash.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/KeyedHashAlgorithm/Key/contosokeyedhash.vb" id="Snippet22"::: ]]> diff --git a/xml/System.Security.Cryptography/MaskGenerationMethod.xml b/xml/System.Security.Cryptography/MaskGenerationMethod.xml index 6ddffd6e4ea..e2a63dc87c5 100644 --- a/xml/System.Security.Cryptography/MaskGenerationMethod.xml +++ b/xml/System.Security.Cryptography/MaskGenerationMethod.xml @@ -74,7 +74,7 @@ The following code example demonstrates how to derive from the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.MaskGenerationMethod/VB/maskgenerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/MaskGenerationMethod/Overview/maskgenerator.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml b/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml index 4425846e58a..97f6c9aa15d 100644 --- a/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/RC2CryptoServiceProvider.xml @@ -88,7 +88,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -153,7 +153,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -245,7 +245,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -467,7 +467,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> @@ -529,7 +529,7 @@ The following code example encrypts and then decrypts a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RC2CryptoServiceProvider Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RC2CryptoServiceProvider/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml b/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml index bed7b7993a9..efa09d36985 100644 --- a/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml +++ b/xml/System.Security.Cryptography/RSACryptoServiceProvider.xml @@ -77,12 +77,12 @@ The following code example uses the class to encrypt a string into an array of bytes and then decrypt the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb" id="Snippet1"::: The following code example exports the key information created using the into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb" id="Snippet1"::: ]]> Cryptographic Services @@ -161,7 +161,7 @@ If no key is loaded via the class to encrypt a string into an array of bytes and then decrypt the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample.vb" id="Snippet1"::: ]]> @@ -853,7 +853,7 @@ If no key is loaded via the object to the value of a public key (sent by another party), generates a session key using the algorithm, and then encrypts the session key using the object. Using this scheme, the session key could be sent back to the owner of the private RSA key and the two parties could use the session key to exchange encrypted data. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.Encrypt/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Encrypt/sample.vb" id="Snippet1"::: ]]> @@ -1121,7 +1121,7 @@ If no key is loaded via the into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ExportParameters/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/Overview/sample1.vb" id="Snippet1"::: ]]> @@ -1469,7 +1469,7 @@ If no key is loaded via the object into an object. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSACryptoServiceProvider.ImportParameters/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/ImportParameters/sample.vb" id="Snippet1"::: ]]> @@ -2181,7 +2181,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following code example encrypts some data, creates a hash of the encrypted data, and then signs hash with a digital signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet1"::: ]]> @@ -2400,7 +2400,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following example shows how to use the method to verify a signature. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet2"::: ]]> @@ -2492,7 +2492,7 @@ The supported RSA key sizes depend on the available cryptographic service provid The following example shows how to use the method to verify a signature. This code example is part of a larger example provided for the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Security.Cryptography.RSACryptoServiceProvider ManualHash Example/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSACryptoServiceProvider/SignHash/class1.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml index 4c15b11062e..7cd7ccc82f3 100644 --- a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to recreate an exchange key to be used to decrypt a message. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following example shows how to use the method to recreate an exchange key from a message sender. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet3"::: ]]> @@ -320,7 +320,7 @@ The following code example demonstrates how to call the property to retrieve an XML representation of the parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet12"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml index be3d9c73af7..e4ffb63c9e2 100644 --- a/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml +++ b/xml/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to create an exchange key for a message recipient. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsaoaepkeyexchangedeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -333,7 +333,7 @@ The following example shows how to use the method to create an exchange key for a message recipient. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet2"::: ]]> @@ -389,7 +389,7 @@ The following code example demonstrates how to set the property to an field. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet7"::: ]]> @@ -445,7 +445,7 @@ The following code example demonstrates how to call the property to retrieve an XML representation of the parameters. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet13"::: ]]> @@ -506,7 +506,7 @@ The following code example demonstrates how to set the property to a random number. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet6"::: ]]> @@ -569,7 +569,7 @@ The following code example demonstrates how to use the method to set an key for decryption. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.RSAOAEPKeyExchangeDeformatter/VB/rsaencoder.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeDeformatter/Parameters/rsaencoder.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml index 493717644f7..b54673718ce 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeDeformatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to recreate an exchange key to be used to decrypt a message. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet1"::: ]]> @@ -256,7 +256,7 @@ The following example shows how to use the method to recreate an exchange key from a message sender. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml index 91531e2dbe0..6ee8a225ccc 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1KeyExchangeFormatter.xml @@ -81,7 +81,7 @@ The following example shows how to use the class to create an exchange key for a message recipient. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet1"::: ]]> @@ -335,7 +335,7 @@ The following example shows how to use the method to create an exchange key for a message recipient. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1keyexchangeformatter2/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAOAEPKeyExchangeFormatter/CreateKeyExchange/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml index 0243172c2c5..1ce9b175e6d 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1SignatureDeformatter.xml @@ -78,7 +78,7 @@ The following example demonstrates how to use the method to verify a signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -375,7 +375,7 @@ The following example demonstrates how to use the method to verify a signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signaturedeformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureDeformatter/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml b/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml index c2c65ac21c9..f35cb84425d 100644 --- a/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml +++ b/xml/System.Security.Cryptography/RSAPKCS1SignatureFormatter.xml @@ -78,7 +78,7 @@ The following example demonstrates how to create a PKCS #1 version 1.5 signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb" id="Snippet1"::: ]]> @@ -260,7 +260,7 @@ The following example demonstrates how to create a PKCS #1 version 1.5 signature. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.rsapkcs1signatureformatterexample/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/RSAPKCS1SignatureFormatter/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/SymmetricAlgorithm.xml b/xml/System.Security.Cryptography/SymmetricAlgorithm.xml index 8e68834d66d..85013fdc861 100644 --- a/xml/System.Security.Cryptography/SymmetricAlgorithm.xml +++ b/xml/System.Security.Cryptography/SymmetricAlgorithm.xml @@ -654,7 +654,7 @@ We recommend that you specify the algorithm by calling the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm/vb/encryptor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/CreateEncryptor/encryptor.vb" id="Snippet1"::: ]]> @@ -2730,7 +2730,7 @@ Allows an to attempt to free resources and perfor The following example shows the value of for the symmetric algorithms. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb" id="Snippet1"::: ]]> @@ -2861,7 +2861,7 @@ Allows an to attempt to free resources and perfor The following example shows the value of for the AES symmetric algorithm. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.security.cryptography.symmetricalgorithm.blocksize/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/SymmetricAlgorithm/LegalBlockSizes/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Cryptography/ToBase64Transform.xml b/xml/System.Security.Cryptography/ToBase64Transform.xml index d5f4e1d9c3b..db19bbbe1d9 100644 --- a/xml/System.Security.Cryptography/ToBase64Transform.xml +++ b/xml/System.Security.Cryptography/ToBase64Transform.xml @@ -79,7 +79,7 @@ The following code example demonstrates how to use members of the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet1"::: ]]> @@ -178,7 +178,7 @@ The following code example demonstrates how to call the property to determine if the current transform can be reused. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet3"::: ]]> @@ -237,7 +237,7 @@ The following code example demonstrates how to call the method to verify that multiple blocks can be transformed. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet4"::: ]]> @@ -299,7 +299,7 @@ The following code example demonstrates how to call the method to free up unused resources by the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet7"::: ]]> @@ -538,7 +538,7 @@ The following code example demonstrates how to call the property to retrieve the input block size of the current transform. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet5"::: ]]> @@ -601,7 +601,7 @@ The following code example demonstrates how to call the property to create a new byte array with the size of the output block size. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet6"::: ]]> @@ -726,7 +726,7 @@ For more information about `Dispose` and `Finalize`, see [Cleaning Up Unmanaged The following code example demonstrates how to call the method to iterate through `inputBytes` transforming by `blockSize`. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet8"::: ]]> @@ -801,7 +801,7 @@ For more information about `Dispose` and `Finalize`, see [Cleaning Up Unmanaged The following code example demonstrates how to call the method to transform the final block of data. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Cryptography/ToBase64Transform/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Cryptography.ToBase64Transform/VB/members.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Cryptography/ToBase64Transform/Overview/members.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Security.Policy/Evidence.xml b/xml/System.Security.Policy/Evidence.xml index 9421a8d5b55..0e9f0b4e473 100644 --- a/xml/System.Security.Policy/Evidence.xml +++ b/xml/System.Security.Policy/Evidence.xml @@ -89,7 +89,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet15"::: ]]> @@ -195,7 +195,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet12"::: ]]> @@ -262,7 +262,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet3"::: ]]> @@ -382,7 +382,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet4"::: ]]> @@ -536,7 +536,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet2"::: ]]> @@ -673,7 +673,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet13"::: ]]> @@ -797,7 +797,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet6"::: ]]> @@ -868,7 +868,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet12"::: ]]> @@ -988,7 +988,7 @@ Console::WriteLine( "Does the copy equal the current evidence? {0}", myEvidence- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet3"::: ]]> @@ -1121,7 +1121,7 @@ Console::WriteLine( "Does the copy equal the current evidence? {0}", myEvidence- :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet14"::: ]]> @@ -1231,7 +1231,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet2"::: ]]> @@ -1448,7 +1448,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet7"::: ]]> @@ -1515,7 +1515,7 @@ Console::WriteLine( "HashCode = {0}", myEvidence->GetHashCode() ); :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.Evidence/CPP/evidence_evidence.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/Evidence/Overview/evidence_evidence.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.Evidence/VB/evidence_evidence.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/Evidence/Overview/evidence_evidence.vb" id="Snippet10"::: ]]> @@ -1584,7 +1584,7 @@ The results of executing the diff --git a/xml/System.Security.Policy/GacMembershipCondition.xml b/xml/System.Security.Policy/GacMembershipCondition.xml index 1d8dcd57f7c..a3563f49b9b 100644 --- a/xml/System.Security.Policy/GacMembershipCondition.xml +++ b/xml/System.Security.Policy/GacMembershipCondition.xml @@ -70,7 +70,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet1"::: ]]> @@ -116,7 +116,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet4"::: ]]> @@ -174,7 +174,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet3"::: ]]> @@ -228,7 +228,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet2"::: ]]> @@ -286,7 +286,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -352,7 +352,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -414,7 +414,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet6"::: ]]> @@ -469,7 +469,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet4"::: ]]> @@ -523,7 +523,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -587,7 +587,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet5"::: ]]> @@ -644,7 +644,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/CPP/gacmembershipcondition.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/GacInstalled/Equals/gacmembershipcondition.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.GacMembershipCondition/VB/gacmembershipcondition.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/GacMembershipCondition/Overview/gacmembershipcondition.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Policy/IApplicationTrustManager.xml b/xml/System.Security.Policy/IApplicationTrustManager.xml index 5e620964532..f27553cd33e 100644 --- a/xml/System.Security.Policy/IApplicationTrustManager.xml +++ b/xml/System.Security.Policy/IApplicationTrustManager.xml @@ -38,7 +38,7 @@ The following example shows a simple implementation of . :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/IApplicationTrustManager/Overview/customTrustManager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb" id="Snippet1"::: ]]> @@ -81,7 +81,7 @@ The following example shows an implementation of the method for a custom trust manager. This code example is part of a larger example provided for the interface. :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/IApplicationTrustManager/Overview/customTrustManager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.IApplicationTrustManager/VB/customtrustmanager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/IApplicationTrustManager/Overview/customtrustmanager.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Security.Policy/PolicyLevel.xml b/xml/System.Security.Policy/PolicyLevel.xml index a61b1af47d7..16af8ce5e78 100644 --- a/xml/System.Security.Policy/PolicyLevel.xml +++ b/xml/System.Security.Policy/PolicyLevel.xml @@ -1062,7 +1062,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.policy.policylevel/CPP/policylevel.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyLevel/Resolve/policylevel.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb" id="Snippet13"::: ]]> @@ -1225,7 +1225,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.policy.policylevel/CPP/policylevel.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyLevel/Resolve/policylevel.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.policy.policylevel/VB/policylevel.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyLevel/Resolve/policylevel.vb" id="Snippet15"::: ]]> diff --git a/xml/System.Security.Policy/PolicyStatement.xml b/xml/System.Security.Policy/PolicyStatement.xml index 07576e043da..3adce611ae2 100644 --- a/xml/System.Security.Policy/PolicyStatement.xml +++ b/xml/System.Security.Policy/PolicyStatement.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -133,7 +133,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet3"::: ]]> @@ -237,7 +237,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -288,7 +288,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -335,7 +335,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -403,7 +403,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet10"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet10"::: ]]> @@ -471,7 +471,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -581,7 +581,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -637,7 +637,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet5"::: ]]> @@ -703,7 +703,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/CPP/members.cpp" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Policy/PolicyStatement/Overview/members.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Policy.PolicyStatement_Evt/VB/Form1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Policy/PolicyStatement/Overview/Form1.vb" id="Snippet6"::: ]]> diff --git a/xml/System.Security.Principal/GenericIdentity.xml b/xml/System.Security.Principal/GenericIdentity.xml index b046a9a7a0f..fbf9ec1d07d 100644 --- a/xml/System.Security.Principal/GenericIdentity.xml +++ b/xml/System.Security.Principal/GenericIdentity.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet1"::: ]]> @@ -194,7 +194,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet2"::: ]]> @@ -257,7 +257,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet3"::: ]]> @@ -321,7 +321,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet5"::: ]]> @@ -512,7 +512,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/CPP/genericidentitymembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericIdentity2/VB/genericidentitymembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericIdentity/Overview/genericidentitymembers.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Principal/GenericPrincipal.xml b/xml/System.Security.Principal/GenericPrincipal.xml index 4ae7f3c8bc8..9fc821c8b7f 100644 --- a/xml/System.Security.Principal/GenericPrincipal.xml +++ b/xml/System.Security.Principal/GenericPrincipal.xml @@ -83,7 +83,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet1"::: ]]> @@ -147,7 +147,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet2"::: ]]> @@ -207,7 +207,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet3"::: ]]> @@ -282,7 +282,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/CPP/genericprincipalmembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.GenericPrincipal2/VB/genericprincipalmembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/GenericPrincipal/Overview/genericprincipalmembers.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Security.Principal/WindowsAccountType.xml b/xml/System.Security.Principal/WindowsAccountType.xml index 49e31277e5f..4083863f133 100644 --- a/xml/System.Security.Principal/WindowsAccountType.xml +++ b/xml/System.Security.Principal/WindowsAccountType.xml @@ -51,7 +51,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Security.Principal/WindowsBuiltInRole.xml b/xml/System.Security.Principal/WindowsBuiltInRole.xml index 27f8636441d..deea6ad7036 100644 --- a/xml/System.Security.Principal/WindowsBuiltInRole.xml +++ b/xml/System.Security.Principal/WindowsBuiltInRole.xml @@ -55,7 +55,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security.Principal/WindowsIdentity.xml b/xml/System.Security.Principal/WindowsIdentity.xml index a9dd49ec001..c3c62373077 100644 --- a/xml/System.Security.Principal/WindowsIdentity.xml +++ b/xml/System.Security.Principal/WindowsIdentity.xml @@ -91,7 +91,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet4"::: ]]> @@ -545,7 +545,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet7"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet7"::: ]]> @@ -621,7 +621,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet17"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet17"::: ]]> @@ -1110,7 +1110,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet15"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet15"::: ]]> @@ -1172,7 +1172,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet13"::: ]]> @@ -1332,7 +1332,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the identity references for the groups the current user belongs to. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet20"::: ]]> @@ -1523,7 +1523,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the impersonation level for the current user. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet21"::: ]]> @@ -1583,7 +1583,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet9"::: ]]> @@ -1677,7 +1677,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet12"::: ]]> @@ -1730,7 +1730,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet11"::: ]]> @@ -1792,7 +1792,7 @@ Application code does not call this method; it is automatically invoked during g :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet8"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet8"::: ]]> @@ -1856,7 +1856,7 @@ Application code does not call this method; it is automatically invoked during g The following code example shows the use of the property to display the security identifier for the token owner. This code example is part of a larger example provided for the class :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet19"::: ]]> @@ -2363,7 +2363,7 @@ public class ImpersonationDemo :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/CPP/windowsidentitymembers.cpp" id="Snippet14"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsAccountType/Overview/windowsidentitymembers.cs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsIdentity_AllMembers/VB/Form1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsAccountType/Overview/Form1.vb" id="Snippet14"::: ]]> diff --git a/xml/System.Security.Principal/WindowsPrincipal.xml b/xml/System.Security.Principal/WindowsPrincipal.xml index cef2fbbec79..420f31890f8 100644 --- a/xml/System.Security.Principal/WindowsPrincipal.xml +++ b/xml/System.Security.Principal/WindowsPrincipal.xml @@ -67,7 +67,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet1"::: ]]> @@ -382,7 +382,7 @@ The following code example demonstrates the use of the method. The enumeration value is used to determine whether the current principal is an administrator. For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet5"::: ]]> @@ -446,7 +446,7 @@ The following example uses the enumeration is used to determine whether the current principal is an . For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet4"::: ]]> @@ -547,7 +547,7 @@ The strings `BUILTIN\Administrators` and `BUILTIN\Users` are used to determine whether the current principal is an administrator or a user. For the full code example, see the method. :::code language="csharp" source="~/snippets/csharp/System.Security.Principal/WindowsBuiltInRole/Overview/source.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.Principal.WindowsBuiltInRole Example/VB/source.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security.Principal/WindowsBuiltInRole/Overview/source.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml index a64fc4851ac..b5725080a75 100644 --- a/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml +++ b/xml/System.Security/AllowPartiallyTrustedCallersAttribute.xml @@ -88,7 +88,7 @@ The following example shows how to use the class. :::code language="csharp" source="~/snippets/csharp/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/AllowPartiallyTrustedCallersAttribute.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.AllowPartiallyTrustedCallersAttribute/VB/allowpartiallytrustedcallersattribute.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/AllowPartiallyTrustedCallersAttribute/Overview/allowpartiallytrustedcallersattribute.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Security/HostSecurityManager.xml b/xml/System.Security/HostSecurityManager.xml index b835bda4944..4863736272f 100644 --- a/xml/System.Security/HostSecurityManager.xml +++ b/xml/System.Security/HostSecurityManager.xml @@ -59,7 +59,7 @@ The following example shows a very simple implementation of a . :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet1"::: ]]> @@ -160,7 +160,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet3"::: ]]> @@ -278,7 +278,7 @@ The following example shows how to override the property for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet2"::: ]]> @@ -339,7 +339,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet6"::: ]]> @@ -591,7 +591,7 @@ The following example shows how to override the method for a custom host security manager. This example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Security/HostSecurityManager/Overview/customsecuritymanager.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.HostSecurityManager/VB/customsecuritymanager.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/HostSecurityManager/Overview/customsecuritymanager.vb" id="Snippet5"::: ]]> diff --git a/xml/System.Security/SecureString.xml b/xml/System.Security/SecureString.xml index 863bda55620..c7ee981032c 100644 --- a/xml/System.Security/SecureString.xml +++ b/xml/System.Security/SecureString.xml @@ -66,7 +66,7 @@ The following example demonstrates how to use a to secure a user's password for use as a credential to start a new process. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/ctor4.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/ctor4.vb" id="Snippet4"::: ]]> @@ -134,12 +134,12 @@ The following example demonstrates how to use a object. It then calls the method to add an array of characters to it. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/Ctor2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/ctor2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/ctor2.vb" id="Snippet2"::: The following example creates a object from the value of a object. :::code language="csharp" source="~/snippets/csharp/System.Security/SecureString/Overview/Ctor3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecureString.Ctor/vb/Ctor3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecureString/Overview/Ctor3.vb" id="Snippet3"::: ]]> diff --git a/xml/System.Security/SecurityElement.xml b/xml/System.Security/SecurityElement.xml index a5b000c529d..1aab234af27 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/SearchForTextOfTag/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..5852d3e13a0 100644 --- a/xml/System.Security/SecurityException.xml +++ b/xml/System.Security/SecurityException.xml @@ -77,7 +77,7 @@ A exception is thrown when a caller does not have the permissions required to access a resource. The following example instantiates a object that includes a object to allow access to UI objects and the Clipboard and a object to prevent registry access. The call to the method means that these permissions will apply regardless of the permissions assigned to the caller. As a result, the attempt to create a registry key throws a . :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/Overview/se_ex1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.securityexception.class/vb/se_ex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/Overview/se_ex1.vb" id="Snippet1"::: uses the HRESULT COR_E_SECURITY, which has the value 0x8013150A. @@ -597,7 +597,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet16"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet16"::: ]]> @@ -793,7 +793,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet3"::: ]]> @@ -925,7 +925,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet12"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet12"::: ]]> @@ -1046,7 +1046,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Security.SecurityException/CPP/form1.cpp" id="Snippet9"::: :::code language="csharp" source="~/snippets/csharp/System.Security/SecurityException/.ctor/form1.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Security.SecurityException/VB/form1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Security/SecurityException/.ctor/form1.vb" id="Snippet9"::: ]]> diff --git a/xml/System.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..6bb31fdd1c3 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. @@ -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..a409a320928 100644 --- a/xml/System.Text.RegularExpressions/MatchEvaluator.xml +++ b/xml/System.Text.RegularExpressions/MatchEvaluator.xml @@ -74,7 +74,7 @@ The following code example uses the delegate to replace every matched group of characters with the number of the match occurrence. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.MatchEvaluator/VB/regexreplace.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/MatchEvaluator/Overview/regexreplace.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/Regex.xml b/xml/System.Text.RegularExpressions/Regex.xml index 5d4b22dddc0..abfd7f4bbd4 100644 --- a/xml/System.Text.RegularExpressions/Regex.xml +++ b/xml/System.Text.RegularExpressions/Regex.xml @@ -222,7 +222,7 @@ The following example illustrates how to use this constructor to instantiate a regular expression that matches any word that begins with the letters "a" or "t". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/constructors1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/constructors1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/constructors1.vb" id="Snippet1"::: Note that the regular expression pattern cannot match the word "The" at the beginning of the text, because comparisons are case-sensitive by default. For an example of case-insensitive comparison, see the constructor. @@ -368,7 +368,7 @@ The following example illustrates how to use this constructor to instantiate a regular expression that matches any word that begins with the letters "a" or "t". :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/Constructors2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Constructors/vb/Constructors2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/Constructors2.vb" id="Snippet2"::: Note that the match collection includes the word "The" that begins the text because the `options` parameter has defined case-insensitive comparisons. @@ -470,7 +470,7 @@ The following example calls the constructor to instantiate a object with a time-out value of one second. The regular expression pattern `(a+)+$`, which matches one or more sequences of one or more "a" characters at the end of a line, is subject to excessive backtracking. If a is thrown, the example increases the time-out value up to the maximum value of three seconds. Otherwise, it abandons the attempt to match the pattern. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/.ctor/ctor1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -965,12 +965,12 @@ The following example creates an assembly named RegexLib.dll. The assembly includes two compiled regular expressions. The first, `Utilities.RegularExpressions.DuplicatedString`, matches two identical contiguous words. The second, `Utilities.RegularExpressions.EmailAddress`, checks whether a string has the correct format to be an email address. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile1.vb" id="Snippet1"::: The regular expression that checks a string for duplicate words is then instantiated and used by the following example. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb" id="Snippet2"::: Successful compilation of this second example requires a reference to RegexLib.dll (the assembly created by the first example) to be added to the project. @@ -1088,14 +1088,14 @@ The following example creates an assembly named RegexLib.dll and applies the attribute to it. The assembly includes two compiled regular expressions. The first, `Utilities.RegularExpressions.DuplicatedString`, matches two identical contiguous words. The second, `Utilities.RegularExpressions.EmailAddress`, checks whether a string has the correct format to be an email address. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile3.vb" id="Snippet3"::: You can verify that the attribute has been applied to the assembly by examining its manifest with a reflection utility such as ILDasm. The regular expression that checks a string for duplicate words is then instantiated and used by the following example. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.CompileToAssembly/vb/Compile2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/CompileToAssembly/Compile2.vb" id="Snippet2"::: Successful compilation of this second example requires a reference to RegexLib.dll (the assembly created by the first example) to be added to the project. @@ -2288,12 +2288,12 @@ Each match won't actually happen until converts a string so that the regular expression engine will interpret any metacharacters that it may contain as character literals. For example, consider a regular expression that is designed to extract comments that are delimited by straight opening and closing brackets ([ and ]) from text. In the following example, the regular expression "[(.*?)]" is interpreted as a character class. Rather than matching comments embedded in the input text, the regular expression matches each opening or closing parenthesis, period, asterisk, or question mark. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb" id="Snippet1"::: However, if the opening bracket is escaped by passing it to the method, the regular expression succeeds in matching comments that are embedded in the input string. The following example illustrates this. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape1.vb" id="Snippet2"::: In a regular expression that is defined by using static text, characters that are to be interpreted literally rather than as metacharacters can be escaped by preceding them with a backslash symbol (\\) as well as by calling the method. In a regular expression that is defined dynamically using characters that are not known at design time, calling the method is particularly important to ensure that the regular expression engine interprets individual characters as literals rather than as metacharacters. @@ -2308,7 +2308,7 @@ Each match won't actually happen until method to ensure that they cannot be misinterpreted as metacharacters. In addition, the example explicitly checks whether the end comment symbol entered by the user is a closing bracket (]) or brace (}). If it is, a backslash character (\\) is prepended to the bracket or brace so that it is interpreted literally. Note that the example also uses the collection to display the comment only, rather than the comment together with its opening and closing comment symbols. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/Escape/Escape3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.Regex.Escape/vb/Escape3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/Escape/Escape3.vb" id="Snippet3"::: ]]> @@ -2454,7 +2454,7 @@ Allows an to attempt to free resources and perfor The following example defines a general-purpose `ShowMatches` method that displays the names of regular expression groups and their matched text. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnames/vb/getgroupnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNames/getgroupnames1.vb" id="Snippet1"::: In this case, the regular expression pattern `\b(?\w+)\s?((\w+)\s)*(?\w+)?(?\p{Po})` is intended to parse a simple sentence, and to identify its first word, last word, and ending punctuation mark. The following table shows how the regular expression pattern is interpreted: @@ -2532,7 +2532,7 @@ Allows an to attempt to free resources and perfor The following example defines a regular expression, `\b((?\w+)\s*)+(?[.?!])`, that matches a sentence. The regular expression includes three capturing groups: an unnamed group that captures an individual word along with a space character that may follow it; a group named `word` that captures the individual words in the sentence; and a group named `end` that captures the punctuation that ends the sentence. The example calls the method to get the numbers of all capturing groups, and then displays their captured string. In addition, the method is used to indicate whether a particular numbered group corresponds to a named group. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.getgroupnumbers/vb/getgroupnumbers1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GetGroupNumbers/getgroupnumbers1.vb" id="Snippet1"::: The regular expression pattern is interpreted as shown in the following table. @@ -2613,7 +2613,7 @@ Allows an to attempt to free resources and perfor The following example defines a regular expression pattern that matches an address line containing a U.S. city name, state name, and zip code. The example uses the method to retrieve the names of capturing groups. It then uses these names to retrieve the corresponding captured groups for matches. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.groupnamefromnumber/vb/groupnamefromnumberex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/GroupNameFromNumber/groupnamefromnumberex.vb" id="Snippet1"::: The regular expression pattern is defined by the following expression: @@ -2982,7 +2982,7 @@ Allows an to attempt to free resources and perfor The following example illustrates the use of the method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch2.vb" id="Snippet2"::: The regular expression pattern is: @@ -3165,7 +3165,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. It searches for a part number that follows a colon (:) character in a string. The method is used to determine the position of the colon character, which is then passed to the method. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.cs" interactive="try-dotnet" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch3.vb" id="Snippet3"::: The regular expression pattern is: @@ -3270,7 +3270,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch1.vb" id="Snippet1"::: The regular expression pattern is: @@ -3436,7 +3436,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.cs" interactive="try-dotnet" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch4.vb" id="Snippet4"::: The regular expression pattern is: @@ -3615,7 +3615,7 @@ For more details about `startat`, see the Remarks section of method to determine whether a string is a valid part number. The regular expression assumes that the part number has a specific format that consists of three sets of characters separated by hyphens. The first set, which contains four characters, must consist of an alphanumeric character followed by two numeric characters followed by an alphanumeric character. The second set, which consists of three characters, must be numeric. The third set, which consists of four characters, must have three numeric characters followed by an alphanumeric character. Matching the regular expression pattern should involve minimal searching through the input string, so the method sets a time-out interval of 500 milliseconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.cs" interactive="try-dotnet" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regex.ismatch/vb/ismatch5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/Regex/IsMatch/ismatch5.vb" id="Snippet5"::: The regular expression pattern is: @@ -3901,7 +3901,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. @@ -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..44d8092bda1 100644 --- a/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml +++ b/xml/System.Text.RegularExpressions/RegexCompilationInfo.xml @@ -216,7 +216,7 @@ The following example defines a single compiled regular expression named `DuplicateChars` that identifies two or more occurrences of the same character in an input string. The compiled regular expression has a default time-out of 2 seconds. When you execute the example, it creates a class library named RegexLib.dll that contains the compiled regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb" id="Snippet1"::: The regular expression pattern `(\w)\1+` is defined as shown in the following table. @@ -228,7 +228,7 @@ The following example uses the `DuplicatedChars` regular expression to identify duplicate characters in a string array. When it calls the `DuplicatedChars` constructor, it changes the time-out interval to .5 seconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb" id="Snippet2"::: ]]> @@ -361,7 +361,7 @@ The following example defines a single compiled regular expression named `DuplicateChars` that identifies two or more occurrences of the same character in an input string. The compiled regular expression has a default time-out of 2 seconds. When you execute the example, it creates a class library named RegexLib.dll that contains the compiled regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1.vb" id="Snippet1"::: The regular expression pattern `(\w)\1+` is defined as shown in the following table. @@ -373,7 +373,7 @@ The following example uses the `DuplicatedChars` regular expression to identify duplicate characters in a string array. When it calls the `DuplicatedChars` constructor, it changes the time-out interval to .5 seconds. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexcompilationinfo.matchtimeout/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexCompilationInfo/.ctor/example1a.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml b/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml index 841537c7b75..8a1d8749852 100644 --- a/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml +++ b/xml/System.Text.RegularExpressions/RegexMatchTimeoutException.xml @@ -87,7 +87,7 @@ The following example illustrates two possible approaches to handling the exception. A constant whose value is two seconds defines the maximum time-out interval. The method is initially called with a time-out interval of one second. Each exception causes the time-out interval to be increased by one second and results in another call to the method if the current time-out interval is less than the maximum time-out interval. However, if the current time-out interval exceeds the maximum time-out interval, the exception handler writes information to the event log and abandons the processing of the regular expression. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.regularexpressions.regexmatchtimeoutexception/vb/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexMatchTimeoutException/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text.RegularExpressions/RegexOptions.xml b/xml/System.Text.RegularExpressions/RegexOptions.xml index 3c40cd3ed6e..d3e37b62f01 100644 --- a/xml/System.Text.RegularExpressions/RegexOptions.xml +++ b/xml/System.Text.RegularExpressions/RegexOptions.xml @@ -81,7 +81,7 @@ The following example defines two regular expressions that identify repeated words in text but that are instantiated using different `RegexOptions` values. The first regular expression is case-insensitive; case is ignored when determining whether a word is identical to the preceding word. The second regular expression is case-sensitive; a word must match the case of the preceding word exactly to be considered a duplicate. :::code language="csharp" source="~/snippets/csharp/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.RegularExpressions.RegexOptions/vb/RegexOptions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text.RegularExpressions/RegexOptions/Overview/RegexOptions.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/ASCIIEncoding.xml b/xml/System.Text/ASCIIEncoding.xml index 0388da988b7..69418d89a90 100644 --- a/xml/System.Text/ASCIIEncoding.xml +++ b/xml/System.Text/ASCIIEncoding.xml @@ -82,7 +82,7 @@ The following example demonstrates how to encode Unicode characters into ASCII. Notice the loss of data that occurs when your application uses to encode Unicode characters outside of the ASCII range. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -145,7 +145,7 @@ The following example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -267,7 +267,7 @@ The following example demonstrates how to use the method to return the number of bytes required to encode a string using . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount2 Example/VB/getbytecount-string.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-string.vb" id="Snippet1"::: ]]> @@ -434,7 +434,7 @@ The following example demonstrates how to use the method to return the number of bytes required to encode an array of Unicode characters using . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetByteCount1 Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -697,7 +697,7 @@ The following example demonstrates how to use the method to encode a range of characters from a string and store the encoded characters in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes1 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -803,7 +803,7 @@ The following example demonstrates how to use the method to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetBytes2/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1035,7 +1035,7 @@ The following example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1299,7 +1299,7 @@ The following example demonstrates how to decode a range of elements from a byte array and store the result in a set of elements in a Unicode character array. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1517,7 +1517,7 @@ The following example demonstrates how to use the method to calculate the bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1594,7 +1594,7 @@ The following example demonstrates how to use the method to calculate the maximum number of characters needed to decode a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1709,7 +1709,7 @@ The following example demonstrates how to use the method to convert a byte array into a . :::code language="csharp" source="~/snippets/csharp/System.Text/ASCIIEncoding/GetString/getstring-byte[].cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.ASCIIEncoding.GetString1 Example/VB/getstring-byte[].vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/ASCIIEncoding/GetString/getstring-byte[].vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Decoder.xml b/xml/System.Text/Decoder.xml index 720bd3c84ca..b41d51be9ff 100644 --- a/xml/System.Text/Decoder.xml +++ b/xml/System.Text/Decoder.xml @@ -147,7 +147,7 @@ The following example demonstrates the use of a to co The following example demonstrates two techniques for initializing a new instance. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -808,7 +808,7 @@ The following example uses the method to c The following code example demonstrates how to use the method to calculate the number of characters required to decode the specified range of bytes in the array. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1159,7 +1159,7 @@ The following example uses the method to c The following example demonstrates how to decode a range of elements from a byte array and store them in a Unicode character array. The method is used to calculate the number of characters needed to store the decoded elements in the array `bytes`. The method decodes the specified elements in the byte array and stores them in the new character array. :::code language="csharp" source="~/snippets/csharp/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Decoder.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Decoder/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoder.xml b/xml/System.Text/Encoder.xml index 3b1b3d9c2e4..331953eef40 100644 --- a/xml/System.Text/Encoder.xml +++ b/xml/System.Text/Encoder.xml @@ -86,7 +86,7 @@ A object maintains state information between successi The following example demonstrates how to convert an array of Unicode characters into blocks of bytes using a specified encoding. For comparison, the array of characters is first encoded using . Next, the array of characters is encoded using an . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -148,7 +148,7 @@ The following example demonstrates how to convert an array of Unicode characters The following example demonstrates two techniques for initializing a new instance. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -778,7 +778,7 @@ The following example demonstrates how to convert an array of Unicode characters The following code example demonstrates how to use the method to return the number of bytes required to encode an array of characters using a Unicode . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1022,7 +1022,7 @@ If your application is to convert many segments of an input stream, consider usi The following example demonstrates how to encode a range of elements from a character array and store the encoded bytes in a range of elements in a byte array. The method is used to determine the size of the array required by . :::code language="csharp" source="~/snippets/csharp/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoder/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/Encoding.xml b/xml/System.Text/Encoding.xml index 9e36efb5add..81266b957c6 100644 --- a/xml/System.Text/Encoding.xml +++ b/xml/System.Text/Encoding.xml @@ -92,7 +92,7 @@ The following example converts a string from one encoding to another. > The `byte[]` array is the only type in this example that contains the encoded data. The .NET `Char` and `String` types are themselves Unicode, so the call decodes the data back to Unicode. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Overview/convert.cs" interactive="try-dotnet" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb" id="Snippet1"::: ]]> How to use character encoding classes in .NET @@ -353,14 +353,14 @@ The following example converts a string from one encoding to another. The object that is returned by this property might not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the method to instantiate an object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/ASCII/encoding.ascii2.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.ascii/vb/encoding.ascii2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/ASCII/encoding.ascii2.vb" id="Snippet1"::: ## Examples The following example demonstrates the effect of the ASCII encoding on characters that are outside the ASCII range. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/ASCII/ascii.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.ASCII Example/VB/ascii.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/ASCII/ascii.vb" id="Snippet1"::: ]]> @@ -421,7 +421,7 @@ The following example demonstrates the effect of the ASCII encoding on character The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a big endian object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode1.vb" id="Snippet2"::: The returned object has , , and properties, which yield the name "unicodeFFFE". Although the UTF-16 big endian byte order mark is hexadecimal FEFF, the name "unicodeFFFE" was chosen because the byte order mark appears as hexadecimal FFFE on little endian Windows computers. @@ -429,12 +429,12 @@ The following example demonstrates the effect of the ASCII encoding on character The following example reads a text file with a UTF-16 encoding using the big endian byte order. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/bigendianunicode.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.BigEndianUnicode/VB/bigendianunicode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/bigendianunicode.vb" id="Snippet1"::: The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -501,7 +501,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -627,7 +627,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -703,7 +703,7 @@ The following example demonstrates the effect of the ASCII encoding on character The following example converts a Unicode-encoded string to an ASCII-encoded string. Because the ASCII encoding object returned by the property uses replacement fallback and the Pi character is not part of the ASCII character set, the Pi character is replaced with a question mark, as the output from the example shows. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Overview/convert.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Convert Example/VB/convert.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Overview/convert.vb" id="Snippet1"::: ]]> @@ -1112,7 +1112,7 @@ The returned 's and . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -1188,7 +1188,7 @@ The returned 's and @@ -1277,7 +1277,7 @@ The returned 's and @@ -1423,7 +1423,7 @@ The returned 's and @@ -1610,7 +1610,7 @@ The returned 's and @@ -1700,7 +1700,7 @@ The returned 's and @@ -1787,7 +1787,7 @@ The returned 's and @@ -1874,7 +1874,7 @@ The returned 's and @@ -2034,7 +2034,7 @@ The returned 's and @@ -2124,7 +2124,7 @@ The returned 's and @@ -2319,7 +2319,7 @@ The returned 's and @@ -2432,7 +2432,7 @@ The returned 's and @@ -2545,7 +2545,7 @@ The returned 's and @@ -2793,12 +2793,12 @@ The returned 's and @@ -2906,7 +2906,7 @@ The returned 's and @@ -3070,7 +3070,7 @@ The returned 's and @@ -3293,12 +3293,12 @@ The returned 's and @@ -3552,7 +3552,7 @@ You can also supply a value of 0 for the `codepage` argument. Its precise behavi The following example gets two instances of the same encoding (one by code page and another by name), and checks their equality. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -3643,7 +3643,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example gets two instances of the same encoding (one by code page and another by name), and checks their equality. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Equals/equals.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -3924,7 +3924,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4050,7 +4050,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -4139,7 +4139,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetCharCount/getchars.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetChars/VB/getchars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetCharCount/getchars.vb" id="Snippet1"::: ]]> @@ -4240,7 +4240,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example determines the byte order of the encoding based on the preamble. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetPreamble/preamble.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetPreamble Example/VB/preamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetPreamble/preamble.vb" id="Snippet1"::: ]]> @@ -4315,7 +4315,7 @@ In .NET 5 and later versions, the code page name `utf-7` is not supported. The following example reads a UTF-8 encoded string from a binary file represented by a object. For files that are smaller than 2,048 bytes, it reads the contents of the entire file into a byte array and calls the method to perform the decoding. For larger files, it reads 2,048 bytes at a time into a byte array, calls the method to determine how many characters are contained in the array, and then calls the method to perform the decoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetString/getstring1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetString/getstring1.vb" id="Snippet2"::: The example uses the following text, which should be saved to a UTF-8 encoded file named Utf8Example.txt. @@ -4556,7 +4556,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example reads a UTF-8 encoded string from a binary file that is represented by a object. For files that are smaller than 2,048 bytes, it reads the contents of the entire file into a byte array and calls the method to perform the decoding. For larger files, it reads 2,048 bytes at a time into a byte array, calls the method to determine how many characters are contained in the array, and then calls the method to perform the decoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetString/getstring2.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetString/VB/getstring2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetString/getstring2.vb" id="Snippet3"::: The example uses the following text, which should be saved to a UTF-8 encoded file named Utf8Example.txt. @@ -4650,7 +4650,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -4840,7 +4840,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4896,7 +4896,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -4952,7 +4952,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5008,7 +5008,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5126,7 +5126,7 @@ The goal is to save this file, then open and decode it as a binary stream. The following example checks the values of the Boolean properties of each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/GetEncodings/isprops.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.IsProps/VB/isprops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/GetEncodings/isprops.vb" id="Snippet1"::: ]]> @@ -5456,13 +5456,13 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a little endian object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/Unicode/unicode1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.unicode/vb/unicode1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/Unicode/unicode1.vb" id="Snippet2"::: ## Examples The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5520,7 +5520,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with the Unicode REPLACEMENT CHARACTER (U+FFFE). Instead, you can call the constructor to instantiate a object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF32/encoding.utf32.1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf32/vb/encoding.utf32.1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF32/encoding.utf32.1.vb" id="Snippet1"::: For a discussion of little endian byte order, see . @@ -5530,7 +5530,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5599,7 +5599,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the number of bytes required to encode a character array, encodes the characters, and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.GetBytes_CharArr/VB/getbytes_chararr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BigEndianUnicode/getbytes_chararr.vb" id="Snippet1"::: ]]> @@ -5670,7 +5670,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, - It returns a object that uses replacement fallback to replace each string that it can't encode and each byte that it can't decode with a question mark ("?") character. Instead, you can call the constructor to instantiate a object whose fallback is either an or a , as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF8/encoding.utf8.1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/encoding.utf8.1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF8/encoding.utf8.1.vb" id="Snippet1"::: ## Examples The following example defines an array that consists of the following characters: @@ -5690,7 +5690,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, It displays the UTF-16 code units of each character and determines the number of bytes required by a UTF-8 encoder to encode the character array. It then encodes the characters and displays the resulting UTF-8-encoded bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/UTF8/example1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.encoding.utf8/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/UTF8/example1.vb" id="Snippet2"::: ]]> @@ -5768,12 +5768,12 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example includes the in an HTML header. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/WebName/webname.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.WebName/VB/webname.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/WebName/webname.vb" id="Snippet1"::: The following example retrieves the different names for each encoding and displays the encodings with one or more names that are different from . It displays but does not compare against it. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/BodyName/names.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.Names/VB/names.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/BodyName/names.vb" id="Snippet1"::: ]]> @@ -5834,7 +5834,7 @@ Starting with .NET Framework 4.6, .NET Framework includes one encoding provider, The following example determines the Windows code page that most closely corresponds to each encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/Encoding/WindowsCodePage/codepage.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoding.CodePage/VB/codepage.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/Encoding/WindowsCodePage/codepage.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/EncodingInfo.xml b/xml/System.Text/EncodingInfo.xml index 27af0549c49..faca3b5b930 100644 --- a/xml/System.Text/EncodingInfo.xml +++ b/xml/System.Text/EncodingInfo.xml @@ -67,7 +67,7 @@ The following example uses the method to retrieve an object for each encoding supported by the .NET Framework. It then displays the value of each encoding's , , and property and compares them with the corresponding names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -158,7 +158,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -214,7 +214,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -332,7 +332,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> @@ -440,7 +440,7 @@ The following code example retrieves the different names for each encoding and compares them with the equivalent names. :::code language="csharp" source="~/snippets/csharp/System.Text/EncodingInfo/Overview/encodinginfo.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.EncodingInfo/VB/encodinginfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/EncodingInfo/Overview/encodinginfo.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/StringBuilder.xml b/xml/System.Text/StringBuilder.xml index f4059a81161..bd8ff7c9721 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..1e0192154ee 100644 --- a/xml/System.Text/UTF32Encoding.xml +++ b/xml/System.Text/UTF32Encoding.xml @@ -106,17 +106,17 @@ The following example demonstrates the behavior of objects with and without error detection enabled. It creates a byte array whose last four bytes represent an invalid surrogate pair; the high surrogate U+D8FF is followed by an U+01FF, which is outside the range of low surrogates (0xDC00 through 0xDFFF). Without error detection, the UTF32 decoder uses replacement fallback to replace the invalid surrogate pair with REPLACEMENT CHARACTER (U+FFFD). :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/errordetection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb" id="Snippet1"::: The following example encodes a string of Unicode characters into a byte array by using a object. The byte array is then decoded into a string to demonstrate that there is no loss of data. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous one, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/bom1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.class/vb/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -190,7 +190,7 @@ The following example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: ]]> @@ -251,7 +251,7 @@ The following example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: ]]> @@ -316,7 +316,7 @@ The following example demonstrates the behavior of , both with error detection enabled and without. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Overview/errordetection.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.ErrorDetection/VB/ErrorDetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Overview/ErrorDetection.vb" id="Snippet1"::: ]]> @@ -394,7 +394,7 @@ The following example creates objects using different parameter values and then checks them for equality. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/Equals/equals.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.Equals/VB/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/Equals/equals.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetByteCount/getbytecount1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -646,7 +646,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. The following example populates an array with a combination of Greek and Cyrillic characters and calls the method to determine the number of bytes needed to encode the Cyrillic characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Cyrillic characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetByteCount/getbytecount2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -851,7 +851,7 @@ The following example determines the number of bytes required to encode three characters from a character array, then encodes the characters and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_chararr.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_CharArr/VB/GetBytes_CharArr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_CharArr.vb" id="Snippet1"::: ]]> @@ -959,7 +959,7 @@ The following example determines the number of bytes required to encode a string, then encodes the string and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb" id="Snippet1"::: ]]> @@ -1152,7 +1152,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1358,7 +1358,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1447,7 +1447,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb" id="Snippet1"::: ]]> @@ -1512,7 +1512,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.EncDec/VB/EncDec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetDecoder/EncDec.vb" id="Snippet1"::: ]]> @@ -1627,7 +1627,7 @@ The following example determines the number of bytes required to encode a string, then encodes the string and displays the resulting bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetBytes/getbytes_string.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetBytes_String/VB/GetBytes_String.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetBytes/GetBytes_String.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ The following example encodes a string into an array of bytes, and then decodes the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetCharCount/getchars.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetChars/VB/GetChars.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetCharCount/GetChars.vb" id="Snippet1"::: ]]> @@ -1801,12 +1801,12 @@ The following code example retrieves and displays the byte order mark for different instances. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/GetPreamble.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/GetPreamble.vb" id="Snippet1"::: The following example instantiates two objects, the first of which does not provide a BOM and the second of which does. It then calls the method to write the BOM to a file before writing a UTF-32-encoded string. As the output from the example shows, the file that saves the bytes from the second encoder has four more bytes that the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/.ctor/getpreamble1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF32Encoding.GetPreamble/VB/getpreamble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/.ctor/getpreamble1.vb" id="Snippet2"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-32, the BOM is not displayed. @@ -1882,12 +1882,12 @@ The following example encodes a string into two arrays of bytes, one in little-endian order and the other in big-endian order. It then decodes the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetString/getstring.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString.vb" id="Snippet1"::: The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF32Encoding/GetString/GetString1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf32encoding.getstring/VB/GetString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF32Encoding/GetString/GetString1.vb" id="Snippet2"::: Note that in this case the decoded string differs from the original string, since it begins with a 32-bit byte order mark U+FFFE U+0000. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". diff --git a/xml/System.Text/UTF7Encoding.xml b/xml/System.Text/UTF7Encoding.xml index 91ee5e3f7d1..347fd50cedf 100644 --- a/xml/System.Text/UTF7Encoding.xml +++ b/xml/System.Text/UTF7Encoding.xml @@ -87,7 +87,7 @@ The following code example demonstrates how to use a to encode a string of Unicode characters and store them in a byte array. Notice that when the byte array is decoded back to a string, no data is lost. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/Overview/snippet.vb" id="Snippet1"::: ]]> @@ -164,7 +164,7 @@ The following code example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/.ctor/ctor.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor1 Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -231,7 +231,7 @@ The following code example demonstrates how to create a new instance that allows optional characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/.ctor/ctor-boolean.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.ctor2 Example/VB/ctor-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/.ctor/ctor-boolean.vb" id="Snippet1"::: ]]> @@ -380,7 +380,7 @@ The following code example demonstrates how to use the method to return the number of bytes required to encode a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -545,7 +545,7 @@ The following code example demonstrates how to use the method to return the number of bytes required to encode an array of Unicode characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetByteCount Example/VB/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetByteCount/getbytecount-char[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -749,7 +749,7 @@ The following code example demonstrates how to use the method to encode a range of characters from a and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -858,7 +858,7 @@ The following code example demonstrates how to use the method to encode a range of elements from a Unicode character array, and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetBytes Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1048,7 +1048,7 @@ The following code example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1253,7 +1253,7 @@ The following code example demonstrates how to use the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1338,7 +1338,7 @@ The following code example demonstrates how to use the method to obtain a decoder to convert the UTF-7 encoded bytes into a sequence of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetDecoder/getdecoder-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetDecoder Example/VB/getdecoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetDecoder/getdecoder-.vb" id="Snippet1"::: ]]> @@ -1402,7 +1402,7 @@ The following code example demonstrates how to use the method to obtain an encoder to convert a sequence of characters into a UTF-7 encoded sequence of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetEncoder/getencoder-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetEncoder Example/VB/getencoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetEncoder/getencoder-.vb" id="Snippet1"::: ]]> @@ -1532,7 +1532,7 @@ The following code example demonstrates how to use the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1616,7 +1616,7 @@ The following code example demonstrates how to use the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ The following code example encodes a string into an array of bytes, and then decodes the bytes back into a string. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF7Encoding/GetString/getstring.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF7Encoding.getstring/VB/getstring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF7Encoding/GetString/getstring.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Text/UTF8Encoding.xml b/xml/System.Text/UTF8Encoding.xml index e3a9db1f65a..1f87cf5444a 100644 --- a/xml/System.Text/UTF8Encoding.xml +++ b/xml/System.Text/UTF8Encoding.xml @@ -96,12 +96,12 @@ The following example uses a object to encode a string of Unicode characters and store them in a byte array. The Unicode string includes two characters, Pi (U+03A0) and Sigma (U+03A3), that are outside the ASCII character range. When the encoded byte array is decoded back to a string, the Pi and Sigma characters are still present. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous example, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Overview/bom1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding Example/VB/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -172,7 +172,7 @@ The following example creates a new instance and displays its name. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor1 Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -237,7 +237,7 @@ The following example creates a new instance and specifies that a Unicode byte order mark prefix should be emitted by the method. The method then returns the Unicode byte order mark prefix. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor2 Example/VB/ctor-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean.vb" id="Snippet1"::: ]]> @@ -305,7 +305,7 @@ The following example creates a new instance, specifying that the method should not emit a Unicode byte order mark prefix, and an exception should be thrown when an invalid encoding is detected. The behavior of this constructor is compared to the default constructor, which does not throw an exception when an invalid encoding is detected. The two instances encode a character array that contains two high surrogates (U+D801 and U+D802) in a row, which is an invalid character sequence; a high surrogate should always be followed by a low surrogate. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.ctor3 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -383,7 +383,7 @@ The following example uses the method to test whether the current object is equal to a different object. Four objects are created and compared and the results of the comparisons are displayed. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/Equals/equals-object.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.Equals Example/VB/equals-object.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/Equals/equals-object.vb" id="Snippet1"::: ]]> @@ -523,7 +523,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetByteCount/getbytecount1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -699,7 +699,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetByteCount/getbytecount2.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -994,7 +994,7 @@ The following example uses the method to encode a range of characters from a string and stores the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1105,7 +1105,7 @@ The following example uses the method to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1351,7 +1351,7 @@ The following example uses the method to return the number of characters produced by decoding a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1616,7 +1616,7 @@ The following example uses the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1707,7 +1707,7 @@ The following example uses the method to obtain a UTF-8 decoder. The decoder converts a sequence of bytes into a sequence of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetDecoder/getdecoder-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetDecoder Example/VB/getdecoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetDecoder/getdecoder-.vb" id="Snippet1"::: ]]> @@ -1774,7 +1774,7 @@ The following example uses the method to obtain an encoder to convert a sequence of characters into a UTF-8 encoded sequence of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetEncoder/getencoder-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetEncoder Example/VB/getencoder-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetEncoder/getencoder-.vb" id="Snippet1"::: ]]> @@ -1833,7 +1833,7 @@ The following example uses the method to return a hash code for instances. Notice that the hash code returned by this method depends on the constructor used to create the object. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetHashCode/gethashcode-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetHashCode Example/VB/gethashcode-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetHashCode/gethashcode-.vb" id="Snippet1"::: ]]> @@ -1905,7 +1905,7 @@ The following example uses the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1990,7 +1990,7 @@ The following example uses the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -2081,12 +2081,12 @@ The following example uses the method to return the Unicode byte order mark encoded in UTF-8 format. Notice that the parameterless constructor for does not provide a preamble. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetPreamble/getpreamble-.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble-.vb" id="Snippet1"::: The following example instantiates two objects, the first by calling the parameterless constructor, which does not provide a BOM, and the second by calling the constructor with its `encoderShouldEmitUTF8Identifier` argument set to `true`. It then calls the method to write the BOM to a file before writing a UF8-encoded string. As the console output from the example shows, the file that saves the bytes from the second encoder has three more bytes than the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UTF8Encoding/GetPreamble/getpreamble1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UTF8Encoding/GetPreamble/getpreamble1.vb" id="Snippet1"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-8, the BOM is not displayed. @@ -2167,7 +2167,7 @@ The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetString/getstring1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb" id="Snippet1"::: Note that in this case the decoded string differs from the original string, since it begins with a 16-bit byte order mark U+FFFD. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". To remove the BOM at the beginning of the string, you can call the method. diff --git a/xml/System.Text/UnicodeEncoding.xml b/xml/System.Text/UnicodeEncoding.xml index 693bc5db7d7..39d51d49e6f 100644 --- a/xml/System.Text/UnicodeEncoding.xml +++ b/xml/System.Text/UnicodeEncoding.xml @@ -114,12 +114,12 @@ The following example demonstrates how to encode a string of Unicode characters into a byte array by using a object. The byte array is decoded into a string to demonstrate that there is no loss of data. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/Overview/snippet.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/snippet.vb" id="Snippet1"::: The following example uses the same string as the previous one, except that it writes the encoded bytes to a file and prefixes the byte stream with a byte order mark (BOM). It then reads the file in two different ways: as a text file by using a object; and as a binary file. As you would expect, neither newly-read string includes the BOM. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/Overview/bom1.cs" interactive="try-dotnet" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding Example/VB/bom1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/Overview/bom1.vb" id="Snippet2"::: ]]> @@ -195,7 +195,7 @@ The following example demonstrates how to create a new instance and display the name of the encoding. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor Example/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor.vb" id="Snippet1"::: ]]> @@ -262,7 +262,7 @@ The following example demonstrates how to create a new instance specifying whether to support little endian or big endian byte ordering and the Unicode byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -330,7 +330,7 @@ The following example demonstrates the behavior of , both with error detection enabled and without. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/errordetection.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ErrorDetection/VB/errordetection.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/errordetection.vb" id="Snippet1"::: ]]> @@ -387,7 +387,7 @@ The following example demonstrates how to return the value of and display it. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/CharSize/charsize.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.CharSize Example/VB/charsize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/CharSize/charsize.vb" id="Snippet1"::: ]]> @@ -466,7 +466,7 @@ The following example demonstrates how to use the method to test whether the current object is equal to a different object. Five objects are created and compared, and the results of the comparisons are displayed. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.ctor2 Example/VB/ctor-boolean-boolean.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/.ctor/ctor-boolean-boolean.vb" id="Snippet1"::: ]]> @@ -552,7 +552,7 @@ The following example calls the and methods to calculate the maximum and actual number of bytes required to encode a string. It also displays the actual number of bytes required to store a byte stream with a byte order mark. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount1.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ The following example populates an array with a Latin uppercase and lowercase characters and calls the method to determine the number of bytes needed to encode the Latin lowercase characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Latin lowercase characters. The following example populates an array with a combination of Greek and Cyrillic characters and calls the method to determine the number of bytes needed to encode the Cyrillic characters. It then displays this information along with the total number of bytes needed if a byte order mark is added. It compares this number with the value returned by the method, which indicates maximum number of bytes needed to encode the Cyrillic characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.unicodeencoding.getbytecount/vb/getbytecount2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetByteCount/getbytecount2.vb" id="Snippet2"::: ]]> @@ -971,7 +971,7 @@ The following example demonstrates how to use the method to encode a range of characters from a and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes3 Example/VB/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-string-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1081,7 +1081,7 @@ The following example demonstrates how to encode a range of elements from a Unicode character array and store the encoded bytes in a range of elements in a byte array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetBytes1 Example/VB/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetBytes/getbytes-char[]-int32-int32-byte[]-int32.vb" id="Snippet1"::: ]]> @@ -1279,7 +1279,7 @@ The following example demonstrates how to use the method to return the number of characters produced by decoding a range of elements in a byte array using . :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetCharCount Example/VB/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetCharCount/getcharcount-byte[]-int32-int32.vb" id="Snippet1"::: ]]> @@ -1490,7 +1490,7 @@ The following example demonstrates how to use the method to decode a range of elements in a byte array and store the result in a character array. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetChars Example/VB/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetChars/getchars-byte[]-int32-int32-char[]-int32.vb" id="Snippet1"::: ]]> @@ -1581,7 +1581,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb" id="Snippet1"::: ]]> @@ -1653,7 +1653,7 @@ The following example uses an encoder and a decoder to encode a string into an array of bytes, and then decode the bytes into an array of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetDecoder/encdec.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.EncDec/VB/encdec.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetDecoder/encdec.vb" id="Snippet1"::: ]]> @@ -1774,7 +1774,7 @@ The following example demonstrates how to use the method to return the maximum number of bytes required to encode a specified number of characters. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxByteCount Example/VB/getmaxbytecount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxByteCount/getmaxbytecount-int32.vb" id="Snippet1"::: ]]> @@ -1859,7 +1859,7 @@ The following example demonstrates how to use the method to return the maximum number of characters produced by decoding a specified number of bytes. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetMaxCharCount Example/VB/getmaxcharcount-int32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetMaxCharCount/getmaxcharcount-int32.vb" id="Snippet1"::: ]]> @@ -1954,12 +1954,12 @@ The following example demonstrates how to use the method to retrieve the Unicode byte order mark in big endian or little endian byte order for an instance of a . :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UnicodeEncoding.GetPreamble Example/VB/getpreamble-.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/getpreamble-.vb" id="Snippet1"::: The following example instantiates two objects, the first of which does not provide a BOM, and the second of which does. It then calls the method to write the BOM to a file before writing a Unicode-encoded string. As the console output from the example shows, the file that saves the bytes from the second encoder has three more bytes than the first. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Text.UnicodeEncoding.GetPreamble/vb/GetPreamble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetPreamble/GetPreamble1.vb" id="Snippet1"::: You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-16 encoding, the BOM is not displayed. @@ -2040,7 +2040,7 @@ The following example initializes an array by calling the method to determine exactly how many bytes are required for an encoded string and then adding the size of the byte order mark (BOM). The example then calls the method to store the BOM to the array before calling the method to store the encoded bytes to the array. The example then calls the method to decode the string. :::code language="csharp" source="~/snippets/csharp/System.Text/UnicodeEncoding/GetString/getstring1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getstring/vb/getstring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Text/UnicodeEncoding/GetString/getstring1.vb" id="Snippet1"::: Note that in this case the decoded string differs from the original string, since it begins with a 16-bit byte order mark U+FFFD. This means that the two strings will compare as unequal, and that if the string is output, the BOM will be displayed as the replacement character "?". To remove the BOM at the beginning of the string, you can call the method. diff --git a/xml/System.Threading.Tasks/Parallel.xml b/xml/System.Threading.Tasks/Parallel.xml index 88a84869ed3..98fe3bcd4c6 100644 --- a/xml/System.Threading.Tasks/Parallel.xml +++ b/xml/System.Threading.Tasks/Parallel.xml @@ -58,7 +58,7 @@ This example demonstrates several approaches to implementing a parallel loop using multiple language constructs. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelintro.cs" id="Snippet07"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelintro.vb" id="Snippet07"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelintro.vb" id="Snippet07"::: ]]> @@ -147,7 +147,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -217,7 +217,7 @@ The following example uses the method for 100 invocations of a delegate that generates random byte values and computes their sum. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/for1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.for/vb/for1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/for1.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ The following example shows how to cancel a parallel loop: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforcancel.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforcancel.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforcancel.vb" id="Snippet05"::: ]]> @@ -554,7 +554,7 @@ The following example shows how to use the method with a object: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelfor.cs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelfor.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelfor.vb" id="Snippet03"::: ]]> @@ -629,7 +629,7 @@ The following example shows how to use to specify a custom task scheduler: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.cs" id="Snippet06"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforwithscheduler.vb" id="Snippet06"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforwithscheduler.vb" id="Snippet06"::: ]]> @@ -899,7 +899,7 @@ The following example uses thread-local variables to compute the sum of the results of many lengthy operations. This example limits the degree of parallelism to four. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.cs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/threadlocalforwithoptions.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/threadlocalforwithoptions.vb" id="Snippet04"::: ]]> @@ -1392,7 +1392,7 @@ The following example shows how to implement a range partitioner for use with : :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/ForEachTSource/rangepartitioner.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel_rangepartitioners/vb/rangepart.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/rangepart.vb" id="Snippet01"::: ]]> @@ -1619,7 +1619,7 @@ The following example uses the method to count the number of vowels and non-white-space characters in a text file. In this case, the value returned by the method is ignored. Note that, because operations can run in parallel, you must ensure that incrementing the counter variables is an atomic operation, and that multiple threads do not attempt to access the counter variables simultaneously. For this purpose, the example uses the `lock` statement (in C#) and the `SyncLock` statement (in Visual Basic). :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel.foreach/vb/foreach1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/ForEachTSource/foreach1.vb" id="Snippet1"::: ]]> @@ -2488,7 +2488,7 @@ The following example shows how to use a method with local state: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelforeach.cs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelforeach.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelforeach.vb" id="Snippet02"::: ]]> @@ -3333,7 +3333,7 @@ The operation will execute at most oper This example demonstrates how to use the method with other methods, anonymous delegates, and lambda expressions. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/Overview/parallelinvoke.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallel/vb/parallelinvoke.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/Overview/parallelinvoke.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/ParallelLoopState.xml b/xml/System.Threading.Tasks/ParallelLoopState.xml index 9a1a1d0ca6f..7561dee844c 100644 --- a/xml/System.Threading.Tasks/ParallelLoopState.xml +++ b/xml/System.Threading.Tasks/ParallelLoopState.xml @@ -74,7 +74,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -142,7 +142,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations whose index is greater than the property value start after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the property to check whether another iteration has called the method. If the property value is `true`, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. @@ -244,7 +244,7 @@ The following example executes up to 10,000 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. Because iterations of the loop are still likely to be executing when the method is called, the lambda expression calls the method to check whether another iteration has called the method. If it returns `true`, the iteration returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/stop1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb" id="Snippet1"::: ]]> @@ -307,7 +307,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. This prevents iterations whose index is greater than the property value from starting after the call to the method, but it does not affect any iterations that have already begun executing. To prevent these from completing, each iteration calls the method to check whether another iteration has called the method. If so, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: Note that, because the value is out of scope outside of the parallel loop, you must assign it to a variable that is visible outside of the loop if you want to preserve its value. @@ -377,7 +377,7 @@ The following example executes up to 100 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. This prevents iterations whose index is greater than the property value from starting after the call to the method, but it does not affect any iterations that have already begun executing. To prevent these from completing, each iteration calls the method to check whether another iteration has called the method. If so, the iteration checks the value of the property and, if it is greater than the current iteration's index value, returns immediately. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/break1.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/break1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/break1.vb" id="Snippet2"::: ]]> @@ -439,7 +439,7 @@ The following example executes up to 10,000 iterations of a loop in parallel. Each iteration pauses for a random interval from 1 to 1,000 milliseconds. A randomly generated value determines on which iteration of the loop the method is called. As the output from the example shows, no iterations execute after the call to the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Parallel/For/stop1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.parallelloopstate/vb/stop1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Parallel/For/stop1.vb" id="Snippet1"::: Because iterations of the loop are still likely to be executing when the method is called, each iteration calls the method to check whether another iteration has called the method. If it returns `true`, the iteration returns immediately. diff --git a/xml/System.Threading.Tasks/Task.xml b/xml/System.Threading.Tasks/Task.xml index cd654e48442..b65830f46fc 100644 --- a/xml/System.Threading.Tasks/Task.xml +++ b/xml/System.Threading.Tasks/Task.xml @@ -158,13 +158,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/ctor1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/ctor1.vb" id="Snippet1"::: The following example is identical, except that it used the method to instantiate and run the task in a single operation. The method returns the object that represents the task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb" id="Snippet1"::: ]]> @@ -228,7 +228,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run4.vb" id="Snippet4"::: ]]> @@ -353,7 +353,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/startnew3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/startnew3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/startnew3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/startnew3.vb" id="Snippet3"::: ]]> @@ -903,7 +903,7 @@ When an asynchronous method awaits a directly :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/ContinueWith/continuewith1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/ContinueWith/continuewith1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewith/vb/continuewith1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWith/continuewith1.vb" id="Snippet1"::: Because a console application may terminate before the continuation task executes, the method is called to ensure that the continuation finishes executing before the example ends. @@ -1688,7 +1688,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuationsimple.cs" id="Snippet03"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/continuationsimple.fs" id="Snippet03"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationsimple.vb" id="Snippet03"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationsimple.vb" id="Snippet03"::: ]]> @@ -2290,7 +2290,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuationoptions.cs" id="Snippet04"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/continuationoptions.fs" id="Snippet04"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuationoptions.vb" id="Snippet04"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuationoptions.vb" id="Snippet04"::: ]]> @@ -2562,13 +2562,13 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb" id="Snippet5"::: - Sometime while the task is executing. In this case, the call to the method executes as a child task within a task, as the following example shows. Note that since the task that calls the method executes asynchronously, the parent task must wait for it to complete by using the `await` keyword. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay5.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay5.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay5.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay5.vb" id="Snippet7"::: After the specified time delay, the task is completed in the state. @@ -2584,7 +2584,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay1.vb" id="Snippet1"::: ]]> @@ -2656,7 +2656,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay2.vb" id="Snippet2"::: ]]> @@ -2733,7 +2733,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay3.vb" id="Snippet3"::: ]]> @@ -2810,7 +2810,7 @@ End Sub :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Delay/delay4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Delay/delay4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.delay/vb/delay4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Delay/delay4.vb" id="Snippet4"::: Note that this example includes a potential race condition: it depends on the task asynchronously executing the delay when the token is cancelled. Although the 1.5 second delay from the call to the method makes that assumption likely, it is nevertheless possible that the call to the method could return before the token is cancelled. In that case, the example produces the following output: @@ -3164,7 +3164,7 @@ Task t Status: RanToCompletion, Result: 42 :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Factory/factory1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb" id="Snippet1"::: ]]> @@ -3400,7 +3400,7 @@ Task t Status: RanToCompletion, Result: 42 :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> @@ -3478,7 +3478,7 @@ Starting in .NET 6, for some `TResult` types and some result values, this method :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> @@ -3911,13 +3911,13 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run11.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run11.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run11.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run11.vb" id="Snippet11"::: The following example is similar to the previous one, except that it uses a lambda expression to define the code that the task is to execute. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run6.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run6.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run6.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run6.vb" id="Snippet3"::: The examples show that the asynchronous task executes on a different thread than the main application thread. @@ -3927,7 +3927,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run2.vb" id="Snippet1"::: ]]> @@ -4068,7 +4068,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run41.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run41.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run41.vb" id="Snippet4"::: ]]> @@ -4303,7 +4303,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run31.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/run31.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run31.vb" id="Snippet2"::: The regular expression `\p{P}*\s+` matches zero, one, or more punctuation characters followed by one or more white-space characters. It assumes that the total number of matches equals the approximate word count. @@ -4474,7 +4474,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: Instead of using the property to examine exceptions, the example iterates all tasks to determine which have completed successfully and which have been cancelled. For those that have completed, it displays the value returned by the task. @@ -4482,7 +4482,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run28.cs" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run28.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run28.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run28.vb" id="Snippet28"::: The example still must handle the exception, since any tasks that have not started when cancellation is requested still throw an exception. @@ -4562,7 +4562,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.runsynchronously/vb/runsynchronously1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/RunSynchronously/runsynchronously1.vb" id="Snippet1"::: ]]> @@ -4700,7 +4700,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Start/Start1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Start/Start1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.start/vb/Start1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Start/Start1.vb" id="Snippet1"::: ]]> @@ -4826,7 +4826,7 @@ This method is intended for compiler use rather than use directly in code. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/.ctor/Run7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: ]]> @@ -5005,7 +5005,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait1.vb" id="Snippet1"::: ]]> @@ -5083,7 +5083,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/Wait5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/Wait5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait5.vb" id="Snippet5"::: ]]> @@ -5159,7 +5159,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait3.vb" id="Snippet3"::: ]]> @@ -5237,7 +5237,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/Wait6.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/Wait6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/Wait6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/Wait6.vb" id="Snippet6"::: ]]> @@ -5327,7 +5327,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Wait/wait4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Wait/wait4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.wait/vb/wait4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Wait/wait4.vb" id="Snippet4"::: Note that the precise output from the example depends on whether the wait was canceled because of the cancellation token or because the timeout interval elapsed. @@ -5535,7 +5535,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/waitall.cs" id="Snippet02"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/Overview/waitall.fs" id="Snippet02"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/waitall.vb" id="Snippet02"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/waitall.vb" id="Snippet02"::: ]]> @@ -5952,7 +5952,7 @@ An exception was thrown during :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/WaitAny/WaitAny1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading.Tasks/Task/WaitAny/WaitAny1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.Task.WaitAny/vb/WaitAny1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/WaitAny/WaitAny1.vb" id="Snippet1"::: ]]> @@ -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..0dcae177ffa 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/TaskCompletionSourceTResult/Overview/taskcompletionsource.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskExtensions.xml b/xml/System.Threading.Tasks/TaskExtensions.xml index 91249d1e400..f369fe705dc 100644 --- a/xml/System.Threading.Tasks/TaskExtensions.xml +++ b/xml/System.Threading.Tasks/TaskExtensions.xml @@ -124,7 +124,7 @@ The following example shows how to unwrap a task: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskextensions/vb/unwrap.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskExtensions/Unwrap/unwrap.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory.xml b/xml/System.Threading.Tasks/TaskFactory.xml index 8d6c0a468cb..d42e4a9cff9 100644 --- a/xml/System.Threading.Tasks/TaskFactory.xml +++ b/xml/System.Threading.Tasks/TaskFactory.xml @@ -98,7 +98,7 @@ The following example uses the static property to make two calls to the method. The first populates an array with the names of files in the user's MyDocuments directory, while the second populates an array with the names of subdirectories of the user's MyDocuments directory. It then calls the method, which displays information about the number of files and directories in the two arrays after the first two tasks have completed execution. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory1.vb" id="Snippet1"::: ]]> @@ -578,7 +578,7 @@ The following example launches separate tasks that use a regular expression to count the number of words in a set of text files. The method is used to launch a task that displays the total word count when all the antecedent tasks have completed. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall1.vb" id="Snippet1"::: The call to the continuation task's method does not allow it to handle exceptions thrown by the antecedent tasks, so the example examines the property of each antecedent task to determine whether the task succeeded. @@ -656,7 +656,7 @@ This method executes the `continuationAction` delegate when all tasks in the `ta The following example creates a cancellation token, which it passes to separate tasks that use a regular expression to count the number of words in a set of text files. The cancellation token is set if a file cannot be found. The `ContinueWhenAll(Task[], Action{Task[]}, CancellationToken)` method is used to launch a task that displays the total word count when all the antecedent tasks have completed. If the cancellation token is set, which indicates that one or more tasks have been cancelled, it handles the exception and displays an error message. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.continuewhenall/vb/continuewhenall2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/ContinueWhenAll/continuewhenall2.vb" id="Snippet2"::: ]]> @@ -1893,7 +1893,7 @@ The NotOn\* and OnlyOn\* , The following example shows how to use `ContinueWhenAny` and `ContinueWhenAll`: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Overview/continuewhenmulti.cs" id="Snippet05"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task/vb/continuewhenmulti.vb" id="Snippet05"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/ContinueWithTResult/continuewhenmulti.vb" id="Snippet05"::: ]]> @@ -5574,7 +5574,7 @@ The NotOn\* and OnlyOn\* , The following example uses the method to repeatedly invoke an delegate that generates a random number, interprets it as a Unicode code point, converts it to a UTF16-encoded code unit, and displays information about the resulting character or characters. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew1.vb" id="Snippet1"::: ]]> @@ -5645,7 +5645,7 @@ The NotOn\* and OnlyOn\* , The following example calls the method to create a task that iterates the files in the C:\Windows\System32 directory. The lambda expression calls the method to add information about each file to a object. Each detached nested task invoked by the loop checks the state of the cancellation token and, if cancellation is requested, calls the method. The method throws an exception that is handled in a `catch` block when the calling thread calls the method. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew2.vb" id="Snippet2"::: ]]> @@ -5799,7 +5799,7 @@ The NotOn\* and OnlyOn\* , The following example defines an array of 6-letter words. Each word is then passed to an delegate, which scrambles the word and displays the original word and its scrambled version. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew3.vb" id="Snippet3"::: Note that the example initializes a single random number generator, which is protected by a lock. For the need of a lock, see "The System.Random class and thread safety" in the class topic. @@ -5889,7 +5889,7 @@ The NotOn\* and OnlyOn\* , The following example defines an array of 6-letter words. Each word is then passed to an delegate, which scrambles the word and displays the original word and its scrambled version. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskFactory/StartNew/startnew4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.taskfactory.startnew/vb/startnew4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskFactory/StartNew/startnew4.vb" id="Snippet4"::: Note that the example initializes a single random number generator, which is protected by a lock. For the need of a lock, see "The System.Random class and thread safety" in the class topic. To handle the possibility of corruption of the random number generator, a cancellation token is passed to task. If two random numbers equal zero, the method assumes that the random number generator is corrupted and sets the cancellation token. Before sorting the `chars` array that contains the six characters in a word, the method calls the method to throw an if the token has been canceled. @@ -6223,7 +6223,7 @@ The NotOn\* and OnlyOn\* , The following example is a simple addition app that generates two random numbers and prompts the user to enter their sum. It then indicates whether the answer is correct or, if the user's response is not a valid number, prompts the user to re-enter a valid number. The is used to create the objects that return the random numbers to add. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run5.cs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/run5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run5.vb" id="Snippet5"::: ]]> @@ -6381,7 +6381,7 @@ The NotOn\* and OnlyOn\* , The following example uses two tasks to compute the Fibonacci sequence ending in F100 = F100-1 + F100-2 with seed values F1= 1, F2 = 1 and F1 = 0, F2= 1. Approximately half of the time, a cancellation token is set as the operations execute. The output from the example shows the result if the two tasks complete successfully and if the token is cancelled. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run9.cs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run9.vb" id="Snippet9"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskFactory`1.xml b/xml/System.Threading.Tasks/TaskFactory`1.xml index 5644e270b49..7587fd12ef2 100644 --- a/xml/System.Threading.Tasks/TaskFactory`1.xml +++ b/xml/System.Threading.Tasks/TaskFactory`1.xml @@ -106,7 +106,7 @@ The following example uses the static property to make two calls to the method. The first task returns a string array that is populated with the names of files in the user's MyDocuments directory, while the second returns a string array that is populated with the names of subdirectories of the user's MyDocuments directory. It then calls the method, which displays information about the number of files and directories in the arrays returned by the two tasks after they have completed execution. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/Factory/factory2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.factory/vb/factory2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/Factory/factory2.vb" id="Snippet2"::: ]]> diff --git a/xml/System.Threading.Tasks/TaskStatus.xml b/xml/System.Threading.Tasks/TaskStatus.xml index e39e6ddf596..8598991b519 100644 --- a/xml/System.Threading.Tasks/TaskStatus.xml +++ b/xml/System.Threading.Tasks/TaskStatus.xml @@ -67,7 +67,7 @@ The following example creates 20 tasks that will loop until a counter is incremented to a value of 2 million. When the first 10 tasks reach 2 million, the cancellation token is cancelled, and any tasks whose counters have not reached 2 million are cancelled. The example then examines the property of each task to indicate whether the task has completed successfully or been cancelled. For those that have completed, it displays the value returned by the task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/Run7.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.run/vb/Run7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/Run7.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading.Tasks/Task`1.xml b/xml/System.Threading.Tasks/Task`1.xml index c8bf1229437..27740fa8353 100644 --- a/xml/System.Threading.Tasks/Task`1.xml +++ b/xml/System.Threading.Tasks/Task`1.xml @@ -90,12 +90,12 @@ instances may be created in a variety of ways. The most common approach, which is available starting with .NET Framework 4.5, is to call the static or method. These methods provide a simple way to start a task by using default values and without acquiring additional parameters. The following example uses the method to start a task that loops and then displays the number of loop iterations: :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/Overview/run1.cs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/run1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/run1.vb" id="Snippet6"::: An alternative, and the most common way to start a task in .NET Framework 4, is to call the static or method. The property returns a object, and the property returns a object. Overloads of their `StartNew` method let you pass arguments, define task creation options, and specify a task scheduler. The following example uses the method to start a task. It is functionally equivalent to the code in the previous example. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/Overview/startnew1.cs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1/vb/startnew1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/Overview/startnew1.vb" id="Snippet7"::: For more complete examples, see [Task-based Asynchronous Programming](https://learn.microsoft.com/dotnet/standard/parallel-programming/task-based-asynchronous-programming). @@ -183,7 +183,7 @@ For operations that do not return a value, you use the method to launch each task. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/.ctor/run3.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.ctor/vb/run3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/.ctor/run3.vb" id="Snippet2"::: The regular expression pattern `\p{P}*\s+` matches zero, one, or more punctuation characters followed by one or more white-space characters. It assumes that the total number of matches equals the approximate word count. @@ -811,7 +811,7 @@ For operations that do not return a value, you use the @@ -896,7 +896,7 @@ For operations that do not return a value, you use the 1 to n10) of that number. A continuation task is then responsible for displaying the exponents. It is passed both the antecedent and the original number whose exponents the antecedent generates. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continuewith3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continuewith3.vb" id="Snippet3"::: ]]> @@ -965,7 +965,7 @@ For operations that do not return a value, you use the object is used to define a timeout value of 100 milliseconds. If the event fires, the method is called, and the cancellation token is used to request cancellation of the tasks. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task`1.continuewith/vb/continue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/TaskTResult/ContinueWith/continue1.vb" id="Snippet1"::: Typically, supplying a value of about 100,000 causes the timeout interval to expire and the event to fire, and the cancellation request to be set. @@ -2499,7 +2499,7 @@ This method is intended for compiler use rather than use directly in code. The following example is a command-line utility that calculates the number of bytes in the files in each directory whose name is passed as a command-line argument. If the directory contains files, it executes a lambda expression that instantiates a object for each file in the directory and retrieves the value of its property. If a directory contains no files, it simply calls the method to create a task whose property is zero (0). When the tasks finish, the total number of bytes in all a directory's files is available from the property. :::code language="csharp" source="~/snippets/csharp/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.tasks.task.fromresult/vb/fromresult1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading.Tasks/Task/FromExceptionTResult/fromresult1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AbandonedMutexException.xml b/xml/System.Threading/AbandonedMutexException.xml index 3b4e5fb73f8..fc447f0c84a 100644 --- a/xml/System.Threading/AbandonedMutexException.xml +++ b/xml/System.Threading/AbandonedMutexException.xml @@ -85,7 +85,7 @@ > The call to the method is interrupted by one of the abandoned mutexes. The other abandoned mutex could still cause an to be thrown by subsequent wait methods. :::code language="csharp" source="~/snippets/csharp/System.Threading/AbandonedMutexException/Overview/koax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb" id="Snippet1"::: ]]> @@ -654,7 +654,7 @@ > The call to is interrupted by one of the abandoned mutexes. The other abandoned mutex could still cause an to be thrown by subsequent wait methods. :::code language="csharp" source="~/snippets/csharp/System.Threading/AbandonedMutexException/Overview/koax.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AbandonedMutexException/VB/koax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AbandonedMutexException/Overview/koax.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ApartmentState.xml b/xml/System.Threading/ApartmentState.xml index f2899077d78..d70ee7a8bfb 100644 --- a/xml/System.Threading/ApartmentState.xml +++ b/xml/System.Threading/ApartmentState.xml @@ -68,7 +68,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/CPP/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ApartmentState/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AsyncLocal`1.xml b/xml/System.Threading/AsyncLocal`1.xml index 3b04108cfb8..c5be8ab009c 100644 --- a/xml/System.Threading/AsyncLocal`1.xml +++ b/xml/System.Threading/AsyncLocal`1.xml @@ -73,7 +73,7 @@ The following example uses the class to persist a string value across an asynchronous flow. It also contrasts the use of with . :::code language="csharp" source="~/snippets/csharp/System.Threading/AsyncLocalT/Overview/Example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.asynclocal/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AsyncLocalT/Overview/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/AutoResetEvent.xml b/xml/System.Threading/AutoResetEvent.xml index 51552ecfdde..487c11042d5 100644 --- a/xml/System.Threading/AutoResetEvent.xml +++ b/xml/System.Threading/AutoResetEvent.xml @@ -91,7 +91,7 @@ The following example shows how to use to After the threads are released from the first , they wait on another that was created in the non-signaled state. All three threads block, so the method must be called three times to release them all. :::code language="csharp" source="~/snippets/csharp/System.Threading/AutoResetEvent/Overview/simplerisbetter.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/simplerisbetter.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/simplerisbetter.vb" id="Snippet3"::: ]]> @@ -161,7 +161,7 @@ After the threads are released from the first method, to give the second thread a chance to execute. Otherwise, on a single-processor computer `Main` would write many values between any two read operations. :::code language="csharp" source="~/snippets/csharp/System.Threading/AutoResetEvent/Overview/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.AutoResetEvent/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/AutoResetEvent/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Barrier.xml b/xml/System.Threading/Barrier.xml index 0753c2e5cca..154fec6cbcb 100644 --- a/xml/System.Threading/Barrier.xml +++ b/xml/System.Threading/Barrier.xml @@ -70,7 +70,7 @@ The following example shows how to use a barrier: :::code language="csharp" source="~/snippets/csharp/System.Threading/Barrier/Overview/barrier.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.barrier/vb/barrier.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Barrier/Overview/barrier.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/CancellationToken.xml b/xml/System.Threading/CancellationToken.xml index f0daba61101..a51c4f245cd 100644 --- a/xml/System.Threading/CancellationToken.xml +++ b/xml/System.Threading/CancellationToken.xml @@ -99,7 +99,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token that's passed to a object. In turn, the object passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not completed because it was cancelled, the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> @@ -484,7 +484,7 @@ Two cancellation tokens are equal if any one of the following conditions is true The following is a simple example that executes a server process until the property returns `true`. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/IsCancellationRequested/cancellation.cs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Tasks.CancellationToken.IsCancellationRequested/vb/cancelthreads.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/IsCancellationRequested/cancelthreads.vb" id="Snippet12"::: The example instantiates a object, which controls access to the cancellation token. It then defines two thread procedures. The first is defined as a lambda expression that pools the keyboard and, when the "C" key is pressed, calls to set the cancellation token to the cancelled state. The second is a parameterized method, `ServerClass.StaticMethod`, that executes a loop until the property is `true`. diff --git a/xml/System.Threading/CancellationTokenSource.xml b/xml/System.Threading/CancellationTokenSource.xml index b62fbed9390..a470c54577f 100644 --- a/xml/System.Threading/CancellationTokenSource.xml +++ b/xml/System.Threading/CancellationTokenSource.xml @@ -106,7 +106,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token which is passed to a object. The object in turn passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not completed because it has been cancelled, the call to the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> @@ -397,7 +397,7 @@ To handle the possible cancellation of the operation, the example instantiates a object that generates a cancellation token which is passed to a object. The object in turn passes the cancellation token to each of the tasks responsible for collecting readings for a particular instrument. The method is called to ensure that the mean is computed only after all readings have been gathered successfully. If a task has not because it has been cancelled, the call to the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/CancellationToken/Overview/cancel1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.cancellationtokensource.class/vb/cancel1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CancellationToken/Overview/cancel1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/CountdownEvent.xml b/xml/System.Threading/CountdownEvent.xml index f5ca4351e50..e1fc1f296a9 100644 --- a/xml/System.Threading/CountdownEvent.xml +++ b/xml/System.Threading/CountdownEvent.xml @@ -66,7 +66,7 @@ The following example shows how to use a `CountdownEvent`: :::code language="csharp" source="~/snippets/csharp/System.Threading/CountdownEvent/Overview/countdownevent.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.countdownevent/vb/countdownevent.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/CountdownEvent/Overview/countdownevent.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/EventResetMode.xml b/xml/System.Threading/EventResetMode.xml index af5936640d0..23253de4777 100644 --- a/xml/System.Threading/EventResetMode.xml +++ b/xml/System.Threading/EventResetMode.xml @@ -59,7 +59,7 @@ The example starts five threads and allows them to block on an created with the AutoReset flag, then releases one thread each time the user presses the ENTER key. The example then queues another five threads and releases them all using an created with the ManualReset flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/EventWaitHandle.xml b/xml/System.Threading/EventWaitHandle.xml index 0f063d873ce..aa3f1df00e6 100644 --- a/xml/System.Threading/EventWaitHandle.xml +++ b/xml/System.Threading/EventWaitHandle.xml @@ -84,7 +84,7 @@ The class allows threads to communicate The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The class allows threads to communicate The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -461,7 +461,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -569,7 +569,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions have been read, using the method, and changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -747,7 +747,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> @@ -927,7 +927,7 @@ There was some other error. The `HResult` property may provide more information. The example starts five threads and allows them to block on an created with the flag, then releases one thread each time the user presses the Enter key. The example then queues another five threads and releases them all using an created with the flag. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventResetMode/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.SignalAndWait/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -985,7 +985,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, using the method, the event is opened with the rights required to wait on it and signal it. If you run the compiled example from a third command window, the example runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/EventWaitHandle/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.EventWaitHandle.ctor named 5/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/EventWaitHandle/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Interlocked.xml b/xml/System.Threading/Interlocked.xml index 292d8139635..2a04558f38b 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/Overview/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/System.Threading/Interlocked/CompareExchange/source.vb" id="Snippet1"::: ]]> @@ -738,7 +738,7 @@ > The method, introduced in version 2.0 of the .NET Framework, provides a more convenient way to accumulate thread-safe running totals for integers. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/CompareExchange/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Interlocked CompareExchange0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/CompareExchange/source2.vb" id="Snippet1"::: ]]> @@ -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/System.Threading/Interlocked/CompareExchange/source1.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/Overview/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/Increment/Increment3.vb" id="Snippet3"::: The following example is similar to the previous one, except that it uses the class instead of a thread procedure to generate 50,000 random midpoint integers. In this example, a lambda expression replaces the `GenerateNumbers` thread procedure, and the call to the method eliminates the need for the object. :::code language="csharp" source="~/snippets/csharp/System.Threading/Interlocked/Increment/increment4.cs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.interlocked.increment2/vb/Increment4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Interlocked/Increment/Increment4.vb" id="Snippet4"::: ]]> diff --git a/xml/System.Threading/LockCookie.xml b/xml/System.Threading/LockCookie.xml index a670352bd16..9e1e19debe1 100644 --- a/xml/System.Threading/LockCookie.xml +++ b/xml/System.Threading/LockCookie.xml @@ -71,11 +71,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading/LockRecursionException.xml b/xml/System.Threading/LockRecursionException.xml index 8f04f897c9c..f00f5aa8aa4 100644 --- a/xml/System.Threading/LockRecursionException.xml +++ b/xml/System.Threading/LockRecursionException.xml @@ -83,7 +83,7 @@ The following example shows two causes of when using the class. The program creates a by using the parameterless constructor, which disallows recursion. The program then starts a thread that enters the lock in read mode. The thread tries to enter the lock recursively in read mode, and catches the resulting exception. Finally, the thread tries to enter write mode, which would create a potential for deadlocks. The thread catches the resulting exception. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionException/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/LockRecursionPolicy.xml b/xml/System.Threading/LockRecursionPolicy.xml index 56f56d3638a..52a11c8c5be 100644 --- a/xml/System.Threading/LockRecursionPolicy.xml +++ b/xml/System.Threading/LockRecursionPolicy.xml @@ -64,7 +64,7 @@ In the second scenario, the thread enters the lock in read mode and then tries to enter the lock in write mode. is thrown regardless of the lock recursion policy. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ManualResetEvent.xml b/xml/System.Threading/ManualResetEvent.xml index f652f645054..c04387d5c50 100644 --- a/xml/System.Threading/ManualResetEvent.xml +++ b/xml/System.Threading/ManualResetEvent.xml @@ -90,7 +90,7 @@ Pressing the **Enter** key again causes the example to call the method and to start one more thread, which blocks when it calls . Pressing the **Enter** key one final time calls to release the last thread, and the program ends. :::code language="csharp" source="~/snippets/csharp/System.Threading/ManualResetEvent/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ManualResetEvent/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ManualResetEvent/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ManualResetEventSlim.xml b/xml/System.Threading/ManualResetEventSlim.xml index c0ae8797c0d..e386f70c058 100644 --- a/xml/System.Threading/ManualResetEventSlim.xml +++ b/xml/System.Threading/ManualResetEventSlim.xml @@ -72,7 +72,7 @@ The following example shows how to use a . :::code language="csharp" source="~/snippets/csharp/System.Threading/ManualResetEventSlim/Overview/mres.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.manualreseteventslim/vb/mres.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ManualResetEventSlim/Overview/mres.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/Monitor.xml b/xml/System.Threading/Monitor.xml index 2dcb4b80a36..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..f1f120679f4 100644 --- a/xml/System.Threading/Mutex.xml +++ b/xml/System.Threading/Mutex.xml @@ -101,12 +101,12 @@ This example shows how a local object is used to synchronize access to a protected resource. Because each calling thread is blocked until it acquires ownership of the mutex, it must call the method to release ownership of the mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example1.vb" id="Snippet1"::: In the following example, each thread calls the method to acquire the mutex. If the time-out interval elapses, the method returns `false`, and the thread neither acquires the mutex nor gains access to the resource the mutex protects. The method is called only by the thread that acquires the mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb" id="Snippet2"::: ]]> @@ -186,7 +186,7 @@ The following code example shows how a local object is used to synchronize access to a protected resource. The thread that creates the mutex does not own it initially. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class13.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ The following code example shows how a local object is used to synchronize access to a protected resource. The thread that creates the owns it initially. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 1Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class1.vb" id="Snippet1"::: ]]> @@ -348,7 +348,7 @@ The constructor overload used in this example cannot tell the calling thread whether initial ownership of the named mutex was granted. You should not use this constructor to request initial ownership unless you can be certain that the thread will create the named mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class11.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 2Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class11.vb" id="Snippet1"::: ]]> @@ -483,7 +483,7 @@ There was some other error. The `HResult` property may provide more information. The following code example shows how a named mutex is used to signal between processes or threads. Run this program from two or more command windows. Each process creates a object that represents the named mutex "MyMutex". The named mutex is a system object. In this example, its lifetime is bounded by the lifetimes of the objects that represent it. The named mutex is created when the first process creates its local object, and destroyed when all the objects that represent it have been released. The named mutex is initially owned by the first process. The second process and any subsequent processes wait for earlier processes to release the named mutex. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class12.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex 3Arg Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class12.vb" id="Snippet1"::: ]]> @@ -620,7 +620,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -825,7 +825,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -914,7 +914,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> @@ -1028,7 +1028,7 @@ There was some other error. The `HResult` property may provide more information. Whenever a thread acquires a mutex (for example, by calling its method), it must subsequently call to relinquish ownership of the mutex and unblock other threads that are trying to gain ownership of the mutex. If the attempt to get ownership of the mutex fails (for example, when a call to the method with a `millisecondsTimeout` or a `timeout` parameter returns `false` because the request times out), the thread shouldn't call , In this case, the thread should also not be allowed to access the resource protected by the mutex, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/Overview/example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.mutex.class/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/Overview/example2.vb" id="Snippet2"::: A thread that owns a mutex can specify the same mutex in repeated wait function calls without blocking its execution. The number of calls is kept by the common language runtime. The thread must call the same number of times to release ownership of the mutex. @@ -1045,7 +1045,7 @@ There was some other error. The `HResult` property may provide more information. The following example shows how a local object is used to synchronize access to a protected resource. The thread that creates the mutex does not own it initially. The method is used to release the mutex when it is no longer needed. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/class13.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex Default Ctor Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/class13.vb" id="Snippet1"::: ]]> @@ -1108,7 +1108,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the mutex is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Mutex/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Mutex.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Mutex/.ctor/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ParameterizedThreadStart.xml b/xml/System.Threading/ParameterizedThreadStart.xml index 5b39bd19359..d43cdf41b30 100644 --- a/xml/System.Threading/ParameterizedThreadStart.xml +++ b/xml/System.Threading/ParameterizedThreadStart.xml @@ -89,7 +89,7 @@ > The Visual Basic and C# compilers infer the delegate from the signatures of the `DoWork` and `DoMoreWork` methods, and call the correct constructor. Thus, there is no explicit constructor call in the code. :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLock.xml b/xml/System.Threading/ReaderWriterLock.xml index b596e6bf407..dfa145d0fa3 100644 --- a/xml/System.Threading/ReaderWriterLock.xml +++ b/xml/System.Threading/ReaderWriterLock.xml @@ -98,7 +98,7 @@ The following example demonstrates how to use a to protect a shared resource, an integer value named `resource`, that is read concurrently and written exclusively by multiple threads. Note that the is declared at the class level so that it is visible to all threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet1"::: ]]> @@ -156,9 +156,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -250,11 +250,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -420,11 +420,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -573,11 +573,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -651,11 +651,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -765,7 +765,7 @@ The following code example demonstrates how to use `IsReaderLockHeld` to avoid deadlocks. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb" id="Snippet1"::: ]]> @@ -829,7 +829,7 @@ The following code example demonstrates that when an attempt is made to acquire a reader lock on a thread that has a writer lock, `ReaderWriterLock` does not grant the reader lock but instead increments the lock count on the writer lock. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock.IsWriterLockHeld/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLock/IsReaderLockHeld/source.vb" id="Snippet1"::: ]]> @@ -896,11 +896,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -973,11 +973,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet3"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1051,11 +1051,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1136,11 +1136,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1234,11 +1234,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet5"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> @@ -1383,11 +1383,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockCookie/Overview/source.cs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLock/VB/source.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockCookie/Overview/source.vb" id="Snippet7"::: ]]> diff --git a/xml/System.Threading/ReaderWriterLockSlim.xml b/xml/System.Threading/ReaderWriterLockSlim.xml index 337ad09528b..5c0b68c5cf9 100644 --- a/xml/System.Threading/ReaderWriterLockSlim.xml +++ b/xml/System.Threading/ReaderWriterLockSlim.xml @@ -127,16 +127,16 @@ The example uses the parameterless constructor to create the lock, so recursion is not allowed. Programming the is simpler and less prone to error when the lock does not allow recursion. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet12"::: The following code then uses the `SynchronizedCache` object to store a dictionary of vegetable names. It creates three tasks. The first writes the names of vegetables stored in an array to a `SynchronizedCache` instance. The second and third task display the names of the vegetables, the first in ascending order (from low index to high index), the second in descending order. The final task searches for the string "cucumber" and, when it finds it, calls the method to substitute the string "green bean". :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/classexample1.cs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/classexample1.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/classexample1.vb" id="Snippet13"::: ]]> @@ -205,16 +205,16 @@ In the second scenario, the thread enters read mode and then tries to enter write mode. is thrown regardless of the lock recursion policy. :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet12"::: The following code then uses the `SynchronizedCache` object to store a dictionary of vegetable names. It creates three tasks. The first writes the names of vegetables stored in an array to a `SynchronizedCache` instance. The second and third task display the names of the vegetables, the first in ascending order (from low index to high index), the second in descending order. The final task searches for the string "cucumber" and, when it finds it, calls the method to substitute the string "green bean". :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet11"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/LockRecursionPolicy/Overview/ClassExample1.cs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.LockRecursionPolicy/vb/ClassExample1.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/LockRecursionPolicy/Overview/ClassExample1.vb" id="Snippet13"::: ]]> @@ -275,11 +275,11 @@ The following example shows how to use the property to generate an event log entry if the number of threads in read mode exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet11"::: ]]> @@ -418,9 +418,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet3"::: ]]> @@ -502,11 +502,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet10"::: ]]> @@ -580,9 +580,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet4"::: ]]> @@ -653,9 +653,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet3"::: ]]> @@ -721,11 +721,11 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet6"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet10"::: ]]> @@ -787,9 +787,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet4"::: ]]> @@ -848,9 +848,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered read mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet21"::: ]]> @@ -908,9 +908,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered upgradeable mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet22"::: ]]> @@ -968,9 +968,9 @@ The following example shows how to use the property to generate an assert if the current thread has entered write mode unexpectedly. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet23"::: ]]> @@ -1574,9 +1574,9 @@ This code is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet2"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/Overview/source.cs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Shadow/vb/source.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/.ctor/source.vb" id="Snippet5"::: ]]> @@ -1724,9 +1724,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter read mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet31"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet31"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet31"::: ]]> @@ -1789,9 +1789,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter upgradeable mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet33"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet33"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet33"::: ]]> @@ -1854,9 +1854,9 @@ The following example shows how to use the property to generate an event log entry if the number of threads that are blocked, waiting to enter write mode, exceeds a threshold. :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.cs" id="Snippet32"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ReaderWriterLockSlim_Aux/vb/source.vb" id="Snippet32"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ReaderWriterLockSlim/CurrentReadCount/source.vb" id="Snippet32"::: ]]> diff --git a/xml/System.Threading/RegisteredWaitHandle.xml b/xml/System.Threading/RegisteredWaitHandle.xml index ed83f43c047..828c661783f 100644 --- a/xml/System.Threading/RegisteredWaitHandle.xml +++ b/xml/System.Threading/RegisteredWaitHandle.xml @@ -75,7 +75,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> @@ -185,7 +185,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Semaphore.xml b/xml/System.Threading/Semaphore.xml index 2ca6f2c6f56..fa1d8b86095 100644 --- a/xml/System.Threading/Semaphore.xml +++ b/xml/System.Threading/Semaphore.xml @@ -82,7 +82,7 @@ The following code example creates a semaphore with a maximum count of three and an initial count of zero. The example starts five threads, which block waiting for the semaphore. The main thread uses the method overload to increase the semaphore count to its maximum, allowing three threads to enter the semaphore. Each thread uses the method to wait for one second, to simulate work, and then calls the method overload to release the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -167,7 +167,7 @@ The following example creates a semaphore with a maximum count of three and an initial count of zero. The example starts five threads, which block waiting for the semaphore. The main thread uses the method overload to increase the semaphore count to its maximum, allowing three threads to enter the semaphore. Each thread uses the method to wait for one second, to simulate work, and then calls the method overload to release the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -257,7 +257,7 @@ The following code example demonstrates the cross-process behavior of a named semaphore. The example creates a named semaphore with a maximum count of five and an initial count of five. The program makes three calls to the method. Thus, if you run the compiled example from two command windows, the second copy will block on the third call to . Release one or more entries in the first copy of the program to unblock the second. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 3/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source.vb" id="Snippet1"::: ]]> @@ -366,7 +366,7 @@ There was some other error. The `HResult` property may provide more information. The following code example demonstrates the cross-process behavior of a named semaphore. The example creates a named semaphore with a maximum count of five and an initial count of two. That is, it reserves three entries for the thread that calls the constructor. If `createNew` is `false`, the program makes three calls to the method. Thus, if you run the compiled example from two command windows, the second copy will block on the third call to . Release one or more entries in the first copy of the program to unblock the second. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 4/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -498,7 +498,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -611,7 +611,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, the semaphore is opened with the rights required to enter and release it. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -945,7 +945,7 @@ There was some other error. The `HResult` property may provide more information. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -1027,7 +1027,7 @@ There was some other error. The `HResult` property may provide more information. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread, to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/Overview/source.vb" id="Snippet1"::: ]]> @@ -1092,7 +1092,7 @@ There was some other error. The `HResult` property may provide more information. After the permissions are changed, using the method, the semaphore is opened with the rights required to enter and release. If you run the compiled example from a third command window, it runs using the new permissions. :::code language="csharp" source="~/snippets/csharp/System.Threading/Semaphore/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Semaphore.ctor named 5a/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Semaphore/.ctor/source2.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SemaphoreFullException.xml b/xml/System.Threading/SemaphoreFullException.xml index dbaa17f81ab..e5e515c2827 100644 --- a/xml/System.Threading/SemaphoreFullException.xml +++ b/xml/System.Threading/SemaphoreFullException.xml @@ -94,7 +94,7 @@ The following code example shows how a programming error in one thread can lead to a in another thread: Two threads enter a semaphore. The second thread releases the semaphore twice, while the first thread is still executing its task. When the first thread finishes and releases the semaphore, the semaphore count is already full and an exception is thrown. :::code language="csharp" source="~/snippets/csharp/System.Threading/SemaphoreFullException/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.SemaphoreFullException/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SemaphoreFullException/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SemaphoreSlim.xml b/xml/System.Threading/SemaphoreSlim.xml index 0ea58881bda..76112dc2704 100644 --- a/xml/System.Threading/SemaphoreSlim.xml +++ b/xml/System.Threading/SemaphoreSlim.xml @@ -92,7 +92,7 @@ SemaphoreSlim.Release() The following example creates a semaphore with a maximum count of three threads and an initial count of zero threads. The example starts five tasks, all of which block waiting for the semaphore. The main thread calls the overload to increase the semaphore count to its maximum, which allows three tasks to enter the semaphore. Each time the semaphore is released, the previous semaphore count is displayed. Console messages track semaphore use. The simulated work interval is increased slightly for each thread to make the output easier to read. :::code language="csharp" source="~/snippets/csharp/System.Threading/SemaphoreSlim/Overview/example.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.semaphoreslim/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SemaphoreSlim/Overview/example.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/SpinLock.xml b/xml/System.Threading/SpinLock.xml index 64b3deec9a3..435cf2ba140 100644 --- a/xml/System.Threading/SpinLock.xml +++ b/xml/System.Threading/SpinLock.xml @@ -88,7 +88,7 @@ The following example shows how to use a : :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinLock/Overview/spinlock.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinlock/vb/spinlock.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinLock/Overview/spinlock.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/SpinWait.xml b/xml/System.Threading/SpinWait.xml index 267d8c9b1b8..c752313125a 100644 --- a/xml/System.Threading/SpinWait.xml +++ b/xml/System.Threading/SpinWait.xml @@ -64,7 +64,7 @@ The following example shows how to use a : :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinWait/Overview/spinwait.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/spinwait.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinWait/Overview/spinwait.vb" id="Snippet01"::: ]]> @@ -216,7 +216,7 @@ The following is an example of using SpinWait in a simple lock-free stack implementation. (This is just an example. If an efficient, thread-safe stack is needed, consider using ConcurrentStack.) :::code language="csharp" source="~/snippets/csharp/System.Threading/SpinWait/Overview/reset.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.spinwait/vb/reset.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/SpinWait/Overview/reset.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/Thread.xml b/xml/System.Threading/Thread.xml index 53841a6e077..384a26be6bf 100644 --- a/xml/System.Threading/Thread.xml +++ b/xml/System.Threading/Thread.xml @@ -157,7 +157,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ParameterizedThreadStart/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> @@ -228,13 +228,13 @@ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/.ctor/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/.ctor/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/.ctor/source.vb" id="Snippet1"::: The following code example shows how to create a thread that executes an instance method. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/.ctor/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/.ctor/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ctor2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/.ctor/source1.vb" id="Snippet1"::: ]]> @@ -600,7 +600,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Abort/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Abort/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Abort2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Abort/source.vb" id="Snippet1"::: ]]> @@ -675,7 +675,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -683,7 +683,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb" id="Snippet1"::: ]]> @@ -759,7 +759,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -770,7 +770,7 @@ This method is obsolete. On .NET 5 and later versions, calling this method produ :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -851,7 +851,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/ApartmentState/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ApartmentState/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.ApartmentState/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ApartmentState/Overview/source.vb" id="Snippet1"::: ]]> @@ -925,7 +925,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginCriticalRegion/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginCriticalRegion/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb" id="Snippet1"::: ]]> @@ -994,7 +994,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginThreadAffinity/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginThreadAffinity/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb" id="Snippet1"::: ]]> @@ -1103,7 +1103,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentCulture/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentCulture/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentPrincipal/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentPrincipal/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.CurrentPrincipal/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentPrincipal/source.vb" id="Snippet1"::: ]]> @@ -1244,7 +1244,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentThread/currentthread2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentThread/currentthread2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.currentthread/vb/currentthread2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentThread/currentthread2.vb" id="Snippet1"::: Each child task generates 1 million random numbers between 1 and 1 million and returns their mean. The parent task calls the method to ensure that the child tasks have completed before displaying the mean returned by each task and calculating the mean of means. @@ -1319,13 +1319,13 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.Thread.CurrentUICulture/vb/CurrentUICulture1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentUICulture/CurrentUICulture1.vb" id="Snippet1"::: The following code example shows the threading statement that allows the user interface of a Windows Forms to display in the culture that is set in Control Panel. Additional code is needed. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/CurrentCulture/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/CurrentCulture/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Culture/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/CurrentCulture/source.vb" id="Snippet1"::: ]]> @@ -1462,7 +1462,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginCriticalRegion/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginCriticalRegion/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginCriticalRegion/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginCriticalRegion/source.vb" id="Snippet1"::: ]]> @@ -1531,7 +1531,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/BeginThreadAffinity/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/BeginThreadAffinity/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.BeginThreadAffinity/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/BeginThreadAffinity/source.vb" id="Snippet1"::: ]]> @@ -1721,7 +1721,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -1729,7 +1729,7 @@ You can specify the COM threading model for a C++ application using the [/CLRTHR :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -1981,7 +1981,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -1989,7 +1989,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source.vb" id="Snippet1"::: ]]> @@ -2051,7 +2051,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetDomain/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetDomain/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb" id="Snippet1"::: ]]> @@ -2110,7 +2110,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/GetDomain/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/GetDomain/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Domain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/GetDomain/source.vb" id="Snippet1"::: ]]> @@ -2233,7 +2233,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -2241,7 +2241,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -2306,7 +2306,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Interrupt/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> @@ -2440,7 +2440,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/IsBackground/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/IsBackground/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsBackground/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/IsBackground/source.vb" id="Snippet1"::: ]]> @@ -2504,7 +2504,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/IsThreadPoolThread/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/IsThreadPoolThread/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.IsThreadPoolThread/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/IsThreadPoolThread/source.vb" id="Snippet1"::: ]]> @@ -2575,7 +2575,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1a.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1a.vb" id="Snippet1"::: If the thread has already terminated when is called, the method returns immediately. @@ -2649,7 +2649,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1b.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1b.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1b.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1b.vb" id="Snippet2"::: If is specified for the `millisecondsTimeout` parameter, this method behaves identically to the method overload, except for the return value. @@ -2718,7 +2718,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/join1c.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/join1c.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.join/vb/join1c.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/join1c.vb" id="Snippet3"::: If is specified for `timeout`, this method behaves identically to the method overload, except for the return value. @@ -2731,7 +2731,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Join/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Join/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Timespan/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Join/source.vb" id="Snippet1"::: ]]> @@ -2988,7 +2988,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Priority/Example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/Priority/Example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb" id="Snippet1"::: ]]> @@ -3360,7 +3360,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateDataSlot/source1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateDataSlot/source1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.DoNotUseDataSlots/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateDataSlot/source1.vb" id="Snippet1"::: **Second Example** @@ -3368,7 +3368,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/AllocateNamedDataSlot/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/AllocateNamedDataSlot/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.NamedDataSlot/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/AllocateNamedDataSlot/source.vb" id="Snippet1"::: ]]> @@ -3751,7 +3751,7 @@ The value is not guaranteed to be a zero-based processor number. :::code language="csharp" source="~/snippets/csharp/System.Threading/ParameterizedThreadStart/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/ParameterizedThreadStart/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ParameterizedThreadStart/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ParameterizedThreadStart/Overview/source.vb" id="Snippet1"::: ]]> @@ -4096,7 +4096,7 @@ When you call the `Suspend` method on a thread, the system notes that a thread s :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/ThreadState/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Threading/Thread/ThreadState/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.thread.threadstate/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/ThreadState/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadAbortException.xml b/xml/System.Threading/ThreadAbortException.xml index 71e607515ff..fffd644fb38 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/Abort/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadInterruptedException.xml b/xml/System.Threading/ThreadInterruptedException.xml index 9f28dc2132e..7778410e87d 100644 --- a/xml/System.Threading/ThreadInterruptedException.xml +++ b/xml/System.Threading/ThreadInterruptedException.xml @@ -74,7 +74,7 @@ The following code example shows the behavior of a running thread when it is interrupted and subsequently gets blocked. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadLocal`1.xml b/xml/System.Threading/ThreadLocal`1.xml index 4bc41a9a604..acdba4cda1e 100644 --- a/xml/System.Threading/ThreadLocal`1.xml +++ b/xml/System.Threading/ThreadLocal`1.xml @@ -84,7 +84,7 @@ The following example shows how to use : :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadLocalT/Overview/threadlocal.cs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadLocalT/Overview/threadlocal.vb" id="Snippet01"::: ]]> diff --git a/xml/System.Threading/ThreadPool.xml b/xml/System.Threading/ThreadPool.xml index 14fee295f78..962634ac0f1 100644 --- a/xml/System.Threading/ThreadPool.xml +++ b/xml/System.Threading/ThreadPool.xml @@ -109,7 +109,7 @@ In the following example, the main application thread queues a method named `ThreadProc` to execute on a thread pool thread, sleeps for one second, and then exits. The `ThreadProc` method simply displays a message. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb" id="Snippet1"::: If you comment out the call to the method, the main thread exits before method runs on the thread pool thread. The thread pool uses background threads, which do not keep the application running if all foreground threads have terminated. (This is a simple example of a race condition.) @@ -373,7 +373,7 @@ If a thread pool implementation may have different types of work items, the coun The following example displays the number of worker threads and I/O threads available when a simple app is started. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetAvailableThreads/Example2.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/Example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/Example2.vb" id="Snippet2"::: ]]> @@ -450,7 +450,7 @@ If a thread pool implementation may have different types of work items, the coun The following code example shows how to retrieve a count of the maximum and available number of threads in the thread pool. A work item is queued that uses `FileStream` to asynchronously write to two files. The callback methods are timed to overlap. A worker thread handles the work item and, depending on the speed and number of processors on the computer, one or two completion port threads handle the write operations. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetAvailableThreads/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetAvailableThreads/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetAvailableThreads/source.vb" id="Snippet1"::: ]]> @@ -524,7 +524,7 @@ If a thread pool implementation may have different types of work items, the coun The following example sets the minimum number of worker threads to four, and preserves the original value for the minimum number of asynchronous I/O completion threads. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/GetMinThreads/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool.GetSetMinThreads/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/GetMinThreads/source.vb" id="Snippet1"::: ]]> @@ -645,7 +645,7 @@ The method overload to queue a task, which is represented by the `ThreadProc` method, to execute when a thread becomes available. No task information is supplied with this overload. Therefore, the information that is available to the `ThreadProc` method is limited to the object the method belongs to. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/Overview/source.cs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem0/VB/source.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/Overview/source.vb" id="Snippet1"::: ]]> @@ -729,7 +729,7 @@ The following example uses the class during construction. Each object signals the provided event object when its calculation is complete, which allows the primary thread to block execution with until all five `Fibonacci` objects have calculated a result. The `Main` method then displays each `Fibonacci` result. :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadPool/QueueUserWorkItem/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool QueueUserWorkItem1/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadPool/QueueUserWorkItem/source.vb" id="Snippet1"::: ]]> @@ -1204,7 +1204,7 @@ The following example uses the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a time-out occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping additional callbacks. In the case of a time-out, the task continues to wait. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> @@ -1367,7 +1367,7 @@ The following example uses the diff --git a/xml/System.Threading/ThreadPriority.xml b/xml/System.Threading/ThreadPriority.xml index 122aeb642c7..673937d4ab9 100644 --- a/xml/System.Threading/ThreadPriority.xml +++ b/xml/System.Threading/ThreadPriority.xml @@ -71,7 +71,7 @@ The following code example shows the result of changing the priority of a thread. Three threads are created, the priority of one thread is set to BelowNormal, and the priority of a second is set to AboveNormal. Each thread increments a variable in a `while` loop and runs for a set time. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Priority/Example1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Threading.ThreadPriority/vb/Example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Priority/Example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/ThreadStart.xml b/xml/System.Threading/ThreadStart.xml index a86b13cb047..c5378eccb27 100644 --- a/xml/System.Threading/ThreadStart.xml +++ b/xml/System.Threading/ThreadStart.xml @@ -68,7 +68,7 @@ For another simple example that demonstrates how to create a delegate, see the method overload. For more information about thread creation, see [Creating Threads and Passing Data at Start Time](/dotnet/standard/threading/creating-threads-and-passing-data-at-start-time). :::code language="csharp" source="~/snippets/csharp/System.Threading/ThreadStart/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadStart2/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/ThreadStart/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Timeout.xml b/xml/System.Threading/Timeout.xml index 0b5ef8442ee..1b53e93fd3a 100644 --- a/xml/System.Threading/Timeout.xml +++ b/xml/System.Threading/Timeout.xml @@ -71,7 +71,7 @@ The following example shows a thread going to sleep for an infinite time and subsequently being woken up. :::code language="csharp" source="~/snippets/csharp/System.Threading/Thread/Interrupt/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Thread.Interrupt/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Thread/Interrupt/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/Timer.xml b/xml/System.Threading/Timer.xml index aff33bbd1b8..50081c773ac 100644 --- a/xml/System.Threading/Timer.xml +++ b/xml/System.Threading/Timer.xml @@ -144,7 +144,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The application thread creates the timer, which waits one second and then executes the `CheckStatus` callback method every 250 milliseconds. The application thread then blocks until the object is signaled. When the `CheckStatus` callback method executes `maxCount` times, it calls the `AutoResetEvent.Set` method to set the state of the object to signaled. The first time this happens, the application thread calls the method so that the callback method now executes every half second. It once again blocks until the object is signaled. When this happens, the timer is destroyed by calling its method, and the application terminates. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -315,7 +315,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to create a `TimerCallback` delegate and initialize a new instance of the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to create a `TimerCallback` delegate and initialize a new instance of the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -706,7 +706,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example demonstrates how to start a `Timer` and, after a set number of invocations, change its period. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> @@ -864,7 +864,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example demonstrates how to start a `Timer` and, after a set number of invocations, change its period. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/.ctor/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/.ctor/source2.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ The following example defines a `StatusChecker` class that includes a `CheckStat The following code example shows how to free the resources held by a `Timer`. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/TimerCallback.xml b/xml/System.Threading/TimerCallback.xml index f22998f9673..34f0583900c 100644 --- a/xml/System.Threading/TimerCallback.xml +++ b/xml/System.Threading/TimerCallback.xml @@ -84,7 +84,7 @@ The following code example shows how to create the delegate used with the `Timer` class. :::code language="csharp" source="~/snippets/csharp/System.Threading/Timer/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.Timer/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/Timer/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Threading/WaitHandle.xml b/xml/System.Threading/WaitHandle.xml index 4ecb06c68a0..24620456b20 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/EventResetMode/Overview/source.vb" id="Snippet1"::: ]]> @@ -958,7 +958,7 @@ Calling `Dispose` allows the resources used by the @@ -1247,7 +1247,7 @@ The method returns when the wait t The following code example shows how to use the thread pool to asynchronously create and write to a group of files. Each write operation is queued as a work item and signals when it is finished. The main thread waits for all the items to signal and then exits. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitAll/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAll2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitAll/source2.vb" id="Snippet1"::: ]]> @@ -1344,7 +1344,7 @@ The maximum value for `timeout` is @@ -1729,7 +1729,7 @@ The maximum number of the wait handles is 64, and 63 if the current thread is in The following code example demonstrates how to use the thread pool to simultaneously search for a file on multiple disks. For space considerations, only the root directory of each disk is searched. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitAny/source2.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.WaitHandle.WaitAny2/VB/source2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitAny/source2.vb" id="Snippet1"::: ]]> @@ -1823,7 +1823,7 @@ The maximum value for `timeout` is @@ -1922,7 +1922,7 @@ The maximum value for `timeout` is @@ -1995,7 +1995,7 @@ The maximum value for `timeout` is @@ -2144,7 +2144,7 @@ Override this method to customize the behavior of derived classes. The following example shows how the method overload behaves when it is called within a synchronization domain. First, a thread waits with `exitContext` set to `false` and blocks until the wait timeout expires. A second thread executes after the first thread terminates and waits with `exitContext` set to `true`. The call to signal the wait handle for this second thread is not blocked, and the thread completes before the wait timeout. :::code language="csharp" source="~/snippets/csharp/System.Threading/WaitHandle/WaitOne/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threading.waithandle.waitone4/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/WaitHandle/WaitOne/source.vb" id="Snippet1"::: ]]> @@ -2222,7 +2222,7 @@ The maximum value for `timeout` is @@ -2291,7 +2291,7 @@ The maximum value for `timeout` is diff --git a/xml/System.Threading/WaitOrTimerCallback.xml b/xml/System.Threading/WaitOrTimerCallback.xml index 5dd2183010b..7dd3f9aa2fa 100644 --- a/xml/System.Threading/WaitOrTimerCallback.xml +++ b/xml/System.Threading/WaitOrTimerCallback.xml @@ -90,7 +90,7 @@ When the main thread signals the by calling its method, the delegate is invoked. The `WaitProc` method tests to determine whether a timeout occurred. If the callback was invoked because the wait handle was signaled, the `WaitProc` method unregisters the , stopping further callbacks. In the case of a timeout, the task continues waiting. The `WaitProc` method ends by printing a message to the console. :::code language="csharp" source="~/snippets/csharp/System.Threading/RegisteredWaitHandle/Overview/source.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Threading.ThreadPool RegisterWaitForSingleObject0/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Threading/RegisteredWaitHandle/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Timers/ElapsedEventArgs.xml b/xml/System.Timers/ElapsedEventArgs.xml index 202ba284e33..2bf469b5a39 100644 --- a/xml/System.Timers/ElapsedEventArgs.xml +++ b/xml/System.Timers/ElapsedEventArgs.xml @@ -55,7 +55,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -143,7 +143,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Timers/Timer.xml b/xml/System.Timers/Timer.xml index 81af146fa48..d2748340278 100644 --- a/xml/System.Timers/Timer.xml +++ b/xml/System.Timers/Timer.xml @@ -89,7 +89,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb" id="Snippet3"::: If the property is `null`, the event is raised on a thread. If processing of the event lasts longer than , the event might be raised again on another thread. In this situation, the event handler should be reentrant. @@ -115,7 +115,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer2a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer2a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb" id="Snippet2"::: ]]> @@ -191,7 +191,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/AsyncHandlerEx1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/AsyncHandlerEx1.vb" id="Snippet3"::: ]]> @@ -589,7 +589,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -679,7 +679,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -821,7 +821,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/Timer/Interval/interval2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/Timer/Interval/interval2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer.interval/vb/interval2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/Timer/Interval/interval2.vb" id="Snippet1"::: If your app requires greater resolution than that offered by the class or the system clock, use the high-resolution multimedia timers; see [How to: Use the High-Resolution Timer](https://msdn.microsoft.com/library/aa964692.aspx). @@ -839,7 +839,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer1.vb" id="Snippet1"::: ]]> @@ -1027,7 +1027,7 @@ :::code language="csharp" source="~/snippets/csharp/System.Timers/ElapsedEventArgs/Overview/timer2a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System.Timers/ElapsedEventArgs/Overview/timer2a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timers.timer/vb/timer2a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System.Timers/ElapsedEventArgs/Overview/timer2a.vb" id="Snippet2"::: The following code example shows one way to prevent the thread that calls the method from continuing until a currently executing event ends, and also to prevent two events from executing the event handler at the same time (often referred to as reentrancy). @@ -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.Web/HttpParseException.xml b/xml/System.Web/HttpParseException.xml index d87aad9da39..178113158f0 100644 --- a/xml/System.Web/HttpParseException.xml +++ b/xml/System.Web/HttpParseException.xml @@ -244,7 +244,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.Exception.GetObjectData/CPP/getobjdata.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> diff --git a/xml/System.Xml/XmlReader.xml b/xml/System.Xml/XmlReader.xml index 90e65a015fa..46ddf81a461 100644 --- a/xml/System.Xml/XmlReader.xml +++ b/xml/System.Xml/XmlReader.xml @@ -72,7 +72,7 @@ The following example code shows how to use the asynchronous API to parse XML. :::code language="csharp" source="~/snippets/csharp/System.Xml/XmlReader/Overview/program.cs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.xml.xmlreader.class/vb/module1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System.Xml/XmlReader/Overview/module1.vb" id="Snippet6"::: ]]> diff --git a/xml/System/Action.xml b/xml/System/Action.xml index 2b434879fa9..8dd1899b956 100644 --- a/xml/System/Action.xml +++ b/xml/System/Action.xml @@ -75,13 +75,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/delegate1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.action.delegate/vb/delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Action.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Action.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/Action.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/Action.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -91,7 +91,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Action/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Action/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`1.xml b/xml/System/Action`1.xml index bbaf1e77c32..19bec6669fd 100644 --- a/xml/System/Action`1.xml +++ b/xml/System/Action`1.xml @@ -85,13 +85,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Action1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Action1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/Action1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/Action1.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -101,7 +101,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~1/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~1/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/lambda.vb" id="Snippet4"::: The and methods each take an delegate as a parameter. The method encapsulated by the delegate allows you to perform an action on each element in the array or list. The example uses the method to provide an illustration. @@ -112,7 +112,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT/Overview/action.cs" interactive="try-dotnet-method" id="Snippet01"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action_PrintExample/fs/action.fs" id="Snippet01"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action_PrintExample/vb/action.vb" id="Snippet01"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT/Overview/action.vb" id="Snippet01"::: ]]> diff --git a/xml/System/Action`2.xml b/xml/System/Action`2.xml index d81faab67c1..3524c4d46e9 100644 --- a/xml/System/Action`2.xml +++ b/xml/System/Action`2.xml @@ -110,13 +110,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Action2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Action2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/action2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/action2.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -126,7 +126,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~2/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~2/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`3.xml b/xml/System/Action`3.xml index 63c9db463ad..480d91dc606 100644 --- a/xml/System/Action`3.xml +++ b/xml/System/Action`3.xml @@ -124,13 +124,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Action3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Action3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/Action3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/Action3.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -140,7 +140,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~3/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~3/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/Action`4.xml b/xml/System/Action`4.xml index e53573f0b32..c360e423890 100644 --- a/xml/System/Action`4.xml +++ b/xml/System/Action`4.xml @@ -118,13 +118,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Action4.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Action4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/Action4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/Action4.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -134,7 +134,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ActionT1,T2,T3,T4/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Action~4/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Action~4/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActionT1,T2,T3,T4/Overview/lambda.vb" id="Snippet4"::: ]]> diff --git a/xml/System/ActivationContext.xml b/xml/System/ActivationContext.xml index 9b36d7d2be9..aad8822bc8a 100644 --- a/xml/System/ActivationContext.xml +++ b/xml/System/ActivationContext.xml @@ -49,7 +49,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. For correct results, execute this code example as a manifest-based application. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet1"::: ]]> @@ -339,7 +339,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Activator.xml b/xml/System/Activator.xml index 4ee0fd614d8..73933851bb7 100644 --- a/xml/System/Activator.xml +++ b/xml/System/Activator.xml @@ -584,19 +584,19 @@ Note: In .NET for Win :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/personinfo.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/personinfo.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/personinfo.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/personinfo.vb" id="Snippet1"::: The following example calls the method to instantiate the `Person` class. It requires a reference to PersonInfo.dll to be added to the project. Because the method calls the `Person` class parameterless constructor, the example assigns a value to its `Name` property. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstanceex1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstanceex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1.vb" id="Snippet2"::: However, is frequently called to instantiate a type that crosses machine boundaries or that is not known at design time. In this case, you cannot include a reference to the assembly in the project and cannot make early-bound calls to the type's members. To work around this limitation, the following example uses the method along with reflection to assign a value to the `Person` object's `Name` property and to display its value. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstanceex1a.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstanceex1a.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstanceex1a.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstanceex1a.vb" id="Snippet3"::: ]]> @@ -816,13 +816,13 @@ Note: In .NET for Win :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/CreateInstance5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/CreateInstance5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/CreateInstance5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/CreateInstance5.vb" id="Snippet5"::: The following example creates a jagged array whose elements are arguments to be passed to a constructor. The example then passes each array to the method to invoke the appropriate string constructor. :::code language="csharp" source="~/snippets/csharp/System/Activator/CreateInstance/createinstance2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.activator.createinstance/fs/createinstance2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.activator.createinstance/vb/createinstance2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Activator/CreateInstance/createinstance2.vb" id="Snippet4"::: ]]> @@ -1903,7 +1903,7 @@ An error occurred when attempting remote activation in a target specified in generic method in application code, because the type must be known at compile time. If the type is known at compile time, normal instantiation syntax can be used (`new` operator in C#, `New` in Visual Basic). If the type is not known at compile time, you can call a non-generic overload of . diff --git a/xml/System/AggregateException.xml b/xml/System/AggregateException.xml index c8ade762787..b120953d406 100644 --- a/xml/System/AggregateException.xml +++ b/xml/System/AggregateException.xml @@ -88,7 +88,7 @@ :::code language="csharp" source="~/snippets/csharp/System/AggregateException/Overview/exception1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.aggregateexception.class/fs/exception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.aggregateexception.class/vb/exception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AggregateException/Overview/exception1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AppContext.xml b/xml/System/AppContext.xml index 9256dbb0d0c..7e8695e47bf 100644 --- a/xml/System/AppContext.xml +++ b/xml/System/AppContext.xml @@ -309,7 +309,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is the :::code language="csharp" source="~/snippets/csharp/System/AppContext/Overview/TestValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AppContext.Class/fs/TestValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb" id="Snippet1"::: ]]> @@ -446,7 +446,7 @@ In .NET 5 and later versions, for bundled assemblies, the value returned is the :::code language="csharp" source="~/snippets/csharp/System/AppContext/Overview/TestValue1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AppContext.Class/fs/TestValue1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AppContext.Class/vb/TestValue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppContext/SetSwitch/TestValue1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/AppDomain.xml b/xml/System/AppDomain.xml index 39e02ed2b50..7eacfdd4bc8 100644 --- a/xml/System/AppDomain.xml +++ b/xml/System/AppDomain.xml @@ -2410,7 +2410,7 @@ This method overload uses the information from the :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/cpp/example.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/CreateInstanceFrom/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/CreateInstanceFrom/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.createinstancefrom_stringstring/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/CreateInstanceFrom/example.vb" id="Snippet1"::: ]]> @@ -5822,7 +5822,7 @@ This method overload uses the information from the :::code language="csharp" source="~/snippets/csharp/System/AppDomain/FirstChanceException/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/FirstChanceException/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.firstchanceexception/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/FirstChanceException/example.vb" id="Snippet1"::: ]]> @@ -6254,7 +6254,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/CPP/System.AppDomain.IsDefaultAppDomain.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Id/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Id/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Id/source.vb" id="Snippet1"::: ]]> @@ -6424,7 +6424,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/CPP/System.AppDomain.IsDefaultAppDomain.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Id/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Id/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomain.IsDefaultAppDomain/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Id/source.vb" id="Snippet1"::: ]]> @@ -6568,7 +6568,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="csharp" source="~/snippets/csharp/System/AppDomain/IsFullyTrusted/example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/IsFullyTrusted/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.isfullytrusted/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/IsFullyTrusted/example.vb" id="Snippet1"::: ]]> @@ -6801,7 +6801,7 @@ The friendly name of the default application domain is the file name of the proc :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.appdomain.load/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/AppDomain/Load/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/AppDomain/Load/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.appdomain.load/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomain/Load/source.vb" id="Snippet1"::: The assembly is loaded into both domains because does not derive from , and therefore the return value of the method cannot be marshaled. Instead, the common language runtime tries to load the assembly into the calling application domain. The assemblies that are loaded into the two application domains might be different if the path settings for the two application domains are different. diff --git a/xml/System/AppDomainManager.xml b/xml/System/AppDomainManager.xml index d12feb118c5..d21d22fea3d 100644 --- a/xml/System/AppDomainManager.xml +++ b/xml/System/AppDomainManager.xml @@ -58,7 +58,7 @@ The following example shows a very simple implementation of . :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet1"::: ]]> @@ -347,7 +347,7 @@ The following example shows an override of the property for a custom application domain manager. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet3"::: ]]> @@ -426,7 +426,7 @@ The following example shows an override of the method for a custom application domain manager. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/AppDomainManager/Overview/customAppDomainManager.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.AppDomainManager/VB/customAppDomainManager.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AppDomainManager/Overview/customAppDomainManager.vb" id="Snippet2"::: ]]> diff --git a/xml/System/ApplicationId.xml b/xml/System/ApplicationId.xml index 862fad460e9..7a208a06bdb 100644 --- a/xml/System/ApplicationId.xml +++ b/xml/System/ApplicationId.xml @@ -81,7 +81,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet1"::: ]]> @@ -285,7 +285,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet8"::: ]]> @@ -458,7 +458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet7"::: ]]> @@ -524,7 +524,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet9"::: ]]> @@ -585,7 +585,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet11"::: ]]> @@ -695,7 +695,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ApplicationId/Overview/program.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/ApplicationId/Overview/program.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ApplicationIdentity/VB/program.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/ApplicationId/Overview/program.vb" id="Snippet10"::: ]]> diff --git a/xml/System/ApplicationIdentity.xml b/xml/System/ApplicationIdentity.xml index ddd2eb73cb5..63fc4354714 100644 --- a/xml/System/ApplicationIdentity.xml +++ b/xml/System/ApplicationIdentity.xml @@ -59,7 +59,7 @@ The following code example demonstrates the use of an object to obtain the for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet2"::: ]]> @@ -221,7 +221,7 @@ http://testserver/ActivationContext/ActivationContext.application The following code example demonstrates the use of an object to obtain the value of the property for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet3"::: ]]> @@ -276,7 +276,7 @@ http://testserver/ActivationContext/ActivationContext.application The following code example demonstrates the use of an object to obtain the value of the property for a manifest-based application. This code example is part of a larger example provided for the class. :::code language="csharp" source="~/snippets/csharp/System/ActivationContext/Overview/program.cs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ActivationContext/vb/program.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ActivationContext/Overview/program.vb" id="Snippet3"::: ]]> diff --git a/xml/System/ArgumentOutOfRangeException.xml b/xml/System/ArgumentOutOfRangeException.xml index 80b4975ae0e..5b66d61e283 100644 --- a/xml/System/ArgumentOutOfRangeException.xml +++ b/xml/System/ArgumentOutOfRangeException.xml @@ -97,49 +97,49 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb" id="Snippet4"::: To prevent the exception, check whether the collection's `Count` property is greater than zero before attempting to retrieve any members, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements.vb" id="Snippet5"::: 2. In some cases, the exception may occur because you are attempting to add a member to a collection by using an index that does not exist, rather than by calling the method, such as `Add`, that exists for this purpose. The following example attempts to add an element to a collection by using a non-existent index rather than calling the method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements2.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements2.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb" id="Snippet13"::: The following code fragment corrects this error: :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoElements2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoElements2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoElements2.vb" id="Snippet14"::: 3. You're attempting to retrieve an item whose index is negative. This usually occurs because you've searched a collection for the index of a particular element and have erroneously assumed that the search is successful. In the following example, the call to the method fails to find a string equal to "Z" and so returns -1. However, this is an invalid index value. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/BadSearch.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/BadSearch.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb" id="Snippet6"::: To prevent the exception, check that the search is successful by making sure that the returned index is greater than or equal to zero before attempting to retrieve the item from the collection, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/BadSearch.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/BadSearch.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/BadSearch.vb" id="Snippet7"::: 4. You're attempting to retrieve an element whose index is equal to the value of the collection's `Count` property, as the following example illustrates. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb" id="Snippet8"::: Because collections in .NET use zero-based indexing, the first element of the collection is at index 0, and the last element is at index `Count` - 1. You can eliminate the error by ensuring that you access the last element at index `Count` - 1, as the following code does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR2.vb" id="Snippet9"::: - You are attempting to perform a string operation by calling a string manipulation method, and the starting index does not exist in the string. @@ -151,13 +151,13 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/EmptyString1.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/EmptyString1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb" id="Snippet15"::: You can eliminate the exception by testing whether the string's is greater than zero or by calling the method to ensure that the string is not `null` or empty. The following code fragment does the latter. In this case, if the string is `null` or empty, the `GetFirstCharacter` method returns U+0000. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/EmptyString1.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/EmptyString1.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/EmptyString1.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/EmptyString1.vb" id="Snippet16"::: 2. You're manipulating a string based on the position of a substring within that string, and you've failed to determine whether the substring was actually found. @@ -165,13 +165,13 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoFind1.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoFind1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind1.vb" id="Snippet17"::: To eliminate the exception, validate the value returned by the string search method before calling the string manipulation method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/NoFind2.cs" interactive="try-dotnet" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/NoFind2.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/NoFind2.vb" id="Snippet18"::: 3. You've attempted to extract a substring that is outside the range of the current string. @@ -195,7 +195,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/FindWords1.cs" interactive="try-dotnet" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/FindWords1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/FindWords1.vb" id="Snippet19"::: - You have passed a negative number to a method with an argument that requires only positive numbers and zero, or you have passed either a negative number or zero to a method with an argument that requires only positive numbers. @@ -203,19 +203,19 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet1"::: To correct the error, ensure that the value of the invalid argument is non-negative. You can do this by providing a valid value, as the following code fragment does. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet2"::: You can also validate the input and, if it is invalid, take some action. The following code fragment displays an error message instead of calling the method. :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/OOR1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/OOR1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/OOR1.vb" id="Snippet3"::: - A race condition exists in an app that is multithreaded or has tasks that execute asynchronously and that updates an array or collection. @@ -223,7 +223,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/Race1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/Race1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race1.vb" id="Snippet11"::: In this case, two resources are accessed from multiple threads: @@ -241,7 +241,7 @@ The conditions in which an exception i :::code language="csharp" source="~/snippets/csharp/System/ArgumentOutOfRangeException/Overview/Race2.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/fs/Race2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/Race2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArgumentOutOfRangeException/Overview/Race2.vb" id="Snippet12"::: uses the HRESULT COR_E_ARGUMENTOUTOFRANGE, which has the value 0x80131502. diff --git a/xml/System/Array.xml b/xml/System/Array.xml index 1ce29b83c23..9a82342a1d6 100644 --- a/xml/System/Array.xml +++ b/xml/System/Array.xml @@ -221,7 +221,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/AsReadOnlyT/arrayasreadonly.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.AsReadOnly/FS/arrayasreadonly.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.AsReadOnly/VB/arrayasreadonly.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/AsReadOnlyT/arrayasreadonly.vb" id="Snippet1"::: ]]> @@ -1310,13 +1310,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Clear/example.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clear/fs/example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clear/example.vb" id="Snippet1"::: The following example defines a `TimeZoneTime` structure that includes a field and a field. It then calls the method to clear one element in a two-element array of `TimeZoneTime` values. The method sets the value of the cleared element to the default value of a object, which is `null`, and the default value of a object, which is . :::code language="csharp" source="~/snippets/csharp/System/Array/Clear/clearstruct1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clear/fs/clearstruct1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clear/vb/clearstruct1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clear/clearstruct1.vb" id="Snippet2"::: ]]> @@ -1410,7 +1410,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Clone/arrayclone.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Clone/FS/arrayclone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Clone/VB/arrayclone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Clone/arrayclone.vb" id="Snippet1"::: ]]> @@ -3275,19 +3275,19 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists3.vb" id="Snippet3"::: The following example uses the method to indicate whether any names in a string array begin with a specified character. The example instantiates a `StringSearcher` object by passing the string to search for to its class constructor. The `StringSearcher.StartsWith` method has same signature as the delegate. When the method is called, each member of the array is passed to the delegate until it returns `true` or iterates all the elements in the array. :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists1.vb" id="Snippet1"::: You can also use a lambda expression rather than explicitly define a method whose signature corresponds to that of the delegate. The following example replaces the `StringSearcher` class and its `StartsWith` method with a lambda expression. :::code language="csharp" source="~/snippets/csharp/System/Array/ExistsT/exists2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.exists/fs/exists2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.exists/vb/exists2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ExistsT/exists2.vb" id="Snippet2"::: ]]> @@ -3495,13 +3495,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.find/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindT/source.vb" id="Snippet1"::: Rather than explicitly defining a method with the necessary signature, instantiating a delegate, and passing the delegate to the method, it is customary to use a lambda expression. The following example is identical to the previous one, except that it uses a lambda expression as the `match` argument. :::code language="csharp" source="~/snippets/csharp/System/Array/FindT/lambda.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.find/fs/lambda.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.find/vb/lambda.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindT/lambda.vb" id="Snippet2"::: ]]> @@ -3595,7 +3595,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/FindAllT/findall.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.findall/fs/findall.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.findall/vb/findall.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/FindAllT/findall.vb" id="Snippet1"::: The following code example demonstrates the , , and generic methods. An array of strings is created, containing 8 dinosaur names, two of which (at positions 1 and 5) end with "saurus". The code example also defines a search predicate method named `EndsWithSaurus`, which accepts a string parameter and returns a Boolean value indicating whether the input string ends in "saurus". @@ -4415,7 +4415,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/ForEachT/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.foreach/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.foreach/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ForEachT/source.vb" id="Snippet1"::: ]]> @@ -4504,7 +4504,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetEnumerator/array_getenumerator.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetEnumerator/FS/array_getenumerator.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetEnumerator/VB/array_getenumerator.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetEnumerator/array_getenumerator.vb" id="Snippet1"::: ]]> @@ -4577,7 +4577,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLength/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getlength/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getlength/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLength/source.vb" id="Snippet1"::: ]]> @@ -4736,7 +4736,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLowerBound/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getupperbound/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLowerBound/source.vb" id="Snippet1"::: ]]> @@ -4821,7 +4821,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetLowerBound/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.getupperbound/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.getupperbound/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetLowerBound/source.vb" id="Snippet1"::: ]]> @@ -4852,7 +4852,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/GetValue/array_getsetvalue.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetSetValue/FS/array_getsetvalue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb" id="Snippet1"::: ]]> @@ -6289,7 +6289,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/IsSynchronized/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.SyncRoot/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.SyncRoot/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/IsSynchronized/source.vb" id="Snippet1"::: ]]> @@ -6952,7 +6952,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Array/Length/length1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.length/fs/length1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.length/vb/length1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Length/length1.vb" id="Snippet1"::: ]]> @@ -7154,7 +7154,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Rank/rank1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.rank/fs/rank1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.rank/vb/rank1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Rank/rank1.vb" id="Snippet1"::: ]]> @@ -7248,7 +7248,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/ResizeT/resizexd.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Resize/FS/resizexd.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/resizexd.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ResizeT/resizexd.vb" id="Snippet2"::: @@ -7257,7 +7257,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/ResizeT/arrayresize.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Resize/FS/arrayresize.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Resize/VB/arrayresize.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/ResizeT/arrayresize.vb" id="Snippet1"::: ]]> @@ -7343,7 +7343,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Reverse/reversejagged.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.reverse/fs/reversejagged.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.reverse/vb/reversejagged.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Reverse/reversejagged.vb" id="Snippet1"::: @@ -7592,7 +7592,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/GetValue/array_getsetvalue.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array_GetSetValue/FS/array_getsetvalue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array_GetSetValue/VB/array_getsetvalue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/GetValue/array_getsetvalue.vb" id="Snippet1"::: ]]> @@ -8354,7 +8354,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Sort/arraysort.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Sort/FS/arraysort.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort/VB/arraysort.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Sort/arraysort.vb" id="Snippet1"::: ]]> @@ -8462,7 +8462,7 @@ int[,,] TDArray = new int[1,1,1]; :::code language="csharp" source="~/snippets/csharp/System/Array/Sort/arraysort2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Array.Sort2/FS/arraysort2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Array.Sort2/VB/arraysort2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/Sort/arraysort2.vb" id="Snippet1"::: ]]> @@ -8585,7 +8585,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8716,7 +8716,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8826,7 +8826,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -8946,7 +8946,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9086,7 +9086,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -9236,7 +9236,7 @@ This method is an O(`n` log `n`) operation, where `n` is the @@ -10543,7 +10543,7 @@ This property implements the @@ -11543,13 +11543,13 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Array/TrueForAllT/trueforall2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.trueforall/fs/trueforall2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/TrueForAllT/trueforall2.vb" id="Snippet2"::: The following example is similar to the first, except that it passes the string array to the method along with a lambda expression that determines whether a particular array element ends with the string representation of a number. :::code language="csharp" source="~/snippets/csharp/System/Array/TrueForAllT/trueforall1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.array.trueforall/fs/trueforall1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.array.trueforall/vb/trueforall1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Array/TrueForAllT/trueforall1.vb" id="Snippet1"::: In both cases, the method returns `false` as soon as it encounters the first array element that does not end in a number. Otherwise, it returns `true` after iterating all the elements in the array. diff --git a/xml/System/ArraySegment`1.xml b/xml/System/ArraySegment`1.xml index 0fc079b47a2..22e4267b16c 100644 --- a/xml/System/ArraySegment`1.xml +++ b/xml/System/ArraySegment`1.xml @@ -120,7 +120,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/segmentexample.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/segmentexample.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/segmentexample.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/segmentexample.vb" id="Snippet2"::: Note, however, that although the structure can be used to divide an array into distinct segments, the segments are not completely independent of one another. The property returns the entire original array, not a copy of the array; therefore, changes made to the array returned by the property are made to the original array. If this is undesirable, you should perform operations on a copy of the array, rather than an object that represents a portion of the array. @@ -136,7 +136,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.arraysegment.class/fs/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.arraysegment.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/example1.vb" id="Snippet1"::: @@ -145,7 +145,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -171,7 +171,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -360,7 +360,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArraySegmentT/Overview/arraysegment.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArraySegment/FS/arraysegment.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArraySegment/VB/arraysegment.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArraySegmentT/Overview/arraysegment.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ The underlying array of is @@ -946,7 +946,7 @@ The underlying array of is @@ -1805,7 +1805,7 @@ The underlying array of is diff --git a/xml/System/ArrayTypeMismatchException.xml b/xml/System/ArrayTypeMismatchException.xml index 4557bf3ec88..f8f08631dba 100644 --- a/xml/System/ArrayTypeMismatchException.xml +++ b/xml/System/ArrayTypeMismatchException.xml @@ -93,7 +93,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ArrayTypeMismatchException/Overview/class1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ArrayTypeMismatch/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ArrayTypeMismatch/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ArrayTypeMismatchException/Overview/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Attribute.xml b/xml/System/Attribute.xml index 2431ac01d19..8de41e92a1d 100644 --- a/xml/System/Attribute.xml +++ b/xml/System/Attribute.xml @@ -161,7 +161,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrparam.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrparam.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb" id="Snippet2"::: ]]> @@ -242,7 +242,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/Equals/equals.cs" interactive="try-dotnet"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.Equals/FS/equals.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.Equals/VB/equals.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/Equals/equals.vb"::: ]]> @@ -551,7 +551,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrparam.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrparam.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrparam.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrparam.vb" id="Snippet1"::: ]]> @@ -862,7 +862,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/.ctor/getcustattrprminh.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/FS/getcustattrprminh.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.GetCustomAttribute/VB/getcustattrprminh.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/.ctor/getcustattrprminh.vb" id="Snippet3"::: ]]> @@ -3005,7 +3005,7 @@ When implementing your own class derived from , you can o :::code language="csharp" source="~/snippets/csharp/System/Attribute/TypeId/typeid.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Attribute.TypeId/FS/typeid.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Attribute.TypeId/VB/typeid.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Attribute/TypeId/typeid.vb" id="Snippet1"::: ]]> diff --git a/xml/System/AttributeUsageAttribute.xml b/xml/System/AttributeUsageAttribute.xml index 07b2150048f..71e01ce355e 100644 --- a/xml/System/AttributeUsageAttribute.xml +++ b/xml/System/AttributeUsageAttribute.xml @@ -271,13 +271,13 @@ :::code language="csharp" source="~/snippets/csharp/System/AttributeUsageAttribute/Inherited/Inherited1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/fs/Inherited1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb" id="Snippet1"::: The example then defines two base classes. The first, `BaseA`, has a single method, `MethodA`. The second, `BaseB`, has a single method, `MethodB`. `BaseA` and `MethodA` are tagged with the `InheritedAttribute` attribute, and `BaseB` and `MethodB` are tagged with the `NotInheritedAttribute` attribute. `DerivedA` inherits from `BaseA` and overrides its `MethodA` method. `DerivedB` inherits from `BaseB` and overrides its `MethodB` method. :::code language="csharp" source="~/snippets/csharp/System/AttributeUsageAttribute/Inherited/Inherited1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/fs/Inherited1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.AttributeUsageAttribute.Inherited/vb/Inherited1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/AttributeUsageAttribute/Inherited/Inherited1.vb" id="Snippet2"::: As the output from the example shows, `DerivedA` and `DerivedA.MethodA` inherit the `InheritedAttribute` attribute, but `DerivedB` and `DerivedB.MethodB` do not inherit the `NotInheritedAttribute` attribute. diff --git a/xml/System/BadImageFormatException.xml b/xml/System/BadImageFormatException.xml index 67fb8be1abd..5f720737775 100644 --- a/xml/System/BadImageFormatException.xml +++ b/xml/System/BadImageFormatException.xml @@ -84,7 +84,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/condition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/condition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/condition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/condition1.vb" id="Snippet1"::: To address this exception, access the methods defined in the DLL by using the features provided by your development language, such as the `Declare` statement in Visual Basic or the attribute with the `extern` keyword in C# and F#. @@ -101,13 +101,13 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/stringlib.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/stringlib.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/stringlib.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/stringlib.vb" id="Snippet2"::: The following example uses reflection to load an assembly named StringLib.dll. If the source code is compiled with a .NET Framework 1.1 compiler, a is thrown by the method. :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/loadstringlib.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/loadstringlib.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/loadstringlib.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/loadstringlib.vb" id="Snippet3"::: To address this exception, make sure that the assembly whose code is executing and that throws the exception, and the assembly to be loaded, both target compatible versions of .NET. @@ -115,7 +115,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BadImageFormatException/Overview/targetplatform1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.badimageformatexception.class/fs/targetplatform1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.badimageformatexception.class/vb/targetplatform1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BadImageFormatException/Overview/targetplatform1.vb" id="Snippet4"::: - Reflecting on C++ executable files might throw this exception. This is most likely caused by the C++ compiler stripping the relocation addresses or the .Reloc section from the executable file. To preserve the .relocation address in a C++ executable file, specify /fixed:no when linking. diff --git a/xml/System/Base64FormattingOptions.xml b/xml/System/Base64FormattingOptions.xml index 017ba17e799..128d31e7883 100644 --- a/xml/System/Base64FormattingOptions.xml +++ b/xml/System/Base64FormattingOptions.xml @@ -71,7 +71,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Convert.ToBase64String/fs/ToBase64String3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb" id="Snippet3"::: As the output from the example shows, the succeeds in restoring the original byte array; the line break characters are ignored during the conversion. diff --git a/xml/System/BitConverter.xml b/xml/System/BitConverter.xml index 921c1847916..bd7fe963132 100644 --- a/xml/System/BitConverter.xml +++ b/xml/System/BitConverter.xml @@ -91,7 +91,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/example1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/example1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/example1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/example1.vb" id="Snippet3"::: The order of bytes in the array returned by the method overloads (as well as the order of bits in the integer returned by the method) depends on whether the computer architecture is little-endian or big-endian. Similarly, the order of bytes in the array and returned by the `To`*IntegerValue* methods and the method depends on whether the computer architecture is little-endian or big-endian. The endianness of an architecture is indicated by the property, which returns `true` on little-endian systems and `false` on big-endian systems. On little-endian systems, lower-order bytes precede higher-order bytes. On big-endian system, higher-order bytes precede lower-order bytes. The following table illustrates the difference in the byte arrays that result from passing the integer 1,234,567,890 (0x499602D2) to the method. The bytes are listed in order from the byte at index 0 to the byte at index 3. @@ -108,7 +108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/networkorder1.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/networkorder1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/networkorder1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/networkorder1.vb" id="Snippet4"::: - If systems sending and receiving data can have different endianness and the data to be transmitted consists of signed integers, call the method to convert the data to network byte order and the method to convert it to the order required by the recipient. @@ -117,7 +117,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/bitconv.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/bitconv.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/bitconv.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/bitconv.vb" id="Snippet1"::: ]]> @@ -189,7 +189,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/DoubleToInt64Bits/dbltobits.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/FS/dbltobits.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/dbltobits.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/dbltobits.vb" id="Snippet2"::: ]]> @@ -311,7 +311,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesbool.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytesbool.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesbool.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesbool.vb" id="Snippet1"::: ]]> @@ -377,7 +377,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/byteschar.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/byteschar.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/byteschar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/byteschar.vb" id="Snippet2"::: ]]> @@ -449,7 +449,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesdouble.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytesdouble.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytesdouble.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesdouble.vb" id="Snippet4"::: ]]> @@ -594,7 +594,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint16.vb" id="Snippet3"::: ]]> @@ -666,7 +666,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint32.vb" id="Snippet2"::: ]]> @@ -738,7 +738,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/FS/bytesint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.SInts/VB/bytesint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesint64.vb" id="Snippet1"::: ]]> @@ -810,7 +810,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytessingle.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/FS/bytessingle.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.Others/VB/bytessingle.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytessingle.vb" id="Snippet3"::: ]]> @@ -923,7 +923,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint16.vb" id="Snippet3"::: ]]> @@ -995,7 +995,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint32.vb" id="Snippet2"::: ]]> @@ -1067,7 +1067,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/GetBytes/bytesuint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/FS/bytesuint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.GetBytes.UInts/VB/bytesuint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/GetBytes/bytesuint64.vb" id="Snippet1"::: ]]> @@ -1302,7 +1302,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/DoubleToInt64Bits/bitstodbl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/FS/bitstodbl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.DoubleInt64/VB/bitstodbl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/DoubleToInt64Bits/bitstodbl.vb" id="Snippet1"::: ]]> @@ -1366,7 +1366,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/Overview/littleend.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.Class/FS/littleend.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.Class/VB/littleend.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/Overview/littleend.vb" id="Snippet2"::: ]]> @@ -1564,7 +1564,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batobool.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batobool.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batobool.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batobool.vb" id="Snippet1"::: ]]> @@ -1679,7 +1679,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batochar.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batochar.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batochar.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batochar.vb" id="Snippet2"::: ]]> @@ -1802,7 +1802,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batodouble.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batodouble.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batodouble.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batodouble.vb" id="Snippet3"::: ]]> @@ -2090,7 +2090,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt16/batoint16.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/FS/batoint16.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint16.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt16/batoint16.vb" id="Snippet1"::: ]]> @@ -2213,7 +2213,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt32/toint32.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.bitconverter.toint32/fs/toint32.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.bitconverter.toint32/vb/toint32.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt32/toint32.vb" id="Snippet1"::: ]]> @@ -2336,7 +2336,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToInt16/batoint64.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/FS/batoint64.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.SInts/VB/batoint64.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToInt16/batoint64.vb" id="Snippet3"::: ]]> @@ -2459,7 +2459,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToBoolean/batosingle.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/FS/batosingle.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.Others/VB/batosingle.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToBoolean/batosingle.vb" id="Snippet4"::: ]]> @@ -2543,7 +2543,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostring.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostring.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostring.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostring.vb" id="Snippet1"::: ]]> @@ -2612,7 +2612,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostringii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostringii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb" id="Snippet2"::: ]]> @@ -2685,7 +2685,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToString/batostringii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToString/FS/batostringii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToString/VB/batostringii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToString/batostringii.vb" id="Snippet2"::: ]]> @@ -2908,7 +2908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint16.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint16.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint16.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint16.vb" id="Snippet1"::: ]]> @@ -3037,7 +3037,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint32.vb" id="Snippet2"::: ]]> @@ -3166,7 +3166,7 @@ :::code language="csharp" source="~/snippets/csharp/System/BitConverter/ToUInt16/batouint64.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/FS/batouint64.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.BitConverter.ToXXX.UInts/VB/batouint64.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/BitConverter/ToUInt16/batouint64.vb" id="Snippet3"::: ]]> diff --git a/xml/System/Boolean.xml b/xml/System/Boolean.xml index aa16e1888d6..4273eb022bd 100644 --- a/xml/System/Boolean.xml +++ b/xml/System/Boolean.xml @@ -701,7 +701,7 @@ The following code example illustrates the use of :::code language="csharp" source="~/snippets/csharp/System/Boolean/Parse/booleanmembers.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/Parse/booleanmembers.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb" id="Snippet2"::: ]]> @@ -1972,7 +1972,7 @@ The following example illustrates the method. :::code language="csharp" source="~/snippets/csharp/System/Boolean/Parse/booleanmembers.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/Parse/booleanmembers.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Boolean/VB/booleanmembers.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/Parse/booleanmembers.vb" id="Snippet1"::: ]]> @@ -2262,7 +2262,7 @@ The following example calls the method to pars :::code language="csharp" source="~/snippets/csharp/System/Boolean/TryParse/tryparseex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Boolean/TryParse/tryparseex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.boolean.tryparse/vb/tryparseex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Boolean/TryParse/tryparseex.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Buffer.xml b/xml/System/Buffer.xml index 24154408605..f298351871e 100644 --- a/xml/System/Buffer.xml +++ b/xml/System/Buffer.xml @@ -78,7 +78,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/buffer.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/buffer.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/buffer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/buffer.vb" id="Snippet1"::: ]]> @@ -155,20 +155,20 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/overlap1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/overlap1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/overlap1.vb" id="Snippet3"::: In the following example, the values of bytes 12-28 in an array named `arr` are copied to bytes 0-16. Again, despite the overlapping range, the values of the source bytes are successfully copied. :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/overlap1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/overlap1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/overlap1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/overlap1.vb" id="Snippet4"::: ## Examples The following example copies regions of arrays by using the method. For each operation, it lists the source and destination arrays as both an array of values and as a sequence of bytes. The example illustrates the importance of considering a system's endianness when working with the method: Because Windows systems are little-endian, the lower-order bytes of a primitive data type's value precede the higher-order bytes. :::code language="csharp" source="~/snippets/csharp/System/Buffer/Overview/bcopy.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.BlockCopy/FS/bcopy.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.BlockCopy/VB/bcopy.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/Overview/bcopy.vb" id="Snippet2"::: ]]> @@ -248,7 +248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/bytelength.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/bytelength.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/bytelength.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/bytelength.vb" id="Snippet1"::: ]]> @@ -327,7 +327,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/getbyte.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/getbyte.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/getbyte.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/getbyte.vb" id="Snippet3"::: ]]> @@ -560,7 +560,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Buffer/ByteLength/setbyte.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Buffer.Bytes/FS/setbyte.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Buffer.Bytes/VB/setbyte.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Buffer/ByteLength/setbyte.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Byte.xml b/xml/System/Byte.xml index 599cf55dfb1..f9ba103118b 100644 --- a/xml/System/Byte.xml +++ b/xml/System/Byte.xml @@ -491,7 +491,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet3"::: ]]> @@ -723,7 +723,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Equals/eq.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.byte.equals/fs/eq.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.byte.equals/vb/eq.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Equals/eq.vb" id="Snippet1"::: ]]> @@ -1261,7 +1261,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet1"::: ]]> @@ -1372,7 +1372,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/CompareTo/systembyte.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte Examples/FS/systembyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte Examples/VB/systembyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/CompareTo/systembyte.vb" id="Snippet1"::: ]]> @@ -1466,7 +1466,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet1"::: ]]> @@ -1680,7 +1680,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet3"::: ]]> @@ -1797,7 +1797,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet2"::: ]]> @@ -2033,7 +2033,7 @@ For , this method matches the IEEE 754: :::code language="csharp" source="~/snippets/csharp/System/Byte/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.Parse/FS/parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.Parse/VB/parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/Parse/parse.vb" id="Snippet4"::: ]]> @@ -6075,7 +6075,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet2"::: ]]> @@ -6175,7 +6175,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet3"::: ]]> @@ -6270,7 +6270,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet4"::: ]]> @@ -6375,7 +6375,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/ToString/NewByteMembers.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.ToString/FS/NewByteMembers.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.ToString/VB/NewByteMembers.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/ToString/NewByteMembers.vb" id="Snippet5"::: ]]> @@ -6738,7 +6738,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/TryParse/TryParse.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.TryParse/fs/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -7108,7 +7108,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Byte/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Byte.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Byte.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Byte/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Char.xml b/xml/System/Char.xml index 28c83a561b6..45cc9356623 100644 --- a/xml/System/Char.xml +++ b/xml/System/Char.xml @@ -263,7 +263,7 @@ The following code example demonstrates some of the methods in All members of this type are thread safe. Members that appear to modify instance state actually return a new instance initialized with the new value. As with any other type, reading and writing to a shared variable that contains an instance of this type must be protected by a lock to guarantee thread safety. @@ -464,7 +464,7 @@ The following code example demonstrates some of the methods in @@ -840,7 +840,7 @@ The following code example demonstrates some of the methods in @@ -964,7 +964,7 @@ The following code example demonstrates some of the methods in @@ -1048,7 +1048,7 @@ The following code example demonstrates some of the methods in @@ -1129,7 +1129,7 @@ The following code example demonstrates some of the methods in @@ -1788,7 +1788,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsControl/IsControl1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsControl/FS/IsControl1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsControl/IsControl1.vb" id="Snippet1"::: ]]> @@ -1858,7 +1858,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsControl/IsControl2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsControl/FS/IsControl2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsControl/VB/IsControl2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsControl/IsControl2.vb" id="Snippet2"::: ]]> @@ -1889,7 +1889,7 @@ The method does not validate that `maxInclusive` is greater than or equal :::code language="csharp" source="~/snippets/csharp/System/Char/IsDigit/isdigit.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsDigit/FS/isdigit.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsDigit/VB/isdigit.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsDigit/isdigit.vb" id="Snippet4"::: ]]> @@ -2211,7 +2211,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLetter/isletter.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLetter/FS/isletter.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetter/VB/isletter.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLetter/isletter.vb" id="Snippet5"::: ]]> @@ -2389,7 +2389,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLetterOrDigit/isletterordigit.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/FS/isletterordigit.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLetterOrDigit/VB/isletterordigit.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLetterOrDigit/isletterordigit.vb" id="Snippet6"::: ]]> @@ -2551,7 +2551,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsLower/islower.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsLower/FS/islower.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsLower/VB/islower.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsLower/islower.vb" id="Snippet7"::: ]]> @@ -2914,7 +2914,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb" id="Snippet1"::: @@ -2923,7 +2923,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber.vb" id="Snippet8"::: ]]> @@ -3004,7 +3004,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber1.vb" id="Snippet2"::: @@ -3013,7 +3013,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsNumber/isnumber.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsNumber/FS/isnumber.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsNumber/VB/isnumber.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsNumber/isnumber.vb" id="Snippet8"::: ]]> @@ -3143,7 +3143,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsPunctuation/ispunctuation.cs" interactive="try-dotnet" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsPunctuation/FS/ispunctuation.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsPunctuation/VB/ispunctuation.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsPunctuation/ispunctuation.vb" id="Snippet9"::: ]]> @@ -3571,7 +3571,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSeparator/isseparator1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSeparator/FS/isseparator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSeparator/isseparator1.vb" id="Snippet1"::: ]]> @@ -3658,7 +3658,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSeparator/isseparator.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSeparator/FS/isseparator.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSeparator/VB/isseparator.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSeparator/isseparator.vb" id="Snippet10"::: ]]> @@ -3689,7 +3689,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSurrogate/issurrogate.cs" interactive="try-dotnet" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSurrogate/FS/issurrogate.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSurrogate/VB/issurrogate.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSurrogate/issurrogate.vb" id="Snippet11"::: ]]> @@ -4015,7 +4015,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsSymbol/issymbol.cs" interactive="try-dotnet" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsSymbol/FS/issymbol.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsSymbol/VB/issymbol.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsSymbol/issymbol.vb" id="Snippet12"::: ]]> @@ -4365,7 +4365,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/IsWhiteSpace/iswhitespace.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/FS/iswhitespace.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.IsWhiteSpace/VB/iswhitespace.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/IsWhiteSpace/iswhitespace.vb" id="Snippet14"::: ]]> @@ -4683,7 +4683,7 @@ The following code example demonstrates . :::code language="csharp" source="~/snippets/csharp/System/Char/Parse/parse.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.Parse/FS/parse.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.Parse/VB/parse.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/Parse/parse.vb" id="Snippet15"::: ]]> @@ -9181,7 +9181,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToLower/tolower.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.ToLower/FS/tolower.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToLower/VB/tolower.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToLower/tolower.vb" id="Snippet16"::: ]]> @@ -9405,7 +9405,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToString/tostring.cs" interactive="try-dotnet" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Char.ToString/FS/tostring.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Char.ToString/VB/tostring.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToString/tostring.vb" id="Snippet17"::: ]]> @@ -9663,7 +9663,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToUpper/toupper1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.char.toupper/fs/toupper1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToUpper/toupper1.vb" id="Snippet1"::: ]]> @@ -9739,7 +9739,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Char/ToUpper/toupper5.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.char.toupper/fs/toupper5.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.char.toupper/vb/toupper5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Char/ToUpper/toupper5.vb" id="Snippet2"::: ]]> diff --git a/xml/System/CharEnumerator.xml b/xml/System/CharEnumerator.xml index 42064ab1eb7..5960bb4745c 100644 --- a/xml/System/CharEnumerator.xml +++ b/xml/System/CharEnumerator.xml @@ -100,13 +100,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> @@ -239,13 +239,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> @@ -364,13 +364,13 @@ :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet1"::: Note, however, that the same operation can be performed somewhat more intuitively by using `foreach` (in C#) or `For Each` (in Visual Basic), as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/CharEnumerator/Overview/CharEnumerator1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.CharEnumerator.Class/fs/CharEnumerator1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.CharEnumerator.Class/vb/CharEnumerator1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/CharEnumerator/Overview/CharEnumerator1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Comparison`1.xml b/xml/System/Comparison`1.xml index fa4e2613f88..22b2c2c507a 100644 --- a/xml/System/Comparison`1.xml +++ b/xml/System/Comparison`1.xml @@ -116,7 +116,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ComparisonT/Overview/comparisont1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.comparison`1/fs/comparisont1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.comparison`1/vb/comparisont1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ComparisonT/Overview/comparisont1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Console.xml b/xml/System/Console.xml index f5401098e5e..37af4528a86 100644 --- a/xml/System/Console.xml +++ b/xml/System/Console.xml @@ -130,7 +130,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/backgroundcolor1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.backgroundcolor/fs/backgroundcolor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.backgroundcolor/vb/backgroundcolor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/backgroundcolor1.vb" id="Snippet1"::: A get operation for a Windows-based application, in which a console does not exist, returns . Unix systems don't provide any general mechanism to fetch the current console colors. Because of that, returns `(ConsoleColor)-1` until it is set in explicit way (using the setter). @@ -141,7 +141,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -740,7 +740,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Clear/clear1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.clear/fs/clear1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.clear/vb/clear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Clear/clear1.vb" id="Snippet1"::: The example relies on a `GetKeyPress` method to validate the user's selection of a foreground and background color. @@ -1157,7 +1157,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Error/error1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.error/fs/error1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.error/vb/error1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/error1.vb" id="Snippet1"::: @@ -1172,7 +1172,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/Error/viewtextfile.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.openstandarderror/fs/viewtextfile.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/viewtextfile.vb" id="Snippet1"::: Note that the property is set to `true` before reacquiring the error stream. This ensures that output will be sent to the console immediately rather than buffered. @@ -1262,13 +1262,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/Example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/Example2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/Example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/Example2.vb" id="Snippet2"::: The following example saves the values of the enumeration to an array and stores the current values of the and properties to variables. It then changes the foreground color to each color in the enumeration except to the color that matches the current background, and it changes the background color to each color in the enumeration except to the color that matches the current foreground. (If the foreground color is the same as the background color, the text isn't visible.) Finally, it calls the method to restore the original console colors. :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -2171,7 +2171,7 @@ Columns are numbered from left to right starting at 0. Rows are numbered from to :::code language="csharp" source="~/snippets/csharp/System/Console/Error/viewtextfile.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.openstandarderror/fs/viewtextfile.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.openstandarderror/vb/viewtextfile.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Error/viewtextfile.vb" id="Snippet1"::: Note that the property is set to `true` before reacquiring the error stream. This ensures that output will be sent to the console immediately rather than buffered. @@ -2320,7 +2320,7 @@ The following example illustrates the use of the `OpenStandardInput` method. :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardInput/decode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/FS/decode.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardInput/decode.vb" id="Snippet1"::: ]]> @@ -2460,7 +2460,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -2524,7 +2524,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -2595,7 +2595,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Out/out1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.out/fs/out1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.out/vb/out1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Out/out1.vb" id="Snippet1"::: ]]> @@ -2854,7 +2854,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/ReadKey1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Console.ReadKey/fs/ReadKey1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/ReadKey1.vb" id="Snippet1"::: Note that this overload of the method by default echoes any displayable keys that the user presses to the console. To suppress them, call the method with an `intercept` argument of `true`. @@ -2954,7 +2954,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadKey/ReadKey2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Console.ReadKey/fs/ReadKey2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Console.ReadKey/vb/ReadKey2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadKey/ReadKey2.vb" id="Snippet2"::: The following example uses the method to display information about the key pressed by a user without echoing that key to the console. @@ -3034,7 +3034,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLineSimple.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLineSimple.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLineSimple.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLineSimple.vb" id="Snippet6"::: - If standard input is redirected to a file, the method reads a line of text from a file. For example, the following is a text file named ReadLine1.txt: @@ -3051,7 +3051,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLine3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLine3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLine3.vb" id="Snippet3"::: After compiling the example to an executable named ReadLine1.exe, you can run it from the command line to read the contents of the file and display them to the console. The syntax is: @@ -3069,14 +3069,14 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/ReadLine/ReadLine2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.ReadLine/fs/ReadLine2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.ReadLine/vb/ReadLine2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/ReadLine/ReadLine2.vb" id="Snippet1"::: ## Examples The following example requires two command line arguments: the name of an existing text file, and the name of a file to write the output to. It opens the existing text file and redirects the standard input from the keyboard to that file. It also redirects the standard output from the console to the output file. It then uses the method to read each line in the file, replaces every sequence of four spaces with a tab character, and uses the method to write the result to the output file. :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -3161,7 +3161,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> @@ -3414,7 +3414,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetError/SetError1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.SetError/fs/SetError1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.SetError/vb/SetError1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetError/SetError1.vb" id="Snippet1"::: ]]> @@ -3504,7 +3504,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -3573,7 +3573,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/SetOut/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.setout/fs/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.setout/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/SetOut/source.vb" id="Snippet1"::: The actual object returned by may be a synchronized wrapper around the provided text writer. @@ -3582,7 +3582,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/OpenStandardOutput/inserttabs.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-INSERTTABS/FS/inserttabs.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-INSERTTABS/VB/inserttabs.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/OpenStandardOutput/inserttabs.vb" id="Snippet1"::: ]]> @@ -4143,7 +4143,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WindowLeft/windowleft1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.windowleft/fs/windowleft1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.windowleft/vb/windowleft1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WindowLeft/windowleft1.vb" id="Snippet1"::: ]]> @@ -4417,7 +4417,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4477,7 +4477,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4592,7 +4592,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4657,7 +4657,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4722,7 +4722,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4787,7 +4787,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4853,7 +4853,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -4945,7 +4945,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5011,7 +5011,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5082,7 +5082,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5153,7 +5153,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5257,7 +5257,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5366,7 +5366,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/WriteParams1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.write/fs/WriteParams1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/WriteParams1.vb" id="Snippet1"::: Note that the example calls the method rather than the method because it attempts to display the value of the `Person.Remarks` property on the same line. To do this, it examines the value of the and properties to determine whether there is enough space for the remark to fit. If there is, it displays the line. If not, it writes a line, indents three spaces, and displays the remark. @@ -5374,7 +5374,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/WriteParams2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.console.write/fs/WriteParams2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.console.write/vb/WriteParams2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/WriteParams2.vb" id="Snippet2"::: ]]> @@ -5603,7 +5603,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5713,7 +5713,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/Write/reformat.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console-REFORMAT/FS/reformat.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console-REFORMAT/VB/reformat.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/Write/reformat.vb" id="Snippet1"::: ]]> @@ -5893,7 +5893,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/newline1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/newline1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/newline1.vb" id="Snippet2"::: ]]> @@ -5962,7 +5962,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/writeline_boolean1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/writeline_boolean1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_boolean1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/writeline_boolean1.vb" id="Snippet4"::: ]]> @@ -6027,7 +6027,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6151,7 +6151,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6218,7 +6218,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6285,7 +6285,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6352,7 +6352,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6420,7 +6420,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/writeline_obj1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/writeline_obj1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/writeline_obj1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/writeline_obj1.vb" id="Snippet3"::: ]]> @@ -6514,7 +6514,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6582,7 +6582,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/newline1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/newline1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/newline1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/newline1.vb" id="Snippet2"::: ]]> @@ -6655,7 +6655,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6728,7 +6728,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -6828,13 +6828,13 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/WriteLine6.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/WriteLine6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/WriteLine6.vb" id="Snippet6"::: The following example calls the method to display the current date. Note that the format item in the `format` argument uses the "D" [standard date and time format string](/dotnet/standard/base-types/standard-date-and-time-format-strings) to display the date in the long date format of the current culture. :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/WriteLine7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/WriteLine7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/WriteLine7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/WriteLine7.vb" id="Snippet7"::: ]]> @@ -6949,7 +6949,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -7182,7 +7182,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> @@ -7294,7 +7294,7 @@ This method can be used to reacquire the standard output stream after it has bee :::code language="csharp" source="~/snippets/csharp/System/Console/WriteLine/tipcalc.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Console.WriteLine/FS/tipcalc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.WriteLine/VB/tipcalc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/WriteLine/tipcalc.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleColor.xml b/xml/System/ConsoleColor.xml index 1066b439525..f877279391a 100644 --- a/xml/System/ConsoleColor.xml +++ b/xml/System/ConsoleColor.xml @@ -57,7 +57,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Console/BackgroundColor/foregroundcolor3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolecolor/fs/foregroundcolor3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolecolor/vb/foregroundcolor3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Console/BackgroundColor/foregroundcolor3.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleKey.xml b/xml/System/ConsoleKey.xml index 2ada2cca609..17e3ebab3ba 100644 --- a/xml/System/ConsoleKey.xml +++ b/xml/System/ConsoleKey.xml @@ -60,7 +60,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKey/Overview/ConsoleKey1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKey/fs/ConsoleKey1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKey/vb/ConsoleKey1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKey/Overview/ConsoleKey1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ConsoleKeyInfo.xml b/xml/System/ConsoleKeyInfo.xml index 891effcec0d..e8b4eddde24 100644 --- a/xml/System/ConsoleKeyInfo.xml +++ b/xml/System/ConsoleKeyInfo.xml @@ -282,7 +282,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/Equals/equals.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/fs/equals.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.Equals/vb/equals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/Equals/equals.vb" id="Snippet1"::: ]]> @@ -340,7 +340,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/GetHashCode/hash.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/fs/hash.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ConsoleKeyInfo.GetHashcode/vb/hash.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/GetHashCode/hash.vb" id="Snippet1"::: ]]> @@ -449,7 +449,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ConsoleKeyInfo/KeyChar/keychar1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/fs/keychar1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.consolekeyinfo.keychar/vb/keychar1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ConsoleKeyInfo/KeyChar/keychar1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Convert.xml b/xml/System/Convert.xml index 8306c286f29..292fa4dc5f4 100644 --- a/xml/System/Convert.xml +++ b/xml/System/Convert.xml @@ -198,13 +198,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_enum2.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_enum2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb" id="Snippet5"::: The method can convert a nullable type to another type. However, it cannot convert another type to a value of a nullable type, even if is the underlying type of the .To perform the conversion, you can use a casting operator (in C#) or a conversion function (in Visual Basic). The following example illustrates the conversion to and from a nullable type. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_nullable.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_nullable.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable.vb" id="Snippet7"::: @@ -281,7 +281,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype01.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype01.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype01.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype01.vb" id="Snippet2"::: ]]> @@ -389,13 +389,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype03.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype03.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb" id="Snippet3"::: The following example creates an instance of the `Temperature` class and calls the method to convert it to the basic numeric types supported by .NET and to a . It illustrates that the method wraps a call to the source type's implementation. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype03.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype03.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype03.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype03.vb" id="Snippet4"::: ]]> @@ -419,13 +419,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_enum2.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_enum2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_enum2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_enum2.vb" id="Snippet5"::: The method can convert a nullable type to another type. However, it cannot convert another type to a value of a nullable type, even if is the underlying type of the . To perform the conversion, you can use a casting operator (in C#) or a conversion function (in Visual Basic). The following example illustrates the conversion to and from a nullable type. :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype_nullable_1.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype_nullable_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype_nullable_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype_nullable_1.vb" id="Snippet8"::: @@ -506,7 +506,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ChangeType/changetype00.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ChangeType/changetype00.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.changetype/vb/changetype00.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ChangeType/changetype00.vb" id="Snippet1"::: ]]> @@ -581,7 +581,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/DBNull/dbnull1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/DBNull/dbnull1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.dbnull/vb/dbnull1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/DBNull/dbnull1.vb" id="Snippet1"::: ]]> @@ -667,7 +667,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/class1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/class1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb" id="Snippet3"::: The following example demonstrates the and methods. The input is divided into groups of three bytes (24 bits) each. Consequently, each group consists of four 6-bit numbers where each number ranges from decimal 0 to 63. In this example, there are 85 3-byte groups with one byte remaining. The first group consists of the hexadecimal values 00, 01, and 02, which yield four 6-bit values equal to decimal 0, 0, 4, and 2. Those four values correspond to the base-64 digits, "A", "A", "E", and "C", at the beginning of the output. @@ -770,13 +770,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb" id="Snippet1"::: The following is a more complex example that creates a 20-element array of 32-bit integers. It then uses the method to convert each element into a byte array, which it stores in the appropriate position in a buffer by calling the method. This buffer is then passed to the method to create a UUencoded (base-64) string. It then calls the method to decode the UUencoded string, and calls the method to convert each set of four bytes (the size of a 32-bit integer) to an integer. The output from the example shows that the original array has been successfully restored. :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb" id="Snippet2"::: ]]> @@ -1084,7 +1084,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/IsDBNull/Form1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/IsDBNull/Form1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb" id="Snippet1"::: > [!NOTE] > is used to indicate a value that is missing. It is not equivalent to `null` or to . Therefore, code such as `Convert.IsDBNull(null)` in C# or `Convert.IsDBNull(Nothing)` in Visual Basic returns`false`. @@ -1096,7 +1096,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/IsDBNull/Form1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/IsDBNull/Form1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.IsDBNull/vb/Form1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/IsDBNull/Form1.vb" id="Snippet2"::: ]]> @@ -1193,7 +1193,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/FromBase64CharArray/class1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/FromBase64CharArray/class1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert UUEncodeDecode functions/VB/class1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/FromBase64CharArray/class1.vb" id="Snippet2"::: ]]> @@ -1406,13 +1406,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String2.vb" id="Snippet1"::: The following is a more complex example that creates a 20-element array of 32-bit integers. It then uses the method to convert each element into a byte array, which it stores in the appropriate position in a buffer by calling the method. This buffer is then passed to the method to create a UUencoded (base-64) string. It then calls the method to decode the UUencoded string, and calls the method to convert each set of four bytes (the size of a 32-bit integer) to an integer. The output from the example shows that the original array has been successfully restored. :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String.vb" id="Snippet2"::: ]]> @@ -1495,7 +1495,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Base64FormattingOptions/Overview/ToBase64String3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Base64FormattingOptions/Overview/ToBase64String3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Convert.ToBase64String/vb/ToBase64String3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Base64FormattingOptions/Overview/ToBase64String3.vb" id="Snippet3"::: As the output from the example shows, the succeeds in restoring the original byte array; the line break characters are ignored during the conversion. @@ -1865,7 +1865,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet12"::: ]]> @@ -1975,7 +1975,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet20"::: ]]> @@ -2039,7 +2039,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet2"::: ]]> @@ -2103,7 +2103,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet1"::: ]]> @@ -2167,7 +2167,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet3"::: ]]> @@ -2231,7 +2231,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet4"::: ]]> @@ -2295,7 +2295,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet5"::: ]]> @@ -2367,7 +2367,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet11"::: ]]> @@ -2445,7 +2445,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet6"::: ]]> @@ -2509,7 +2509,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet7"::: ]]> @@ -2588,7 +2588,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/ToBoolean1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/ToBoolean1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/ToBoolean1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/ToBoolean1.vb" id="Snippet1"::: ]]> @@ -2660,7 +2660,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet8"::: ]]> @@ -2730,7 +2730,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet9"::: ]]> @@ -2800,7 +2800,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/toboolean2.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/toboolean2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToBoolean/vb/toboolean2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/toboolean2.vb" id="Snippet10"::: ]]> @@ -2879,7 +2879,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -3034,7 +3034,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet1"::: ]]> @@ -3151,7 +3151,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet2"::: ]]> @@ -3265,7 +3265,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet18"::: ]]> @@ -3330,7 +3330,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet2"::: ]]> @@ -3394,7 +3394,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet3"::: ]]> @@ -3458,7 +3458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet4"::: ]]> @@ -3522,7 +3522,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet5"::: ]]> @@ -3592,7 +3592,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet6"::: ]]> @@ -3670,7 +3670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet7"::: ]]> @@ -3735,7 +3735,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet19"::: ]]> @@ -3806,7 +3806,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/ToByte5.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/ToByte5.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte5.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte5.vb" id="Snippet15"::: ]]> @@ -3879,7 +3879,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet8"::: ]]> @@ -3949,7 +3949,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet9"::: ]]> @@ -4019,7 +4019,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte1.vb" id="Snippet10"::: ]]> @@ -4091,13 +4091,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte3.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte3.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb" id="Snippet12"::: The following example instantiates several `ByteString` objects and calls the method to convert them to byte values. It illustrates that the method wraps a call to the method of the object to be converted. :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte3.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte3.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte3.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte3.vb" id="Snippet13"::: ]]> @@ -4179,7 +4179,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte4.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte4.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte4.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte4.vb" id="Snippet14"::: ]]> @@ -4251,13 +4251,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet3"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use unsigned binary representation when it converts a hexadecimal string representation to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value back to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the value is negative and that it uses two's complement instead of unsigned binary representation), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet4"::: @@ -4266,7 +4266,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Byte/Overview/tobyte2.cs" interactive="try-dotnet" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Byte/Overview/tobyte2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tobyte/vb/tobyte2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/tobyte2.vb" id="Snippet11"::: ]]> @@ -4403,7 +4403,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet1"::: ]]> @@ -4560,7 +4560,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet17"::: ]]> @@ -4672,7 +4672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet2"::: ]]> @@ -4736,7 +4736,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet3"::: ]]> @@ -4800,7 +4800,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet8"::: ]]> @@ -4870,7 +4870,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet9"::: ]]> @@ -4948,7 +4948,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet4"::: ]]> @@ -5068,7 +5068,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet5"::: ]]> @@ -5139,7 +5139,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet6"::: ]]> @@ -5207,7 +5207,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet7"::: ]]> @@ -5277,7 +5277,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/tochar1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/tochar1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tochar/vb/tochar1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/tochar1.vb" id="Snippet8"::: ]]> @@ -5351,7 +5351,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -5440,7 +5440,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToChar/stringnonnum.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToChar/stringnonnum.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToNonNum_String/VB/stringnonnum.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToChar/stringnonnum.vb" id="Snippet2"::: ]]> @@ -5971,7 +5971,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime1.vb" id="Snippet1"::: ]]> @@ -6157,7 +6157,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime2.vb" id="Snippet2"::: ]]> @@ -6399,7 +6399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/todatetime4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/todatetime4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/todatetime4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/todatetime4.vb" id="Snippet4"::: ]]> @@ -6482,7 +6482,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDateTime/ToDateTime3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDateTime/ToDateTime3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDateTime/vb/ToDateTime3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDateTime/ToDateTime3.vb" id="Snippet3"::: ]]> @@ -6559,7 +6559,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet1"::: ]]> @@ -6622,7 +6622,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet18"::: ]]> @@ -6682,7 +6682,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet17"::: ]]> @@ -6847,7 +6847,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/ToDecimal1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/ToDecimal1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb" id="Snippet2"::: @@ -6856,7 +6856,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet5"::: ]]> @@ -6922,7 +6922,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet2"::: ]]> @@ -6985,7 +6985,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet3"::: ]]> @@ -7048,7 +7048,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet10"::: ]]> @@ -7117,7 +7117,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet4"::: ]]> @@ -7196,7 +7196,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet5"::: ]]> @@ -7259,7 +7259,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/ToDecimal1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/ToDecimal1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToDecimal/vb/ToDecimal1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/ToDecimal1.vb" id="Snippet1"::: @@ -7268,7 +7268,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet6"::: ]]> @@ -7339,7 +7339,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet15"::: ]]> @@ -7411,7 +7411,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet7"::: ]]> @@ -7480,7 +7480,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet8"::: ]]> @@ -7549,7 +7549,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal11.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal11.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal11.vb" id="Snippet9"::: ]]> @@ -7622,13 +7622,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal2.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb" id="Snippet10"::: The following example shows that when a `Temperature` object is passed as a parameter to the method, the implementation of the `Temperature` class is called to perform the conversion. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal2.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal2.vb" id="Snippet11"::: ]]> @@ -7713,7 +7713,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDecimal/todecimal3.cs" interactive="try-dotnet" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDecimal/todecimal3.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todecimal2/vb/todecimal3.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDecimal/todecimal3.vb" id="Snippet12"::: ]]> @@ -7791,7 +7791,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet1"::: ]]> @@ -7853,7 +7853,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet2"::: ]]> @@ -8014,7 +8014,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet5"::: ]]> @@ -8129,7 +8129,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet1"::: ]]> @@ -8191,7 +8191,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet3"::: ]]> @@ -8253,7 +8253,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet2"::: ]]> @@ -8321,7 +8321,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet3"::: ]]> @@ -8399,7 +8399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet4"::: ]]> @@ -8461,7 +8461,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet6"::: ]]> @@ -8532,7 +8532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/example8.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/example8.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/example8.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/example8.vb" id="Snippet8"::: ]]> @@ -8604,7 +8604,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet5"::: ]]> @@ -8672,7 +8672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet6"::: ]]> @@ -8740,7 +8740,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.todouble/vb/todouble1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble1.vb" id="Snippet7"::: ]]> @@ -8814,7 +8814,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -8894,7 +8894,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToDouble/todouble.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToDouble/todouble.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToReals_String/VB/todouble.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToDouble/todouble.vb" id="Snippet2"::: ]]> @@ -9248,7 +9248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet1"::: ]]> @@ -9310,7 +9310,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet2"::: ]]> @@ -9372,7 +9372,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet3"::: ]]> @@ -9486,7 +9486,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet4"::: ]]> @@ -9552,7 +9552,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet5"::: ]]> @@ -9670,7 +9670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet6"::: ]]> @@ -9734,7 +9734,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet7"::: ]]> @@ -9804,7 +9804,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet8"::: ]]> @@ -9882,7 +9882,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet9"::: ]]> @@ -9945,7 +9945,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet10"::: ]]> @@ -10019,7 +10019,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16.vb" id="Snippet3"::: ]]> @@ -10092,7 +10092,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet11"::: ]]> @@ -10162,7 +10162,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet12"::: ]]> @@ -10232,7 +10232,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_1.vb" id="Snippet13"::: ]]> @@ -10306,7 +10306,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -10384,7 +10384,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/toint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16.vb" id="Snippet3"::: ]]> @@ -10456,13 +10456,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet5"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first retrieving the sign of the numeric value before converting it to its hexadecimal string representation. Throw an exception if the original value was positive but the conversion back to an integer yields a negative value. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet6"::: @@ -10471,7 +10471,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/toint16_2.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/toint16_2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint16/vb/toint16_2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/toint16_2.vb" id="Snippet14"::: ]]> @@ -10561,7 +10561,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet1":::   ]]> @@ -10623,7 +10623,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet2":::   ]]> @@ -10690,7 +10690,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet3"::: ]]> @@ -10808,7 +10808,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet4":::   ]]> @@ -10874,7 +10874,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet5":::   ]]> @@ -10940,7 +10940,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet6":::   ]]> @@ -11054,7 +11054,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet7"::: ]]> @@ -11124,7 +11124,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet8"::: ]]> @@ -11202,7 +11202,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet9"::: ]]> @@ -11265,7 +11265,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet10"::: ]]> @@ -11339,7 +11339,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet11"::: ]]> @@ -11411,7 +11411,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet12"::: ]]> @@ -11479,7 +11479,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet13"::: ]]> @@ -11549,7 +11549,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_1.vb" id="Snippet14"::: ]]> @@ -11625,7 +11625,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -11705,7 +11705,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt32/toint32_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt32/toint32_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint32/vb/toint32_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt32/toint32_2.vb" id="Snippet15"::: ]]> @@ -11776,13 +11776,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet1"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first retrieving the sign of the numeric value before converting it to its hexadecimal string representation. Throw an exception if the original value was positive but the conversion back to an integer yields a negative value. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet2"::: ]]> @@ -11872,7 +11872,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet1"::: ]]> @@ -11934,7 +11934,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet2"::: ]]> @@ -11996,7 +11996,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet3"::: ]]> @@ -12108,7 +12108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet4"::: ]]> @@ -12180,7 +12180,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet5"::: ]]> @@ -12246,7 +12246,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet6"::: ]]> @@ -12360,7 +12360,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet7"::: ]]> @@ -12428,7 +12428,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet8"::: ]]> @@ -12506,7 +12506,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet9"::: ]]> @@ -12569,7 +12569,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet10"::: ]]> @@ -12643,7 +12643,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet11"::: ]]> @@ -12715,7 +12715,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet12"::: ]]> @@ -12783,7 +12783,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet13"::: ]]> @@ -12851,7 +12851,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_1.vb" id="Snippet14"::: ]]> @@ -12927,7 +12927,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/objectifp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/objectifp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToXXX_Object_IFP/VB/objectifp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/objectifp.vb" id="Snippet1"::: ]]> @@ -13011,7 +13011,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_3.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_3.vb" id="Snippet16"::: ]]> @@ -13082,19 +13082,19 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet7"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first determining whether a value represents an unsigned or a signed type when converting it to its hexadecimal string representation. Throw an exception if the original value was an unsigned type but the conversion back to an integer yields a value whose sign bit is on. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet8"::: The following example attempts to interpret each element in a string array as a hexadecimal string and convert it to a long integer. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt64/toint64_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt64/toint64_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.toint64/vb/toint64_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt64/toint64_2.vb" id="Snippet15"::: ]]> @@ -13190,7 +13190,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet1"::: ]]> @@ -13258,7 +13258,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet2"::: ]]> @@ -13328,7 +13328,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet3"::: ]]> @@ -13454,7 +13454,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet4"::: ]]> @@ -13526,7 +13526,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet5"::: ]]> @@ -13598,7 +13598,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet6"::: ]]> @@ -13668,7 +13668,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet7"::: ]]> @@ -13738,7 +13738,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet8"::: ]]> @@ -13814,7 +13814,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet9"::: ]]> @@ -13951,7 +13951,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet9"::: ]]> @@ -14031,7 +14031,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/tosbyte.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/tosbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb" id="Snippet4"::: ]]> @@ -14104,7 +14104,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet11"::: ]]> @@ -14174,7 +14174,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet12"::: ]]> @@ -14244,7 +14244,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte1.vb" id="Snippet13"::: ]]> @@ -14324,13 +14324,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb" id="Snippet14"::: The following example shows how the implementation of the `ByteString` class is called by the method. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte2.vb" id="Snippet15"::: ]]> @@ -14425,7 +14425,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToInt16/tosbyte.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToInt16/tosbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToSInts_String/VB/tosbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToInt16/tosbyte.vb" id="Snippet4"::: ]]> @@ -14505,13 +14505,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet9"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method is using the appropriate numeric representation to interpret a particular value. As the following example illustrates, you can ensure that the method handles overflows appropriately by first determining whether a value represents an unsigned or a signed type when converting it to its hexadecimal string representation. Throw an exception if the original value was an unsigned type but the conversion back to a signed byte yields a value whose sign bit is on. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet10"::: @@ -14520,7 +14520,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSByte/tosbyte3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSByte/tosbyte3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosbyte/vb/tosbyte3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSByte/tosbyte3.vb" id="Snippet16"::: ]]> @@ -14610,7 +14610,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet1"::: ]]> @@ -14672,7 +14672,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet2"::: ]]> @@ -14835,7 +14835,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet3"::: ]]> @@ -14900,7 +14900,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet4"::: ]]> @@ -14964,7 +14964,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet5"::: ]]> @@ -15026,7 +15026,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet6"::: ]]> @@ -15088,7 +15088,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet7"::: ]]> @@ -15156,7 +15156,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet8"::: ]]> @@ -15234,7 +15234,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet9"::: ]]> @@ -15357,7 +15357,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet10"::: ]]> @@ -15429,7 +15429,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet11"::: ]]> @@ -15497,7 +15497,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet12"::: ]]> @@ -15565,7 +15565,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle1.vb" id="Snippet13"::: ]]> @@ -15639,13 +15639,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle2.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb" id="Snippet14"::: The following example illustrates how a call to the method, in turn, calls the implementation of the `Temperature` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle2.vb" id="Snippet15"::: ]]> @@ -15725,7 +15725,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToSingle/tosingle3.cs" interactive="try-dotnet" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToSingle/tosingle3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tosingle/vb/tosingle3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToSingle/tosingle3.vb" id="Snippet16"::: ]]> @@ -15808,7 +15808,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/ToString_Bool1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/ToString_Bool1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString_Bool1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/ToString_Bool1.vb" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Convert.ToString/fs/ToString_Bool1.fs" id="Snippet1"::: ]]> @@ -15876,7 +15876,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/ToString.Byte1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/ToString.Byte1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/ToString.Byte1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/ToString.Byte1.vb" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Convert.ToString/fs/ToString_Byte1.fs" id="Snippet3"::: ]]> @@ -15944,7 +15944,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet14"::: ]]> @@ -16011,7 +16011,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -16078,7 +16078,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet15"::: ]]> @@ -16145,7 +16145,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToBoolean/system.convert snippet.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToBoolean/system.convert snippet.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert Snippets/VB/system.convert snippet.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToBoolean/system.convert snippet.vb" id="Snippet7"::: ]]> @@ -16212,7 +16212,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet2"::: ]]> @@ -16277,7 +16277,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring7.cs" interactive="try-dotnet" id="Snippet27"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring7.fs" id="Snippet27"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring7.vb" id="Snippet27"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring7.vb" id="Snippet27"::: ]]> @@ -16344,7 +16344,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring6.cs" interactive="try-dotnet-method" id="Snippet28"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring6.fs" id="Snippet28"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring6.vb" id="Snippet28"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring6.vb" id="Snippet28"::: ]]> @@ -16412,7 +16412,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet3"::: ]]> @@ -16485,7 +16485,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet4"::: ]]> @@ -16552,7 +16552,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet5"::: ]]> @@ -16619,7 +16619,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring_string1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring_string1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString/vb/tostring_string1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring_string1.vb" id="Snippet2"::: ]]> @@ -16692,7 +16692,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet6"::: ]]> @@ -16765,7 +16765,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet7"::: ]]> @@ -16838,7 +16838,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring1.vb" id="Snippet8"::: ]]> @@ -16915,7 +16915,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -16992,7 +16992,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet16"::: ]]> @@ -17067,7 +17067,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet9"::: ]]> @@ -17147,7 +17147,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -17224,7 +17224,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet13"::: ]]> @@ -17301,7 +17301,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet14"::: ]]> @@ -17378,7 +17378,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet15"::: ]]> @@ -17455,7 +17455,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet19"::: ]]> @@ -17530,7 +17530,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet10"::: ]]> @@ -17610,7 +17610,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet20"::: ]]> @@ -17685,7 +17685,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet11"::: ]]> @@ -17765,7 +17765,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet21"::: ]]> @@ -17840,7 +17840,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring2.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring2.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring2.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring2.vb" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.convert.tostring2/fs/tostring2.fs" id="Snippet12"::: ]]> @@ -17915,13 +17915,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring5.cs" interactive="try-dotnet" id="Snippet26"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring5.fs" id="Snippet26"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring5.vb" id="Snippet26"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring5.vb" id="Snippet26"::: The following example defines a `Temperature` class that implements the interface but does not implement the interface. Its implementation represents the `Temperature` value in Celsius, Fahrenheit, or Kelvin, depending on the format string. The example also defines a `TemperatureProvider` class that implements and provides a randomly generated format string that is used by the implementation of the `Temperature` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring_obj30.cs" interactive="try-dotnet" id="Snippet30"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring_obj30.fs" id="Snippet30"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring_obj30.vb" id="Snippet30"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring_obj30.vb" id="Snippet30"::: ]]> @@ -18004,7 +18004,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet17"::: ]]> @@ -18081,7 +18081,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet18"::: ]]> @@ -18150,7 +18150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/nonnumeric.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/nonnumeric.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.ToString.IFormatProvider/VB/nonnumeric.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/nonnumeric.vb" id="Snippet2"::: ]]> @@ -18233,7 +18233,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet22"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet22"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet22"::: ]]> @@ -18316,7 +18316,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet23"::: ]]> @@ -18399,7 +18399,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet24"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToString/tostring3.fs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.tostring2/vb/tostring3.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToString/tostring3.vb" id="Snippet24"::: ]]> @@ -18479,7 +18479,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet1"::: ]]> @@ -18547,7 +18547,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet2"::: ]]> @@ -18615,7 +18615,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet3"::: ]]> @@ -18739,7 +18739,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet4"::: ]]> @@ -18811,7 +18811,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet5"::: ]]> @@ -18883,7 +18883,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet6"::: ]]> @@ -18953,7 +18953,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet7"::: ]]> @@ -19023,7 +19023,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet8"::: ]]> @@ -19099,7 +19099,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet9"::: ]]> @@ -19177,7 +19177,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet10"::: ]]> @@ -19248,7 +19248,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet11"::: ]]> @@ -19328,7 +19328,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet12"::: ]]> @@ -19458,7 +19458,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet13"::: ]]> @@ -19528,7 +19528,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_1.vb" id="Snippet14"::: ]]> @@ -19610,13 +19610,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb" id="Snippet16"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_3.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_3.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_3.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_3.vb" id="Snippet17"::: ]]> @@ -19706,7 +19706,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_4.vb" id="Snippet18"::: ]]> @@ -19783,13 +19783,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet11"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet12"::: @@ -19798,7 +19798,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt16/touint16_2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt16/touint16_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint16/vb/touint16_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt16/touint16_2.vb" id="Snippet15"::: ]]> @@ -19894,7 +19894,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet1"::: ]]> @@ -19962,7 +19962,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet2"::: ]]> @@ -20030,7 +20030,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet3"::: ]]> @@ -20154,7 +20154,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet4"::: ]]> @@ -20226,7 +20226,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet5"::: ]]> @@ -20298,7 +20298,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet6"::: ]]> @@ -20368,7 +20368,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet7"::: ]]> @@ -20438,7 +20438,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet8"::: ]]> @@ -20514,7 +20514,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet9"::: ]]> @@ -20592,7 +20592,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet10"::: ]]> @@ -20663,7 +20663,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet11"::: ]]> @@ -20743,7 +20743,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet12"::: ]]> @@ -20815,7 +20815,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet13"::: ]]> @@ -20941,7 +20941,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_1.vb" id="Snippet14"::: ]]> @@ -21023,13 +21023,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_4.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_4.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb" id="Snippet17"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_4.vb" id="Snippet18"::: ]]> @@ -21119,7 +21119,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_2.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_2.vb" id="Snippet15"::: ]]> @@ -21196,13 +21196,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet13"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet14"::: @@ -21211,7 +21211,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt32/touint32_3.cs" interactive="try-dotnet-method" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt32/touint32_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint32/vb/touint32_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt32/touint32_3.vb" id="Snippet16"::: ]]> @@ -21307,7 +21307,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet1"::: ]]> @@ -21375,7 +21375,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet2"::: ]]> @@ -21443,7 +21443,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet3"::: ]]> @@ -21567,7 +21567,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet4"::: ]]> @@ -21643,7 +21643,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet5"::: ]]> @@ -21715,7 +21715,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet6"::: ]]> @@ -21785,7 +21785,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet7"::: ]]> @@ -21855,7 +21855,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet8"::: ]]> @@ -21931,7 +21931,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet9"::: ]]> @@ -22009,7 +22009,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet10"::: ]]> @@ -22080,7 +22080,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet11"::: ]]> @@ -22160,7 +22160,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet12"::: ]]> @@ -22232,7 +22232,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet13"::: ]]> @@ -22300,7 +22300,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_1.vb" id="Snippet14"::: ]]> @@ -22438,13 +22438,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_4.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_4.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb" id="Snippet17"::: The following example shows that a call to the method that passes a `HexString` object as a parameter, in turn, calls the implementation of the `HexString` class. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_4.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_4.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_4.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_4.vb" id="Snippet18"::: ]]> @@ -22534,7 +22534,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_2.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_2.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_2.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_2.vb" id="Snippet15"::: ]]> @@ -22611,13 +22611,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet15"::: When performing binary operations or numeric conversions, it is always the responsibility of the developer to verify that a method or operator is using the appropriate numeric representation to interpret a particular value. The following example illustrates one technique for ensuring that the method does not inappropriately use binary representation to interpret a value that uses two's complement representation when converting a hexadecimal string to a value. The example determines whether a value represents a signed or an unsigned integer while it is converting that value to its string representation. When the example converts the value to a value, it checks whether the original value was a signed integer. If so, and if its high-order bit is set (which indicates that the original value was negative), the method throws an exception. :::code language="csharp" source="~/snippets/csharp/System/Convert/ToByte/Conversion.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToByte/Conversion.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Convert.BaseConversion/vb/Conversion.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToByte/Conversion.vb" id="Snippet16"::: @@ -22626,7 +22626,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Convert/ToUInt64/touint64_3.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Convert/ToUInt64/touint64_3.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.convert.touint64/vb/touint64_3.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Convert/ToUInt64/touint64_3.vb" id="Snippet16"::: ]]> diff --git a/xml/System/DBNull.xml b/xml/System/DBNull.xml index 8d5067aa949..88d92952333 100644 --- a/xml/System/DBNull.xml +++ b/xml/System/DBNull.xml @@ -102,7 +102,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DBNull/Overview/DBNullExamples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DBNull.Class/fs/DBNullExamples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb" id="Snippet1"::: ]]> @@ -1246,7 +1246,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DBNull/Overview/DBNullExamples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DBNull.Class/fs/DBNullExamples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DBNull.Class/vb/DBNullExamples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DBNull/Overview/DBNullExamples.vb" id="Snippet1"::: ]]> diff --git a/xml/System/DateTime.xml b/xml/System/DateTime.xml index c12af809ab0..e48cdc584d3 100644 --- a/xml/System/DateTime.xml +++ b/xml/System/DateTime.xml @@ -404,7 +404,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet1"::: ]]> @@ -483,7 +483,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample2.vb" id="Snippet2"::: ]]> @@ -572,7 +572,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet3"::: ]]> @@ -668,7 +668,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet7"::: ]]> @@ -767,7 +767,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample4.vb" id="Snippet4"::: ]]> @@ -870,7 +870,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet5"::: ]]> @@ -973,7 +973,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample1.vb" id="Snippet8"::: ]]> @@ -1080,7 +1080,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample6.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample6.vb" id="Snippet6"::: ]]> @@ -1277,7 +1277,7 @@ For applications in which portability of date and time data or a limited degree :::code language="csharp" source="~/snippets/csharp/System/DateTime/.ctor/ctorexample9.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.constructor/fs/ctorexample9.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.constructor/vb/ctorexample9.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/.ctor/ctorexample9.vb" id="Snippet9"::: ]]> @@ -1797,7 +1797,7 @@ For applications in which portability of date and time data or a limited degree :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddHours/AddHours1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.AddHours/fs/AddHours1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.AddHours/vb/AddHours1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddHours/AddHours1.vb" id="Snippet1"::: ]]> @@ -1918,7 +1918,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMilliseconds/addmilliseconds2.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addmilliseconds/fs/addmilliseconds2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmilliseconds/vb/addmilliseconds2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMilliseconds/addmilliseconds2.vb" id="Snippet1"::: ]]> @@ -1988,7 +1988,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMinutes/addminutes1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addminutes/fs/addminutes1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addminutes/vb/addminutes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMinutes/addminutes1.vb" id="Snippet1"::: ]]> @@ -2060,7 +2060,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddMonths/addmonths1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addmonths/fs/addmonths1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addmonths/vb/addmonths1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddMonths/addmonths1.vb" id="Snippet1"::: ]]> @@ -2132,7 +2132,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddSeconds/addseconds1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addseconds/fs/addseconds1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addseconds/vb/addseconds1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddSeconds/addseconds1.vb" id="Snippet1"::: ]]> @@ -2265,7 +2265,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/AddYears/addyears1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.addyears/fs/addyears1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.addyears/vb/addyears1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/AddYears/addyears1.vb" id="Snippet1"::: ]]> @@ -2353,7 +2353,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Compare/compare1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.compare/fs/compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.compare/vb/compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Compare/compare1.vb" id="Snippet1"::: ]]> @@ -2629,7 +2629,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Date/Date1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Date/fs/Date1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Date/vb/Date1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Date/Date1.vb" id="Snippet1"::: ]]> @@ -2685,20 +2685,20 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/Day1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Day/fs/Day1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/Day1.vb" id="Snippet1"::: Similarly, the following example uses both the property and the method to retrieve the day of the month when the current culture is ar-SA, which uses Hijri as its default calendar. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/Day2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Day/fs/Day2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Day/vb/Day2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/Day2.vb" id="Snippet2"::: ## Examples The following example demonstrates the property. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -2828,7 +2828,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/DayOfYear/dayofyear2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.dayofyear/fs/dayofyear2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.dayofyear/vb/dayofyear2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DayOfYear/dayofyear2.vb" id="Snippet1"::: ]]> @@ -2904,7 +2904,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/DaysInMonth/daysinmonth3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.daysinmonth/fs/daysinmonth3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.daysinmonth/vb/daysinmonth3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/DaysInMonth/daysinmonth3.vb" id="Snippet1"::: ]]> @@ -3073,7 +3073,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Equals/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/fs/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Equals/sample.vb" id="Snippet1"::: ]]> @@ -3150,7 +3150,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Equals/sample.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/fs/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Equals-Instance/vb/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Equals/sample.vb" id="Snippet1"::: ]]> @@ -3360,7 +3360,7 @@ The value parameter is rounded to the nearest integer. :::code language="csharp" source="~/snippets/csharp/System/DateTime/FromFileTime/fromfiletime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.fromfiletime/fs/fromfiletime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb" id="Snippet1"::: @@ -4222,7 +4222,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Hour/Hour1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Hour/fs/Hour1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Hour/vb/Hour1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Hour/Hour1.vb" id="Snippet1"::: @@ -4231,7 +4231,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4357,7 +4357,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/IsLeapYear/IsLeapYear1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/fs/IsLeapYear1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.IsLeapYear/vb/IsLeapYear1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/IsLeapYear/IsLeapYear1.vb" id="Snippet1"::: ]]> @@ -4490,7 +4490,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet2"::: ]]> @@ -4583,19 +4583,19 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet1"::: You can also display the millisecond component together with the other components of a date and time value by using the "o" standard format specifier. For example: :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet2"::: However, the "o" format specifier is intended less for displaying than for round-tripping or storing a value. You can also display milliseconds together with other date and time components by using a custom format string, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Millisecond/Millisecond.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Millisecond/fs/Millisecond.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Millisecond/vb/Millisecond.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Millisecond/Millisecond.vb" id="Snippet3"::: @@ -4604,7 +4604,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4666,7 +4666,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4723,7 +4723,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet1"::: The and properties can be used to ensure that a value lies within the supported range before passing it to a constructor. The code in the Example section illustrates this usage. @@ -4734,7 +4734,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/MaxValue/MinValue.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.MinValue/fs/MinValue.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.MinValue/vb/MinValue.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/MaxValue/MinValue.vb" id="Snippet2"::: ]]> @@ -4790,7 +4790,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Day/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Minute etc/FS/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Minute etc/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Day/class1.vb" id="Snippet1"::: ]]> @@ -4876,7 +4876,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Now/now1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.now/fs/now1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Now/now1.vb" id="Snippet2"::: The resolution of this property depends on the system timer, which depends on the underlying operating system. It tends to be between 0.5 and 15 milliseconds. As a result, repeated calls to the property in a short time interval, such as in a loop, may return the same value. @@ -4894,7 +4894,7 @@ juillet 2009 :::code language="csharp" source="~/snippets/csharp/System/DateTime/Now/now2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.now/fs/now2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.now/vb/now2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Now/now2.vb" id="Snippet3"::: ]]> @@ -5613,7 +5613,7 @@ The following example parses strings in each of these formats by using the forma :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse6.cs"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse6.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse6.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse6.vb"::: If the input string represents a leap day in a leap year in the calendar used by the parsing method (see [Parsing and cultural conventions](#Culture)), the method parses the string successfully. If the input string represents a leap day in a non-leap year, the method throws a . @@ -5687,13 +5687,13 @@ The `DateTime.Parse` overloads return a value whose property during a formatting and parsing operation by using the flag. The following example illustrates how the flag affects the parsing operation on values that are converted to strings by using the "o", "r", or "u" format specifier. :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse5.vb" id="Snippet5"::: ## Examples @@ -5784,7 +5784,7 @@ It handles the exception that is thrown when the m :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -5928,7 +5928,7 @@ The following example parses an array of date strings by using the conventions o :::code language="csharp" source="~/snippets/csharp/System/DateTime/Parse/Parse3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Parse/fs/Parse3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Parse/vb/Parse3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/DateTime/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6082,7 +6082,7 @@ The following example demonstrates the @@ -6217,7 +6217,7 @@ The following example demonstrates the @@ -6482,7 +6482,7 @@ The following example demonstrates the @@ -6624,7 +6624,7 @@ The following example demonstrates the @@ -6713,7 +6713,7 @@ The following example demonstrates the @@ -7997,7 +7997,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/Ticks/Ticks.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Ticks/fs/Ticks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Ticks/vb/Ticks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Ticks/Ticks.vb" id="Snippet1"::: ]]> @@ -8066,7 +8066,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/TimeOfDay/timeofday1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.timeofday/fs/timeofday1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.timeofday/vb/timeofday1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/TimeOfDay/timeofday1.vb" id="Snippet1"::: ]]> @@ -8182,7 +8182,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/Today/Today1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.Today/fs/Today1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.Today/vb/Today1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/Today/Today1.vb" id="Snippet1"::: ]]> @@ -8262,7 +8262,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/FromFileTime/fromfiletime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.fromfiletime/fs/fromfiletime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.fromfiletime/vb/fromfiletime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/FromFileTime/fromfiletime1.vb" id="Snippet1"::: @@ -8422,7 +8422,7 @@ In general, the ticks represent the time according to the time zone specified by :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLocalTime/tolocaltime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.tolocaltime/fs/tolocaltime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolocaltime/vb/tolocaltime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLocalTime/tolocaltime1.vb" id="Snippet1"::: @@ -8566,7 +8566,7 @@ The value of the current object is formatted using the pa :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToLongTimeString/sls.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetime.tolongtimestring/fs/sls.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetime.tolongtimestring/vb/sls.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToLongTimeString/sls.vb" id="Snippet1"::: ]]> @@ -8697,7 +8697,7 @@ The value of the current object is formatted using the pa :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToShortDateString/ToShortDateString.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/fs/ToShortDateString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToShortDateString/vb/ToShortDateString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToShortDateString/ToShortDateString.vb" id="Snippet1"::: ]]> @@ -8859,7 +8859,7 @@ The following example illustrates how the string representation of a @@ -8869,7 +8869,7 @@ The following example illustrates how the string representation of a @@ -8969,7 +8969,7 @@ The following example illustrates how the string representation of a @@ -8979,7 +8979,7 @@ The following example illustrates how the string representation of a @@ -9073,14 +9073,14 @@ The following example illustrates how the string representation of a value. The thread current culture for the example is en-US. :::code language="csharp" source="~/snippets/csharp/System/DateTime/ToString/ToString2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTime.ToString/fs/ToString2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTime.ToString/vb/ToString2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToString/ToString2.vb" id="Snippet2"::: ]]> @@ -9095,7 +9095,7 @@ The following example illustrates how the string representation of a @@ -9194,7 +9194,7 @@ The following example illustrates how the string representation of a value using the invariant . @@ -9215,7 +9215,7 @@ The following example illustrates how the string representation of a @@ -9319,7 +9319,7 @@ The following example illustrates how the string representation of a + :::code language="vb" source="~/snippets/visualbasic/System/DateTime/ToUniversalTime/touniversaltime.vb" id="Snippet1"::: @@ -9592,7 +9592,7 @@ The following example illustrates how the string representation of a @@ -9830,7 +9830,7 @@ The following example illustrates the @@ -10143,7 +10143,7 @@ The following example illustrates the @@ -10288,7 +10288,7 @@ The following example illustrates the @@ -10469,7 +10469,7 @@ The following example illustrates the diff --git a/xml/System/DateTimeOffset.xml b/xml/System/DateTimeOffset.xml index 8b19483db2b..a8137cb8a20 100644 --- a/xml/System/DateTimeOffset.xml +++ b/xml/System/DateTimeOffset.xml @@ -140,7 +140,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Overview/Type.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Type/fs/Type.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Type/vb/Type.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Overview/Type.vb" id="Snippet1"::: - Type conversion operations. @@ -240,7 +240,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet1"::: ]]> @@ -314,7 +314,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet3"::: ]]> @@ -388,7 +388,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet4"::: @@ -397,7 +397,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet2"::: ]]> @@ -514,7 +514,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet5"::: ]]> @@ -621,7 +621,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet7"::: ]]> @@ -730,7 +730,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/.ctor/Constructors.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/fs/Constructors.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Constructors/vb/Constructors.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/.ctor/Constructors.vb" id="Snippet8"::: ]]> @@ -1037,7 +1037,7 @@ The property is earlier than :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet1"::: ]]> @@ -1118,7 +1118,7 @@ In .NET 6 and earlier versions, the `days` parameter is rounded to the nearest m :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet2"::: ]]> @@ -1195,7 +1195,7 @@ In .NET 6 and earlier versions, the `hours` parameter is rounded to the nearest :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet3"::: ]]> @@ -1459,7 +1459,7 @@ In .NET 6 and earlier versions, the `minutes` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet4"::: ]]> @@ -1682,7 +1682,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet6"::: ]]> @@ -1766,7 +1766,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet1"::: In other words, the method determines whether two objects represent a single point in time. It directly compares neither dates and times nor offsets. @@ -1777,7 +1777,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods2.vb" id="Snippet7"::: ]]> @@ -1862,7 +1862,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods3.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods3.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods3.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods3.vb" id="Snippet8"::: ]]> @@ -1926,7 +1926,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet1"::: ]]> @@ -1992,7 +1992,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet2"::: ]]> @@ -2062,7 +2062,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet10"::: ]]> @@ -2119,13 +2119,13 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet4"::: Note that the string returned by calling the `ToString` method of the enumeration member that is returned by this property is not localized. To extract a string that contains the weekday name of the current culture or of a specific culture, call the method with the "dddd" custom format specifier. For example, the following code displays the weekday name for a date using the `fr-fr` culture. :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet5"::: @@ -2134,7 +2134,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet3"::: ]]> @@ -2296,7 +2296,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet2"::: In other words, the method determines whether two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2311,7 +2311,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet9"::: ]]> @@ -2380,7 +2380,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet3"::: In other words, the method determines whether the current object and a specified object represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2393,7 +2393,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet10"::: ]]> @@ -2456,7 +2456,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet4"::: In other words, the method determines whether the two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -2467,7 +2467,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet11"::: ]]> @@ -2535,7 +2535,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet12"::: ]]> @@ -2604,7 +2604,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/FromFileTime/FileTime.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/fs/FileTime.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.FromFileTime/vb/FileTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/FromFileTime/FileTime.vb" id="Snippet1"::: ]]> @@ -2843,7 +2843,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet6"::: ]]> @@ -2911,7 +2911,7 @@ In .NET 6 and earlier versions, the `seconds` parameter is rounded to the neares :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet7"::: ]]> @@ -3070,7 +3070,7 @@ If you rely on properties such as or @@ -3138,7 +3138,7 @@ If you rely on properties such as or @@ -3259,7 +3259,7 @@ If you rely on properties such as or @@ -3359,13 +3359,13 @@ If you rely on properties such as or and properties to determine the resolution of the system clock. It displays the time only when the value of its millisecond component has changed. :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet11"::: ]]> @@ -3428,7 +3428,7 @@ If you rely on properties such as or @@ -3496,7 +3496,7 @@ If you rely on properties such as or method instead. @@ -3567,13 +3567,13 @@ If you rely on properties such as or method determines whether the two objects represent a single point in time. It directly compares neither dates and times nor offsets. To determine whether two objects represent the same time and have the same offset value, use the method. @@ -3638,17 +3638,17 @@ If you rely on properties such as or method instead. They can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet4"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet5"::: The equivalent method for this operator is ]]> @@ -3710,17 +3710,17 @@ If you rely on properties such as or method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet6"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet6"::: The equivalent method for this operator is ]]> @@ -3779,7 +3779,7 @@ If you rely on properties such as or constructor. The offset of the resulting object depends on the value of the property of the `dateTime` parameter: @@ -3852,19 +3852,19 @@ If you rely on properties such as or method determines whether the two objects represent different points in time. It directly compares neither dates and times nor offsets. Languages that do not support custom operators can call the method instead. In addition, some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -3926,17 +3926,17 @@ If you rely on properties such as or method instead. In addition, some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet11"::: The equivalent method for this operator is ]]> @@ -3998,17 +3998,17 @@ If you rely on properties such as or method instead. Some languages can also call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Operators/vb/Operators.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/op_Addition/Operators.vb" id="Snippet13"::: Before evaluating the `left` and `right` operands, the operator converts both values to Coordinated Universal Time (UTC). The operation is equivalent to the following: :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Compare/Syntax.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/fs/Syntax.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Syntax/vb/Syntax.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Compare/Syntax.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -4082,7 +4082,7 @@ If you rely on properties such as or method instead. @@ -4154,7 +4154,7 @@ If you rely on properties such as or method instead. @@ -4259,7 +4259,7 @@ If you rely on properties such as or @@ -4413,7 +4413,7 @@ If you rely on properties such as or @@ -4592,7 +4592,7 @@ If you rely on properties such as or @@ -4728,7 +4728,7 @@ If you rely on properties such as or do not :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ParseExact/ParseExact.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/ParseExact.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb" id="Snippet2"::: The following example uses a variety of values to parse an array of strings that are expected to conform to [ISO 8601](/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier). As the output from the example shows, strings that are in the proper format fail to parse if: @@ -5240,7 +5240,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ParseExact/ParseExact.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/fs/ParseExact.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ParseExact/vb/ParseExact.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ParseExact/ParseExact.vb" id="Snippet3"::: ]]> @@ -5339,7 +5339,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet14"::: ]]> @@ -5421,7 +5421,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet13"::: ]]> @@ -5491,7 +5491,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet14"::: ]]> @@ -5731,7 +5731,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet15"::: ]]> @@ -5794,7 +5794,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet16"::: ]]> @@ -5923,7 +5923,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet15"::: ]]> @@ -5988,7 +5988,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToOffset/ToOffset.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/fs/ToOffset.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToOffset/vb/ToOffset.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToOffset/ToOffset.vb" id="Snippet1"::: ]]> @@ -6086,7 +6086,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6096,7 +6096,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception2.vb" id="Snippet2"::: @@ -6180,7 +6180,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6190,7 +6190,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception1.vb" id="Snippet1"::: @@ -6283,7 +6283,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6298,7 +6298,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception3.vb" id="Snippet3"::: Standard Date and Time Format Strings Custom Date and Time Format Strings @@ -6400,7 +6400,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6415,7 +6415,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/fs/datetimeoffset.tostring.argumentoutofrangeexception4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tostring.argumentoutofrangeexception/vb/datetimeoffset.tostring.argumentoutofrangeexception4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToString/datetimeoffset.tostring.argumentoutofrangeexception4.vb" id="Snippet4"::: Standard Date and Time Format Strings Custom Date and Time Format Strings @@ -6509,7 +6509,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Add/Methods.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/fs/Methods.fs" id="Snippet16"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Methods/vb/Methods.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Add/Methods.vb" id="Snippet16"::: ]]> @@ -6624,7 +6624,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/fs/tounixtimeseconds1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.datetimeoffset.tounixtimeseconds/vb/tounixtimeseconds1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/ToUnixTimeSeconds/tounixtimeseconds1.vb" id="Snippet1"::: ]]> @@ -6899,7 +6899,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParse/TryParse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -7171,7 +7171,7 @@ Me.ToUtcDateTime().ToFileTime() :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParse/TryParse.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/fs/TryParse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParse/vb/TryParse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParse/TryParse.vb" id="Snippet2"::: ]]> @@ -7530,7 +7530,7 @@ This method parses the string representation of a date that matches any one of t :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParseExact/TryParseExact.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/TryParseExact.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb" id="Snippet1"::: The following example uses a variety of values to parse an array of strings that are expected to conform to [ISO 8601](/dotnet/standard/base-types/standard-date-and-time-format-strings#the-round-trip-o-o-format-specifier). As the output from the example shows, strings that are in the proper format fail to parse if: @@ -7677,7 +7677,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/TryParseExact/TryParseExact.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/fs/TryParseExact.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.TryParseExact/vb/TryParseExact.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/TryParseExact/TryParseExact.vb" id="Snippet2"::: ]]> @@ -7792,7 +7792,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet17"::: ]]> @@ -7854,7 +7854,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet18"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet18"::: ]]> @@ -7976,7 +7976,7 @@ Strings that do not specify a UTC offset are assumed to have the offset of the l :::code language="csharp" source="~/snippets/csharp/System/DateTimeOffset/Date/Properties.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/fs/Properties.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.DateTimeOffset.Properties/vb/Properties.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/DateTimeOffset/Date/Properties.vb" id="Snippet19"::: ]]> diff --git a/xml/System/Decimal.xml b/xml/System/Decimal.xml index b0b91c4a63c..1a6020ee27b 100644 --- a/xml/System/Decimal.xml +++ b/xml/System/Decimal.xml @@ -353,7 +353,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctordo.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctordo.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctordo.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctordo.vb" id="Snippet2"::: ]]> @@ -415,7 +415,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctori.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctori.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctori.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctori.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctoriarr.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctoriarr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriarr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctoriarr.vb" id="Snippet1"::: ]]> @@ -556,7 +556,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorl.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorl.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorl.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorl.vb" id="Snippet3"::: ]]> @@ -656,7 +656,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctors.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctors.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/VB/ctors.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctors.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorui.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorui.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorui.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorui.vb" id="Snippet2"::: ]]> @@ -786,7 +786,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctorul.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctorul.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/VB/ctorul.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctorul.vb" id="Snippet4"::: ]]> @@ -856,13 +856,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctoriiibby.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctoriiibby.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/VB/ctoriiibby.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctoriiibby.vb" id="Snippet2"::: The following example uses the method to retrieve the component parts of an array. It then uses this array in the call to the constructor to instantiate a new value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctor2a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctor2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb" id="Snippet1"::: ]]> @@ -1042,7 +1042,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Ceiling/ceiling1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -1176,7 +1176,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Compare/Compare1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Compare/Compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Compare/vb/Compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Compare/Compare1.vb" id="Snippet1"::: ]]> @@ -1380,7 +1380,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1748,7 +1748,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Divide/Divide1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Divide/Divide1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Divide/vb/Divide1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Divide/Divide1.vb" id="Snippet1"::: ]]> @@ -1847,7 +1847,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1923,7 +1923,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1932,7 +1932,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2001,7 +2001,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/CompareTo/comp_equal.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/CompareTo/comp_equal.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/VB/comp_equal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/CompareTo/comp_equal.vb" id="Snippet2"::: ]]> @@ -2082,7 +2082,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/Ceiling/ceiling1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -2142,7 +2142,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/FromOACurrency/fromoacurrency.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/FromOACurrency/fromoacurrency.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/fromoacurrency.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/FromOACurrency/fromoacurrency.vb" id="Snippet2"::: ]]> @@ -2224,13 +2224,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/GetBits/getbits.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/GetBits/getbits.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/getbits.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/GetBits/getbits.vb" id="Snippet2"::: The following example uses the method to retrieve the component parts of an array. It then uses this array in the call to the constructor to instantiate a new value. :::code language="csharp" source="~/snippets/csharp/System/Decimal/.ctor/ctor2a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/.ctor/ctor2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.ctor/vb/ctor2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/.ctor/ctor2a.vb" id="Snippet1"::: ]]> @@ -2379,7 +2379,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Decimal/GetBits/gettypecode.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/GetBits/gettypecode.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Get_Bits_Hash_Type/VB/gettypecode.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/GetBits/gettypecode.vb" id="Snippet3"::: ]]> @@ -2972,7 +2972,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3036,7 +3036,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3108,7 +3108,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Multiply/mul_div_rem.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Multiply/mul_div_rem.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Mul_Div_Rem/VB/mul_div_rem.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Multiply/mul_div_rem.vb" id="Snippet1"::: ]]> @@ -3176,7 +3176,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Negate/floor_neg_trunc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb" id="Snippet1"::: ]]> @@ -3231,7 +3231,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> @@ -3307,7 +3307,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/addition1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/addition1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/addition1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/addition1.vb" id="Snippet3"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3378,13 +3378,13 @@ For , this method matches the IE Some languages (such as Visual Basic) that lack an increment operator can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/decrement1.vb" id="Snippet5"::: If your language does not support custom operators, call the method instead, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/decrement2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/decrement2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/decrement2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/decrement2.vb" id="Snippet6"::: ]]> @@ -3458,7 +3458,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/division1.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/division1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/division1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/division1.vb" id="Snippet7"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3537,7 +3537,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/equality1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/equality1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/equality1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/equality1.vb" id="Snippet1"::: If the language you're using doesn't support custom operators, call the method instead. @@ -3617,7 +3617,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctos_byte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctos_byte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctos_byte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctos_byte.vb" id="Snippet4"::: ]]> @@ -3683,7 +3683,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctochar.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctochar.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctochar.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctochar.vb" id="Snippet6"::: ]]> @@ -3751,7 +3751,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctosgl_dbl.vb" id="Snippet5"::: ]]> @@ -3816,7 +3816,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb" id="Snippet3"::: ]]> @@ -3882,7 +3882,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb" id="Snippet2"::: ]]> @@ -3948,7 +3948,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb" id="Snippet1"::: ]]> @@ -4023,7 +4023,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/tosbyte.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/tosbyte.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosbyte.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/tosbyte.vb" id="Snippet1"::: ]]> @@ -4093,7 +4093,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/tosingle1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/tosingle1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators.explicit/vb/tosingle1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/tosingle1.vb" id="Snippet2"::: ]]> @@ -4166,7 +4166,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int16.vb" id="Snippet3"::: ]]> @@ -4241,7 +4241,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int32.vb" id="Snippet2"::: ]]> @@ -4317,7 +4317,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/ctou_int64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/ctou_int64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvTo/VB/ctou_int64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/ctou_int64.vb" id="Snippet1"::: ]]> @@ -4381,7 +4381,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromdouble.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromdouble.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromdouble.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromdouble.vb" id="Snippet2"::: ]]> @@ -4448,7 +4448,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromsingle.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromsingle.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromsingle.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromsingle.vb" id="Snippet3"::: ]]> @@ -4528,11 +4528,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/greaterthan1.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/greaterthan1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthan1.vb" id="Snippet8"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthan2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthan2.vb" id="Snippet9"::: The equivalent method for this operator is ]]> @@ -4606,11 +4606,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/greaterthanorequal1.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/greaterthanorequal1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal1.vb" id="Snippet10"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/greaterthanorequal2.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/greaterthanorequal2.vb" id="Snippet11"::: The equivalent method for this operator is ]]> @@ -4694,7 +4694,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfrombyte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfrombyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfrombyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfrombyte.vb" id="Snippet4"::: ]]> @@ -4758,7 +4758,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Explicit/cfromchar.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Explicit/cfromchar.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/VB/cfromchar.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Explicit/cfromchar.vb" id="Snippet1"::: ]]> @@ -4822,7 +4822,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint16.vb" id="Snippet3"::: ]]> @@ -4886,7 +4886,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint32.vb" id="Snippet2"::: ]]> @@ -4950,7 +4950,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromint64.vb" id="Snippet1"::: ]]> @@ -5022,7 +5022,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromsbyte.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromsbyte.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/VB/cfromsbyte.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromsbyte.vb" id="Snippet4"::: ]]> @@ -5094,7 +5094,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint16.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint16.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint16.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint16.vb" id="Snippet3"::: ]]> @@ -5166,7 +5166,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint32.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint32.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint32.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint32.vb" id="Snippet2"::: ]]> @@ -5238,7 +5238,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Implicit/cfromuint64.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Implicit/cfromuint64.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/VB/cfromuint64.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Implicit/cfromuint64.vb" id="Snippet1"::: ]]> @@ -5306,13 +5306,13 @@ For , this method matches the IE Some languages (such as Visual Basic) that lack an increment operator can call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/increment1.vb" id="Snippet13"::: If your language does not support custom operators, call the method instead, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/increment2.cs" interactive="try-dotnet" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/increment2.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/increment2.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/increment2.vb" id="Snippet14"::: ]]> @@ -5387,7 +5387,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/inequality1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/inequality1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/inequality1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/inequality1.vb" id="Snippet2"::: If the language you're using doesn't support custom operators, you can test for inequality by using one of the following techniques: @@ -5467,11 +5467,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/lessthan1.cs" interactive="try-dotnet" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/lessthan1.fs" id="Snippet15"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan1.vb" id="Snippet15"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthan1.vb" id="Snippet15"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthan2.vb" id="Snippet16"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthan2.vb" id="Snippet16"::: The equivalent method for this operator is ]]> @@ -5545,11 +5545,11 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/lessthanorequal1.cs" interactive="try-dotnet" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/lessthanorequal1.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal1.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal1.vb" id="Snippet17"::: Languages that do not support custom operators can call the method instead. They may also be able to call the method directly, as the following example shows. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/lessthanorequal2.vb" id="Snippet18"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/lessthanorequal2.vb" id="Snippet18"::: The equivalent method for this operator is ]]> @@ -5616,7 +5616,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/modulus1.cs" interactive="try-dotnet" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/modulus1.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/modulus1.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/modulus1.vb" id="Snippet19"::: The sign of the value returned by the remainder operation depends on the sign of dividend. If dividend is positive, the remainder operation returns a positive result; if it is negative, the remainder operation returns a negative result. @@ -5695,7 +5695,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/multiply1.cs" interactive="try-dotnet" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/multiply1.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/multiply1.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/multiply1.vb" id="Snippet20"::: If the language you're using doesn't support custom operators, call the method instead. @@ -5771,7 +5771,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/op_Addition/subtraction1.cs" interactive="try-dotnet" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/op_Addition/subtraction1.fs" id="Snippet21"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.operators/vb/subtraction1.vb" id="Snippet21"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/op_Addition/subtraction1.vb" id="Snippet21"::: If the language you're using doesn't support custom operators, call the method instead. @@ -5998,7 +5998,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet1"::: ]]> @@ -6216,7 +6216,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet2"::: ]]> @@ -6571,7 +6571,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Parse/parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Parse/parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Parse/VB/parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Parse/parse.vb" id="Snippet3"::: ]]> @@ -6648,7 +6648,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Remainder/remainder.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Remainder/remainder.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.remainder/vb/remainder.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Remainder/remainder.vb" id="Snippet1"::: ]]> @@ -6723,7 +6723,7 @@ For , this method matches the IE :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/Round1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/Round1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Decimal.Round/vb/Round1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/Round1.vb" id="Snippet1"::: ]]> @@ -6797,7 +6797,7 @@ This method is equivalent to calling the @@ -6874,7 +6874,7 @@ The following example displays values returned by the @@ -6953,7 +6953,7 @@ If you specify or @@ -9842,7 +9842,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToByte/tobyte_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToByte/tobyte_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tobyte/vb/tobyte_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToByte/tobyte_1.vb" id="Snippet1"::: ]]> @@ -9918,7 +9918,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToDouble/tosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToDouble/tosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb" id="Snippet5"::: ]]> @@ -9984,7 +9984,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt16/toint16_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt16/toint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint16/vb/toint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt16/toint16_1.vb" id="Snippet1"::: ]]> @@ -10060,7 +10060,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt32/toint32_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt32/toint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint32/vb/toint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt32/toint32_1.vb" id="Snippet1"::: ]]> @@ -10136,7 +10136,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToInt64/toint64_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToInt64/toint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.toint64/vb/toint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToInt64/toint64_1.vb" id="Snippet1"::: ]]> @@ -10195,7 +10195,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/FromOACurrency/tooacurrency.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/FromOACurrency/tooacurrency.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.OACurrency/VB/tooacurrency.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/FromOACurrency/tooacurrency.vb" id="Snippet1"::: ]]> @@ -10267,7 +10267,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToSByte/tosbyte1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToSByte/tosbyte1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.tosbyte/vb/tosbyte1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToSByte/tosbyte1.vb" id="Snippet1"::: ]]> @@ -10344,7 +10344,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToDouble/tosgl_dbl.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToDouble/tosgl_dbl.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToXXX/VB/tosgl_dbl.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToDouble/tosgl_dbl.vb" id="Snippet5"::: ]]> @@ -10438,7 +10438,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet2"::: The following example displays the amount of money in an account. @@ -10547,7 +10547,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet3"::: ]]> @@ -10649,7 +10649,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet4"::: ]]> @@ -10756,7 +10756,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToString/ToString2.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToString/ToString2.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.ToString/VB/ToString2.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToString/ToString2.vb" id="Snippet5"::: ]]> @@ -10836,7 +10836,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt16/touint16_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt16/touint16_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint16/vb/touint16_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt16/touint16_1.vb" id="Snippet1"::: ]]> @@ -10917,7 +10917,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt32/touint32_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt32/touint32_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint32/vb/touint32_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt32/touint32_1.vb" id="Snippet1"::: ]]> @@ -10998,7 +10998,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/ToUInt64/touint64_1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/ToUInt64/touint64_1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.decimal.touint64/vb/touint64_1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/ToUInt64/touint64_1.vb" id="Snippet1"::: ]]> @@ -11076,7 +11076,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/Negate/floor_neg_trunc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Flr_Neg_Rnd_Trnc/VB/floor_neg_trunc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Negate/floor_neg_trunc.vb" id="Snippet1"::: ]]> @@ -11442,7 +11442,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/TryParse/TryParse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/TryParse/TryParse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb" id="Snippet1"::: ]]> @@ -11801,7 +11801,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/TryParse/TryParse.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/TryParse/TryParse.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.TryParse/vb/TryParse.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/TryParse/TryParse.vb" id="Snippet2"::: ]]> @@ -11865,7 +11865,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Decimal/MinusOne/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/MinusOne/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Decimal.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/MinusOne/fields.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Delegate.xml b/xml/System/Delegate.xml index 6872224f1be..725ed2a3443 100644 --- a/xml/System/Delegate.xml +++ b/xml/System/Delegate.xml @@ -2107,7 +2107,7 @@ The number, order, or type of parameters listed in is i :::code language="csharp" source="~/snippets/csharp/System/Delegate/GetInvocationList/GetInvocationList1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/fs/GetInvocationList1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Delegate.GetInvocationList/vb/GetInvocationList1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Delegate/GetInvocationList/GetInvocationList1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/DivideByZeroException.xml b/xml/System/DivideByZeroException.xml index 5cf5145211a..20fee284501 100644 --- a/xml/System/DivideByZeroException.xml +++ b/xml/System/DivideByZeroException.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DivideByZeroException/Overview/exception2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.dividebyzeroexception.class/fs/exception2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/DivideByZeroException/Overview/exception2.vb" id="Snippet2"::: For more information, see and . @@ -99,7 +99,7 @@ :::code language="csharp" source="~/snippets/csharp/System/DivideByZeroException/Overview/exception1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.dividebyzeroexception.class/fs/exception1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.dividebyzeroexception.class/vb/exception1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/DivideByZeroException/Overview/exception1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Double.xml b/xml/System/Double.xml index 518ca195fba..0e2840c080e 100644 --- a/xml/System/Double.xml +++ b/xml/System/Double.xml @@ -1230,7 +1230,7 @@ The following code example illustrates the use of `CompareTo` in the context of :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet16"::: ]]> @@ -1854,7 +1854,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1923,7 +1923,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Epsilon/Equals_25051.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Epsilon/Equals_25051.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Epsilon/vb/Equals_25051.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/Equals_25051.vb" id="Snippet3"::: For alternatives to calling the method, see the documentation for the overload. @@ -1941,7 +1941,7 @@ Euler's number is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Double/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2644,7 +2644,7 @@ A return value of `false` does not imply that @@ -2778,7 +2778,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet8"::: ]]> @@ -2893,13 +2893,13 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet13"::: :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet4"::: :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet9"::: ]]> @@ -3113,7 +3113,7 @@ A return value of `false` does not imply that @@ -3854,7 +3854,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/MaxValue/maxvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/MaxValue/maxvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.maxvalue/vb/maxvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MaxValue/maxvalueex.vb" id="Snippet1"::: @@ -4153,7 +4153,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Double/MinValue/minvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/MinValue/minvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.minvalue/vb/minvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/MinValue/minvalueex.vb" id="Snippet1"::: ## Examples @@ -4256,19 +4256,19 @@ A method or operator returns when the result of an oper :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/nan1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/nan1.vb" id="Snippet1"::: In addition, a method call with a value or an operation on a value returns , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/nan1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/nan1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/nan1.vb" id="Snippet2"::: Use the method to determine whether a value is not a number. The operator considers two values to be unequal to one another. In general, operators cannot be used to compare with other values, although comparison methods (such as and ) can. The following example illustrates the difference in behavior between comparison operators and methods. :::code language="csharp" source="~/snippets/csharp/System/Double/NaN/double.nan4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/NaN/double.nan4.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.double.nan/vb/double.nan4.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/NaN/double.nan4.vb" id="Snippet4"::: ## Examples @@ -4276,7 +4276,7 @@ The following example illustrates the use of . :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet7"::: ]]> @@ -4340,7 +4340,7 @@ The following code example illustrates the use of @@ -4839,7 +4839,7 @@ The following code example illustrates the use of data type, the method throws an . @@ -5066,7 +5066,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5079,7 +5079,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/Parse.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/Parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/Parse.vb" id="Snippet1"::: ]]> @@ -5192,7 +5192,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5455,7 +5455,7 @@ If `s` is out of range of the data type, the method returns :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/parse2.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/parse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -5468,7 +5468,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/Parse/Parse3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.Parse/vb/Parse3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/Parse/Parse3.vb" id="Snippet2"::: ]]> @@ -5583,7 +5583,7 @@ The following code example illustrates the use of @@ -9343,13 +9343,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet1"::: The following example illustrates the use of . :::code language="csharp" source="~/snippets/csharp/System/Double/CompareTo/doublesample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/CompareTo/doublesample.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double/VB/doublesample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/IsInfinity/doublesample.vb" id="Snippet3"::: ]]> @@ -9469,7 +9469,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet2"::: The following example illustrates the use of , taking a and an as parameters. @@ -9579,13 +9579,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString7.vb" id="Snippet7"::: The following example displays several values using the supported standard numeric format specifiers together with three custom numeric format strings. One of those custom format strings illustrates how to pad a value with leading zeros. In addition, the example uses precision specifiers with each standard format specifier except for "R". The values of the precision specifiers range from 0 to 3. To convert the numeric values to strings, the example uses the formatting conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -9596,7 +9596,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/roundtripex2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/roundtripex2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/roundtripex2.vb" id="Snippet6"::: Formatting Types in .NET @@ -9703,7 +9703,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/ToString1.vb" id="Snippet4"::: The following example illustrates the use of , taking a and an as parameters. @@ -9718,7 +9718,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/ToString/roundtripex1.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/ToString/roundtripex1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/ToString/roundtripex1.vb" id="Snippet5"::: Formatting Types in .NET @@ -10082,7 +10082,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -10095,7 +10095,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse1a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse1a.vb" id="Snippet1"::: ]]> @@ -10479,7 +10479,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/tryparse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/tryparse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/tryparse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/tryparse2.vb" id="Snippet3"::: On .NET Framework and .NET Core 2.2 and earlier versions, if `s` is out of range of the data type, the method throws an . @@ -10492,7 +10492,7 @@ On .NET Core 3.0 and later versions, no exception is thrown when `s` is out of r :::code language="csharp" source="~/snippets/csharp/System/Double/TryParse/TryParse1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Double/TryParse/TryParse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.TryParse/vb/TryParse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Double/TryParse/TryParse1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/EntryPointNotFoundException.xml b/xml/System/EntryPointNotFoundException.xml index 019a2954bda..3602539e2f3 100644 --- a/xml/System/EntryPointNotFoundException.xml +++ b/xml/System/EntryPointNotFoundException.xml @@ -70,13 +70,13 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/nofunction1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/nofunction1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/nofunction1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/nofunction1.vb" id="Snippet1"::: - The call to a function in a Windows DLL cannot be resolved because the name used in the method call does not match a name found in the assembly. Frequently, this occurs because the field is either implicitly or explicitly set to `true`, the called method includes one or more string parameters and has both an ANSI and a Unicode version, and the name used in the method call does not correspond to the name of this ANSI or Unicode version. The following example provides an illustration by attempting to call the Windows `MessageBox` function in User32.dll. Because the first method definition specifies for string marshaling, the common language looks for the wide-character version of the function, `MessageBoxW`, instead of the name used in the method call, `MessageBox`. The second method definition corrects this problem by calling the `MessageBoxW` instead of the `MessageBox` function. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/badcall1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/badcall1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/badcall1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/badcall1.vb" id="Snippet2"::: - You're trying to call a function in a dynamic link library by its simple name rather than its decorated name. Typically, the C++ compiler generates a decorated name for DLL functions. For example, the following C++ code defines a function named `Double` in a library named TestDll.dll. @@ -86,13 +86,13 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/mangle1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/mangle1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle1.vb" id="Snippet7"::: However, if the function is called by using its decorated name (in this case, `?Double@@YAHH@Z`), the function call succeeds, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/mangle2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/mangle2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/mangle2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/mangle2.vb" id="Snippet8"::: You can find the decorated names of functions exported by a DLL by using a utility such as Dumpbin.exe. @@ -100,19 +100,19 @@ :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/stringutilities.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/stringutilities.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/stringutilities.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/stringutilities.vb" id="Snippet3"::: Then compile and execute the following example, which attempts to call the `StringUtilities.SayGoodMorning` method in the StringUtilities.dll dynamic link library as if it were unmanaged code. The result is an exception. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/importassembly1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/importassembly1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/importassembly1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/importassembly1.vb" id="Snippet4"::: To eliminate the exception, add a reference to the managed assembly and access the `StringUtilities.SayGoodMorning` method just as you would access any other method in managed code, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/EntryPointNotFoundException/Overview/fiximportassembly1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/EntryPointNotFoundException/Overview/fiximportassembly1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.entrypointnotfoundexception.class/vb/fiximportassembly1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/EntryPointNotFoundException/Overview/fiximportassembly1.vb" id="Snippet5"::: - You are trying to call a method in a COM DLL as if it were a Windows DLL. To access a COM DLL, select the **Add Reference** option in Visual Studio to add a reference to the project, and then select the type library from the **COM** tab. diff --git a/xml/System/Enum.xml b/xml/System/Enum.xml index bc303cd7263..3cbaba98c98 100644 --- a/xml/System/Enum.xml +++ b/xml/System/Enum.xml @@ -308,7 +308,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Equals/enumequals1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Equals/enumequals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.equals/vb/enumequals.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Equals/enumequals.vb" id="Snippet1"::: ]]> @@ -671,7 +671,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetNames/getnames1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetNames/getnames1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getnames/vb/getnames1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetNames/getnames1.vb" id="Snippet1"::: If there are enumerated constants with same value, the order of their corresponding names is unspecified. @@ -861,7 +861,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetUnderlyingType/getunderlyingtype1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetUnderlyingType/getunderlyingtype1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getunderlyingtype/vb/getunderlyingtype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetUnderlyingType/getunderlyingtype1.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues1.vb" id="Snippet1"::: The method returns an array that contains a value for each member of the `enumType` enumeration. If multiple members have the same value, the returned array includes duplicate values. In this case, calling the method with each value in the returned array does not restore the unique names assigned to members that have duplicate values. To retrieve all the names of enumeration members successfully, call the method. @@ -944,13 +944,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues_reflectiononly.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues_reflectiononly.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb" id="Snippet2"::: The assembly is loaded in a reflection-only context, a object that represents the `Pets` enumeration is instantiated, an array of objects is retrieved, and the field values are displayed to the console. :::code language="csharp" source="~/snippets/csharp/System/Enum/GetValues/getvalues_reflectiononly.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/GetValues/getvalues_reflectiononly.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.getvalues/vb/getvalues_reflectiononly.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/GetValues/getvalues_reflectiononly.vb" id="Snippet3"::: ## Examples The following example illustrates the use of . @@ -1181,7 +1181,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/HasFlag/hasflag0.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/HasFlag/hasflag0.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag0.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/HasFlag/hasflag0.vb" id="Snippet1"::: The method is designed to be used with enumeration types that are marked with the attribute and can be used to determine whether multiple bit fields are set. For enumeration types that are not marked with the attribute, call either the method or the method. @@ -1192,7 +1192,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/HasFlag/hasflag1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/HasFlag/hasflag1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.hasflag/vb/hasflag1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/HasFlag/hasflag1.vb" id="Snippet2"::: ]]> @@ -1280,7 +1280,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/IsDefined/isdefined1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/IsDefined/isdefined1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/IsDefined1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/IsDefined/IsDefined1.vb" id="Snippet1"::: ]]> @@ -1303,7 +1303,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/IsDefined/isdefined2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/IsDefined/isdefined2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.IsDefined/vb/isdefined2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/IsDefined/isdefined2.vb" id="Snippet2"::: You can determine whether multiple bit fields are set by calling the method. @@ -1494,7 +1494,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Parse/ParseExample1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Parse/ParseExample1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Parse/ParseExample1.vb" id="Snippet1"::: This operation is case-sensitive. @@ -1655,7 +1655,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/Parse/ParseExample2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/Parse/ParseExample2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Enum.Parse/vb/ParseExample2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/Parse/ParseExample2.vb" id="Snippet2"::: ]]> @@ -3724,13 +3724,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet1"::: The following method call attempts to retrieve the name of a member of the Shade enumeration whose underlying value is 1. The method can return either "Gray" or "Grey", and your code should not make any assumptions about which string will be returned. :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet2"::: @@ -3892,13 +3892,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet1"::: The following method call attempts to retrieve the name of a member of the Shade enumeration whose underlying value is 1. The method can return either "Gray" or "Grey", and your code should not make any assumptions about which string will be returned. :::code language="csharp" source="~/snippets/csharp/System/Enum/ToString/tostringbyvalue1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/ToString/tostringbyvalue1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tostring/vb/tostringbyvalue1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/ToString/tostringbyvalue1.vb" id="Snippet3"::: @@ -4454,7 +4454,7 @@ If the parse operation fails, the `result` parameter contains the default value :::code language="csharp" source="~/snippets/csharp/System/Enum/TryParseTEnum/tryparse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/TryParseTEnum/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse1.vb" id="Snippet1"::: ]]> @@ -4614,7 +4614,7 @@ If the parse operation fails, the `result` parameter contains the default value :::code language="csharp" source="~/snippets/csharp/System/Enum/TryParseTEnum/tryparse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Enum/TryParseTEnum/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.enum.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Enum/TryParseTEnum/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Environment.xml b/xml/System/Environment.xml index 25144566d31..b192d191281 100644 --- a/xml/System/Environment.xml +++ b/xml/System/Environment.xml @@ -260,7 +260,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/CurrentDirectory/Vars1.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/CurrentDirectory/Vars1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Environment/VB/Vars1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/CurrentDirectory/Vars1.vb" id="Snippet4"::: ]]> @@ -471,7 +471,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Environment/ExitCode/double.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ExitCode/double.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ExitCode/double.vb" id="Snippet1"::: The example can then be invoked from a batch file such as the following, which makes its error codes accessible by using the `ERRORLEVEL` command. @@ -518,7 +518,7 @@ Invalid argument :::code language="csharp" source="~/snippets/csharp/System/Environment/ExitCode/double1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/ExitCode/double1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.exitcode/vb/double1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/ExitCode/double1.vb" id="Snippet2"::: ]]> @@ -935,13 +935,13 @@ The following example uses the method with each member of the enumeration to establish that the variable can be retrieved only from the current process environment block. Finally, if the example created the variable, it deletes it. :::code language="csharp" source="~/snippets/csharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.fs"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb"::: +:::code language="vb" source="~/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb"::: ]]> @@ -2093,7 +2093,7 @@ The following example attempts to retrieve the value of an environment variable :::code language="csharp" source="~/snippets/csharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.cs"::: :::code language="fsharp" source="~/snippets/fsharp/System/Environment/GetEnvironmentVariable/getenvironmentvariableex1.fs"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.getenvironmentvariable/vb/getenvironmentvariableex1.vb"::: + :::code language="vb" source="~/snippets/visualbasic/System/Environment/SetEnvironmentVariable/getenvironmentvariableex1.vb"::: ]]> diff --git a/xml/System/Exception.xml b/xml/System/Exception.xml index 740738bbda3..4f491f12cbe 100644 --- a/xml/System/Exception.xml +++ b/xml/System/Exception.xml @@ -170,7 +170,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/new.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/new.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/new.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/new.vb" id="Snippet1"::: ]]> @@ -239,7 +239,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/news.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/news.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/news.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/news.vb" id="Snippet2"::: ]]> @@ -312,7 +312,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/getobjdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> @@ -389,7 +389,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/newsi.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/newsi.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Ctor/VB/newsi.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/newsi.vb" id="Snippet3"::: ]]> @@ -522,7 +522,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/GetBaseException/getbaseexc.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/GetBaseException/getbaseexc.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetBaseException/VB/getbaseexc.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/GetBaseException/getbaseexc.vb" id="Snippet1"::: ]]> @@ -605,7 +605,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/.ctor/getobjdata.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/.ctor/getobjdata.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.GetObjectData/VB/getobjdata.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/.ctor/getobjdata.vb" id="Snippet1"::: ]]> @@ -730,7 +730,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -798,7 +798,7 @@ The following example demonstrates how to add and retrieve information using the :::code language="csharp" source="~/snippets/csharp/System/Exception/HResult/hresult.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HResult/hresult.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.HResult/VB/hresult.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HResult/hresult.vb" id="Snippet1"::: ]]> @@ -949,7 +949,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1094,7 +1094,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1172,7 +1172,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1252,7 +1252,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/HelpLink/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/HelpLink/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Exception.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/HelpLink/properties.vb" id="Snippet1"::: ]]> @@ -1329,7 +1329,7 @@ The following code example throws and then catches an ex :::code language="csharp" source="~/snippets/csharp/System/Exception/ToString/ToStringEx1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Exception/ToString/ToStringEx1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.exception.tostring/vb/ToStringEx1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Exception/ToString/ToStringEx1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/FlagsAttribute.xml b/xml/System/FlagsAttribute.xml index cffdd42d07f..23bcc8ea7e0 100644 --- a/xml/System/FlagsAttribute.xml +++ b/xml/System/FlagsAttribute.xml @@ -113,13 +113,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FlagsAttribute/Overview/flags1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FlagsAttribute/Overview/flags1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FlagsAttribute/.ctor/flags1.vb" id="Snippet2"::: The following example illustrates the use of the `FlagsAttribute` attribute and shows the effect on the method of using `FlagsAttribute` on an declaration. :::code language="csharp" source="~/snippets/csharp/System/FlagsAttribute/Overview/flags.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FlagsAttribute/Overview/flags.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.FlagsAttribute/VB/flags.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FlagsAttribute/.ctor/flags.vb" id="Snippet1"::: ]]> diff --git a/xml/System/FormatException.xml b/xml/System/FormatException.xml index a352d66f480..5214ed9da92 100644 --- a/xml/System/FormatException.xml +++ b/xml/System/FormatException.xml @@ -102,37 +102,37 @@ :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable1.vb" id="Snippet7"::: This exception results from a coding error. To correct the error, either remove the format string or substitute a valid one. The following example corrects the error by replacing the invalid format string with the "C" (currency) format string. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable2.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable2.vb" id="Snippet8"::: A exception can also be thrown by parsing methods, such as and , that require the string to be parsed to conform exactly to the pattern specified by a format string. In the following example, the string representation of a GUID is expected to conform to the pattern specified by the "G" standard format string. However, the structure's implementation of does not support the "G" format string. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable3.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable3.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable3.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable3.vb" id="Snippet9"::: This exception also results from a coding error. To correct it, call a parsing method that doesn't require a precise format, such as or , or substitute a valid format string. The following example corrects the error by calling the method. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/iformattable4.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/iformattable4.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/iformattable4.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/iformattable4.vb" id="Snippet10"::: - One or more of the indexes of the format items in a [composite format string](/dotnet/standard/base-types/composite-formatting) is greater than the indexes of the items in the object list or parameter array. In the following example, the largest index of a format item in the format string is 3. Because the indexes of items in the object list are zero-based, this format string would require the object list to have four items. Instead, it has only three, `dat`, `temp`, and `scale`, so the code results in a exception at run time:. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example1.vb" id="Snippet1"::: In this case, the exception is a result of developer error. It should be corrected rather than handled in a `try/catch` block by making sure that each item in the object list corresponds to the index of a format item. To correct this example, change the index of the second format item to refer to the `dat` variable, and decrement the index of each subsequent format item by one. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example2.vb" id="Snippet2"::: - The composite format string isn't well-formed. When this happens, the exception is always a result of developer error. It should be corrected rather than handled in a `try/catch` block. @@ -140,37 +140,37 @@ :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa3.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa3.fs" id="Snippet23"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb" id="Snippet23"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa3.vb" id="Snippet23"::: The recommended technique for including literal braces in a composite format string is to include them in the object list and use format items to insert them into the result string. For example, you can modify the previous composite format string as shown here. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa3.cs" interactive="try-dotnet-method" id="Snippet24"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa3.fs" id="Snippet24"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/qa3.vb" id="Snippet24"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa3.vb" id="Snippet24"::: The exception is also thrown if your format string contains a typo. The following call to the method omits a closing brace and pairs an opening brace with a closing bracket. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example3.vb" id="Snippet3"::: To correct the error, ensure that all opening and closing braces correspond. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/example3.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/example3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/example3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/example3.vb" id="Snippet4"::: - You've supplied the object list in a composite formatting method as a strongly typed parameter array, and the exception indicates that the index of one or more format items exceeds the number of arguments in the object list. This occurs because no explicit conversion between array types exists, so instead the compiler treats the array as a single argument rather than as a parameter array. For example, the following call to the method throws a exception, although the highest index of the format items is 3, and the parameter array of type has four elements. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa1.vb" id="Snippet5"::: Instead of handling this exception, you should eliminate its cause. Because neither Visual Basic nor C# can convert an integer array to an object array, you have to perform the conversion yourself before calling the composite formatting method. The following example provides one implementation. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/qa2.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/qa2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.formatexception/vb/qa2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/qa2.vb" id="Snippet6"::: uses the HRESULT COR_E_FORMAT, which has the value 0x80131537. diff --git a/xml/System/Func`1.xml b/xml/System/Func`1.xml index 8a904840105..74f85bc63aa 100644 --- a/xml/System/Func`1.xml +++ b/xml/System/Func`1.xml @@ -94,13 +94,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Func1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Func1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Func1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Func1.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -110,7 +110,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -125,7 +125,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncTResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~1/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~1/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncTResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`2.xml b/xml/System/Func`2.xml index 8dccd8c4841..d8b1c62b8b0 100644 --- a/xml/System/Func`2.xml +++ b/xml/System/Func`2.xml @@ -109,13 +109,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Func2_1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Func2_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Func2_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Func2_1.vb" id="Snippet2"::: You can also use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -125,7 +125,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Lambda.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have parameters, you can pass these methods a lambda expression without explicitly instantiating a delegate. @@ -136,7 +136,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT,TResult/Overview/Example.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~2/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~2/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`3.xml b/xml/System/Func`3.xml index 5a820b1071a..aa955eee4f0 100644 --- a/xml/System/Func`3.xml +++ b/xml/System/Func`3.xml @@ -123,13 +123,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating a delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Func3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Func3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Func3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Func3.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -139,7 +139,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have parameters, you can pass these methods a lambda expression without explicitly instantiating a delegate. @@ -150,7 +150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`4.xml b/xml/System/Func`4.xml index 088b608f31f..982124b3a8b 100644 --- a/xml/System/Func`4.xml +++ b/xml/System/Func`4.xml @@ -137,13 +137,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Delegate.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Func4.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Func4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Func4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Func4.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -153,7 +153,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,TResult/Overview/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~4/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -164,7 +164,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/Func`5.xml b/xml/System/Func`5.xml index ebf689b7547..e85aca9b544 100644 --- a/xml/System/Func`5.xml +++ b/xml/System/Func`5.xml @@ -125,13 +125,13 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Delegate.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Delegate.vb" id="Snippet1"::: The following example simplifies this code by instantiating the delegate instead of explicitly defining a new delegate and assigning a named method to it. :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Func5.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Func5.vb" id="Snippet2"::: You can use the delegate with anonymous methods in C#, as the following example illustrates. (For an introduction to anonymous methods, see [Anonymous Methods](/dotnet/csharp/programming-guide/statements-expressions-operators/anonymous-methods).) @@ -141,7 +141,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~5/vb/Lambda.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,T3,T4,TResult/Overview/Lambda.vb" id="Snippet4"::: The underlying type of a lambda expression is one of the generic `Func` delegates. This makes it possible to pass a lambda expression as a parameter without explicitly assigning it to a delegate. In particular, because many methods of types in the namespace have `Func` parameters, you can pass these methods a lambda expression without explicitly instantiating a `Func` delegate. @@ -152,7 +152,7 @@ :::code language="csharp" source="~/snippets/csharp/System/FuncT1,T2,TResult/Overview/Example.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Func~3/fs/Example.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Func~3/vb/Example.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/FuncT1,T2,TResult/Overview/Example.vb" id="Snippet5"::: ]]> diff --git a/xml/System/GC.xml b/xml/System/GC.xml index be988712eff..669447b9c1f 100644 --- a/xml/System/GC.xml +++ b/xml/System/GC.xml @@ -66,7 +66,7 @@ The following example uses several GC methods to get generation and memory infor :::code language="csharp" source="~/snippets/csharp/System/GC/Overview/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Overview/class1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/GC/Overview/class1.vb" id="Snippet1"::: ]]> @@ -399,7 +399,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/lohcompactionmode1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/lohcompactionmode1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.runtime.gcsettings/vb/lohcompactionmode1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/lohcompactionmode1.vb" id="Snippet1"::: @@ -408,7 +408,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.Collect Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/class1.vb" id="Snippet1"::: ]]> @@ -479,7 +479,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Overview/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Overview/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect int example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Overview/class1.vb" id="Snippet1"::: ]]> @@ -561,7 +561,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/Program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/Program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/program.vb" id="Snippet1"::: ]]> @@ -716,7 +716,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/collect4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/collect4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.collect/vb/collect4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/collect4.vb" id="Snippet1"::: Specifying `true` for the `compacting` argument guarantees a compacting, full blocking garbage collection. Setting the property to ensures that both the LOH and SOH are compacted. @@ -849,7 +849,7 @@ Skipping zero-initialization using this API only has a material performance bene :::code language="csharp" source="~/snippets/csharp/System/GC/EndNoGCRegion/endnogcregion1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/EndNoGCRegion/endnogcregion1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.endnogcregion/vb/endnogcregion1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/EndNoGCRegion/endnogcregion1.vb" id="Snippet1"::: ]]> @@ -1099,7 +1099,7 @@ The following example demonstrates how to use the @@ -1167,7 +1167,7 @@ The following example demonstrates the use of the @@ -1280,7 +1280,7 @@ The following example demonstrates the use of the @@ -1390,7 +1390,7 @@ The following example demonstrates the use of the @@ -1464,7 +1464,7 @@ The following example demonstrates the use of the @@ -1802,7 +1802,7 @@ The following example demonstrates the use of the @@ -1887,7 +1887,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/SuppressFinalize/suppressfinalize1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/SuppressFinalize/suppressfinalize1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.gc.suppressfinalize/vb/suppressfinalize1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/SuppressFinalize/suppressfinalize1.vb" id="Snippet1"::: ]]> @@ -2640,7 +2640,7 @@ If `obj` does not have a finalizer or the GC has already signaled the finalizer :::code language="csharp" source="~/snippets/csharp/System/GC/WaitForPendingFinalizers/class1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/WaitForPendingFinalizers/class1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.WaitForPendingFinalizers Example/VB/class1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/WaitForPendingFinalizers/class1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/GCCollectionMode.xml b/xml/System/GCCollectionMode.xml index 4156637abe8..f9a4d943c79 100644 --- a/xml/System/GCCollectionMode.xml +++ b/xml/System/GCCollectionMode.xml @@ -67,7 +67,7 @@ :::code language="csharp" source="~/snippets/csharp/System/GC/Collect/Program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/GC/Collect/Program.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GC.GCCollectionMode/vb/program.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/GC/Collect/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Guid.xml b/xml/System/Guid.xml index c626fc2c9fa..ebc42b6b1e9 100644 --- a/xml/System/Guid.xml +++ b/xml/System/Guid.xml @@ -312,7 +312,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/.ctor/ctor1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/.ctor/ctor1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/.ctor/ctor1.vb" id="Snippet1"::: ]]> @@ -490,7 +490,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/.ctor/ctor2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/.ctor/ctor2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.ctor/vb/ctor2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/.ctor/ctor2.vb" id="Snippet2"::: ]]> @@ -706,7 +706,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/CompareTo/compareto2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/CompareTo/compareto2.vb" id="Snippet1"::: ]]> @@ -803,7 +803,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/CompareTo/compareto1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/CompareTo/compareto1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.compareto/vb/compareto1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/CompareTo/compareto1.vb" id="Snippet2"::: ]]> @@ -928,7 +928,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/Empty/empty.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Empty/empty.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Empty/empty.vb" id="Snippet1"::: ]]> @@ -1189,7 +1189,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/NewGuid/ng.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/NewGuid/ng.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.newguid/vb/ng.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/NewGuid/ng.vb" id="Snippet1"::: ]]> @@ -1252,7 +1252,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Guid/Empty/empty.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Empty/empty.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.empty/vb/empty.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Empty/empty.vb" id="Snippet1"::: ]]> @@ -1608,7 +1608,7 @@ After trimming, the length of the read-only character span is 0. :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/parseex1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/parseex1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseex1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/parseex1.vb" id="Snippet3"::: ]]> @@ -1850,7 +1850,7 @@ The method requires the read-only character spa :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/parseexactex1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/parseexactex1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/parseexactex1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/parseexactex1.vb" id="Snippet4"::: ]]> @@ -2142,7 +2142,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/ToByteArray/tobytearray3.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/ToByteArray/tobytearray3.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.tobytearray/vb/tobytearray3.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/ToByteArray/tobytearray3.vb" id="Snippet1"::: ]]> @@ -2631,7 +2631,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/tryparseex1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/tryparseex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/tryparseex1.vb" id="Snippet2"::: ]]> @@ -2872,7 +2872,7 @@ Because the `provider` parameter is ignored, you cannot use it to provide a cust :::code language="csharp" source="~/snippets/csharp/System/Guid/Parse/tryparseexactex1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Guid/Parse/tryparseexactex1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.guid.parse/vb/tryparseexactex1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Guid/Parse/tryparseexactex1.vb" id="Snippet5"::: ]]> diff --git a/xml/System/HashCode.xml b/xml/System/HashCode.xml index dcfc98ea545..ef476b3ec6d 100644 --- a/xml/System/HashCode.xml +++ b/xml/System/HashCode.xml @@ -64,7 +64,7 @@ The static methods in this class combine the default hash codes of *up to eight* :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example1.vb" id="Snippet1"::: > [!IMPORTANT] > must be called at most once per instance of . @@ -73,20 +73,20 @@ The instance methods in this class combine the hash codes of *more than eight* v :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example2.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example2.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example2.vb" id="Snippet1"::: The instance methods also combine the hash codes produced by a specific implementation. :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example3.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example3.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example3.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example3.vb" id="Snippet1"::: The structure must be passed by-reference to other methods, as it is a value type. :::code language="csharp" source="~/snippets/csharp/System/HashCode/Overview/example4.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/HashCode/Overview/example4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.hashcode.structure/vb/example4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/HashCode/Overview/example4.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IConvertible.xml b/xml/System/IConvertible.xml index 456800d4bd8..62cb8a2c937 100644 --- a/xml/System/IConvertible.xml +++ b/xml/System/IConvertible.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IConvertible/Overview/iconvertible.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IConvertible/Overview/iconvertible.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IConvertible/VB/iconvertible.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IConvertible/Overview/iconvertible.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ICustomFormatter.xml b/xml/System/ICustomFormatter.xml index 9dab20eadd7..5af8d82ce64 100644 --- a/xml/System/ICustomFormatter.xml +++ b/xml/System/ICustomFormatter.xml @@ -77,13 +77,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet1"::: `MyFormatter` can then be used to provide custom formatting by passing a `MyFormatter` object as the `provider` parameter of the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet2"::: ]]> @@ -176,7 +176,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet4"::: The `arg` parameter is the object in the object list whose zero-based position corresponds to the index of a particular format item. @@ -188,7 +188,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet3"::: @@ -197,13 +197,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet1"::: `MyFormatter` can then be used to provide custom formatting by passing a `MyFormatter` object as the `provider` parameter of the method, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/ICustomFormatter/Overview/myformatter.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ICustomFormatter/Overview/myformatter.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.icustomformatter.class/vb/myformatter.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ICustomFormatter/Overview/myformatter.vb" id="Snippet2"::: ]]> diff --git a/xml/System/IDisposable.xml b/xml/System/IDisposable.xml index 121c6942937..e5efc033352 100644 --- a/xml/System/IDisposable.xml +++ b/xml/System/IDisposable.xml @@ -60,7 +60,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IDisposable/Overview/idisposabledispose.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IDisposable/Overview/idisposabledispose.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb" id="Snippet1":::id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb" id="Snippet1":::id="Snippet1"::: ]]> @@ -144,7 +144,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IDisposable/Overview/idisposabledispose.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IDisposable/Overview/idisposabledispose.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IDisposable.Dispose Example/VB/idisposabledispose.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IDisposable/Overview/idisposabledispose.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IEquatable`1.xml b/xml/System/IEquatable`1.xml index 84cf0455d17..8f8416753da 100644 --- a/xml/System/IEquatable`1.xml +++ b/xml/System/IEquatable`1.xml @@ -70,7 +70,7 @@ For more information about implementing the interfa :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="Person"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="Person"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="Person"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="Person"::: ]]> @@ -174,13 +174,13 @@ For more information about implementing the interfa :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="Person"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="Person"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="Person"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="Person"::: When a `Person` is stored in a , `Contains` uses its implementation to search for a match. :::code language="csharp" source="~/snippets/csharp/System/IEquatableT/Equals/EqualsExample.cs" id="PersonSample"::: :::code language="fsharp" source="~/snippets/fsharp/System/IEquatableT/Equals/EqualsExample.fs" id="PersonSample"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.GenericIEquatable.Equals/vb/EqualsExample.vb" id="PersonSample"::: + :::code language="vb" source="~/snippets/visualbasic/System/IEquatableT/Overview/EqualsExample.vb" id="PersonSample"::: ]]> diff --git a/xml/System/IFormatProvider.xml b/xml/System/IFormatProvider.xml index ab691b4ed9e..f069ff85631 100644 --- a/xml/System/IFormatProvider.xml +++ b/xml/System/IFormatProvider.xml @@ -80,19 +80,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/provider2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/provider2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/provider2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/provider2.vb" id="Snippet3"::: The following example illustrates the use of a class that implements the interface and the method. The `AcctNumberFormat` class converts an value that represents an account number to a formatted 12-digit account number. Its `GetFormat` method returns a reference to the current `AcctNumberFormat` instance if the `formatType` parameter refers to a class that implements ; otherwise, `GetFormat` returns `null`. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet2"::: The class that implements can then be used in a call to a formatting and parsing operation. For example, the following code calls the method to generate a string that contains a formatted 12-digit account number. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet1"::: ]]> @@ -166,13 +166,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet2"::: An instance of the `AcctNumberFormat` class can then be passed as an argument to a method that provides formatting or parsing services. For example, the following code passes an `AcctNumberFormat` class to the method to generate a formatted 12-digit account number. :::code language="csharp" source="~/snippets/csharp/System/IFormatProvider/Overview/Provider.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormatProvider/Overview/Provider.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.IFormatProvider.Class/vb/Provider.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormatProvider/Overview/Provider.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IFormattable.xml b/xml/System/IFormattable.xml index 10c2b4d4288..cd962f5150b 100644 --- a/xml/System/IFormattable.xml +++ b/xml/System/IFormattable.xml @@ -92,13 +92,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet1"::: The following example then calls the implementation either directly or by using a composite format string. :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet2"::: ]]> @@ -206,7 +206,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IFormattable/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IFormattable/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iformattable/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IFormattable/Overview/example1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/IObservable`1.xml b/xml/System/IObservable`1.xml index 91a8c674596..1d30a096001 100644 --- a/xml/System/IObservable`1.xml +++ b/xml/System/IObservable`1.xml @@ -84,19 +84,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet5"::: The `LocationTracker` class provides the implementation. Its `TrackLocation` method is passed a nullable `Location` object that contains the latitude and longitude data. If the `Location` value is not `null`, the `TrackLocation` method calls the method of each observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet6"::: If the `Location` value is `null`, the `TrackLocation` method instantiates a `LocationUnknownException` object, which is shown in the following example. It then calls each observer's method and passes it the `LocationUnknownException` object. Note that `LocationUnknownException` derives from , but does not add any new members. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet7"::: Observers register to receive notifications from a `LocationTracker` object by calling its method, which assigns a reference to the observer object to a private generic object. The method returns an `Unsubscriber` object, which is an implementation that enables observers to stop receiving notifications. The `LocationTracker` class also includes an `EndTransmission` method. When no further location data is available, the method calls each observer's method and then clears the internal list of observers. @@ -104,13 +104,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet8"::: The following code then instantiates the provider and the observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/module1.vb" id="Snippet9"::: ]]> @@ -181,7 +181,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet13"::: ]]> diff --git a/xml/System/IObserver`1.xml b/xml/System/IObserver`1.xml index 95ae912b5db..1d7ea0b06b3 100644 --- a/xml/System/IObserver`1.xml +++ b/xml/System/IObserver`1.xml @@ -82,25 +82,25 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet5"::: The `LocationReporter` class provides the implementation. It displays information about the current location to the console. Its constructor includes a `name` parameter, which allows the `LocationReporter` instance to identify itself in its string output. It also includes a `Subscribe` method, which wraps a call to the provider's method. This enables the method to assign the returned reference to a private variable. The `LocationReporter` class also includes an `Unsubscribe` method, which calls the method of the object returned by the method. The following code defines the `LocationReporter` class. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet8"::: The `LocationTracker` class provides the implementation. Its `TrackLocation` method is passed a nullable `Location` object that contains the latitude and longitude data. If the `Location` value is not `null`, the `TrackLocation` method calls the method of each observer. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet6"::: If the `Location` value is `null`, the `TrackLocation` method instantiates a `LocationNotFoundException` object, which is shown in the following example. It then calls each observer's method and passes it the `LocationNotFoundException` object. Note that `LocationNotFoundException` derives from but does not add any new members. :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/provider.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/provider.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/provider.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/provider.vb" id="Snippet7"::: Observers register to receive notifications from a `TrackLocation` object by calling its method, which assigns a reference to the observer object to a private generic object. The method returns an `Unsubscriber` object, which is an implementation that enables observers to stop receiving notifications. The `LocationTracker` class also includes an `EndTransmission` method. When no further location data is available, the method calls each observer's method and then clears the internal list of observers. @@ -108,7 +108,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/program.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/program.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/module1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/module1.vb" id="Snippet9"::: ]]> @@ -168,7 +168,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet11"::: ]]> @@ -230,7 +230,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet10"::: ]]> @@ -292,7 +292,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IObservableT/Overview/observer.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/IObservableT/Overview/observer.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.iobserver.class/vb/observer.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/IObservableT/Overview/observer.vb" id="Snippet12"::: ]]> diff --git a/xml/System/IndexOutOfRangeException.xml b/xml/System/IndexOutOfRangeException.xml index 5e8d14dc84e..b829d3e31b3 100644 --- a/xml/System/IndexOutOfRangeException.xml +++ b/xml/System/IndexOutOfRangeException.xml @@ -82,13 +82,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/length1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/length1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length1.vb" id="Snippet3"::: To correct the error, you can use code like the following. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/length2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/length2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/length2.vb" id="Snippet4"::: Alternately, instead of iterating all the elements in the array by their index, you can use the `foreach` statement (in C#), the `for...in` statement (in F#), or the `For Each` statement (in Visual Basic). @@ -96,19 +96,19 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/Uninit1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/Uninit1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/Uninit1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/Uninit1.vb" id="Snippet10"::: - Using a value returned by a search method to iterate a portion of an array or collection starting at a particular index position. If you forget to check whether the search operation found a match, the runtime throws an exception, as shown in this example. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/negative1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/negative1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative1.vb" id="Snippet5"::: In this case, the method returns -1, which is an invalid index value, when it fails to find a match. To correct this error, check the search method's return value before iterating the array, as shown in this example. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/negative2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/negative2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/negative2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/negative2.vb" id="Snippet6"::: - Trying to use or enumerate a result set, collection, or array returned by a query without testing whether the returned object has any valid data. @@ -137,13 +137,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/nonzero1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/nonzero1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero1.vb" id="Snippet1"::: To correct the error, as the following example does, you can call the method instead of making assumptions about the starting index of an array. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/nonzero2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/nonzero2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/nonzero2.vb" id="Snippet2"::: Note that when you call the method to get the starting index of an array, you should also call the method to get its ending index. @@ -151,13 +151,13 @@ :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/foreach1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/foreach1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach1.vb" id="Snippet7"::: The iteration construct returns each value in an array or collection, not its index. To eliminate the exception, use this code. :::code language="csharp" source="~/snippets/csharp/System/IndexOutOfRangeException/Overview/foreach2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/IndexOutOfRangeException/Overview/foreach2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/IndexOutOfRangeException/Overview/foreach2.vb" id="Snippet8"::: - Providing an invalid column name to the property. diff --git a/xml/System/Int16.xml b/xml/System/Int16.xml index e6e737a4a48..423f0682809 100644 --- a/xml/System/Int16.xml +++ b/xml/System/Int16.xml @@ -858,7 +858,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int16/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int16.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int16/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int16.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1494,7 +1494,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.MaxValue/fs/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1656,7 +1656,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.MaxValue/fs/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1750,7 +1750,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet1"::: ]]> @@ -1960,7 +1960,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2073,7 +2073,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet4"::: ]]> @@ -2305,7 +2305,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int16/Parse/Parse.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.Parse/fs/Parse.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.Parse/vb/Parse.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/Parse/Parse.vb" id="Snippet3"::: ]]> @@ -6142,7 +6142,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -6243,7 +6243,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet2"::: ]]> @@ -6339,7 +6339,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -6447,7 +6447,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.ToString/fs/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.ToString/vb/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -6802,7 +6802,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7188,7 +7188,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int16/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int16.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int16.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int16/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Int32.xml b/xml/System/Int32.xml index b2c753ec08b..24c3b5a48a3 100644 --- a/xml/System/Int32.xml +++ b/xml/System/Int32.xml @@ -482,7 +482,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/CompareTo/CompareTo1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.CompareTo/fs/CompareTo1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.CompareTo/vb/CompareTo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/CompareTo/CompareTo1.vb" id="Snippet1"::: ]]> @@ -893,7 +893,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/Equals/equalsoverloads2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.equals/fs/equalsoverloads2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb" id="Snippet1"::: @@ -977,7 +977,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int32/Equals/equalsoverloads2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.equals/fs/equalsoverloads2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.equals/vb/equalsoverloads2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Equals/equalsoverloads2.vb" id="Snippet1"::: @@ -1548,7 +1548,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/MaxValue/maxvalue1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.maxvalue/fs/maxvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb" id="Snippet1"::: ]]> @@ -1708,7 +1708,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/MaxValue/maxvalue1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int32.maxvalue/fs/maxvalue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int32.maxvalue/vb/maxvalue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/MaxValue/maxvalue1.vb" id="Snippet1"::: ]]> @@ -1802,7 +1802,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -2015,7 +2015,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2371,7 +2371,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int32/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.Parse/fs/Parse3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.Parse/vb/Parse3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6223,7 +6223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6336,7 +6336,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6442,7 +6442,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6558,7 +6558,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6915,7 +6915,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7307,7 +7307,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int32/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int32.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int32.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int32/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Int64.xml b/xml/System/Int64.xml index a3cf6ad23c1..178ad7e2d71 100644 --- a/xml/System/Int64.xml +++ b/xml/System/Int64.xml @@ -880,7 +880,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int64/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Equals/equalsoverl.vb" id="Snippet1"::: @@ -956,7 +956,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Int64/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.equals/fs/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1749,7 +1749,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse1.vb" id="Snippet1"::: ]]> @@ -1962,7 +1962,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse2.vb" id="Snippet2"::: ]]> @@ -2309,7 +2309,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/Int64/Parse/Parse3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.int64.parse/fs/Parse3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.int64.parse/vb/Parse3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/Parse/Parse3.vb" id="Snippet3"::: ]]> @@ -6146,7 +6146,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet1"::: ]]> @@ -6255,7 +6255,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet2"::: ]]> @@ -6357,7 +6357,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet3"::: ]]> @@ -6473,7 +6473,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/ToString/ToString.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.ToString/fs/ToString.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.ToString/vb/ToString.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/ToString/ToString.vb" id="Snippet4"::: ]]> @@ -6836,7 +6836,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/TryParse/TryParse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.TryParse/fs/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/TryParse/TryParse1.vb" id="Snippet1"::: Some of the strings that the method is unable to convert in this example are: @@ -7227,7 +7227,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/Int64/TryParse/TryParse2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Int64.TryParse/fs/TryParse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Int64.TryParse/vb/TryParse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Int64/TryParse/TryParse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/IntPtr.xml b/xml/System/IntPtr.xml index 24a4e370873..4593f131e4b 100644 --- a/xml/System/IntPtr.xml +++ b/xml/System/IntPtr.xml @@ -306,7 +306,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.intptr/cpp/topointer.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/IntPtr/ToPointer/topointer.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/ToPointer/topointer.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr/vb/topointer.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Overview/topointer.vb" id="Snippet1"::: ]]> @@ -623,7 +623,7 @@ :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Add/add1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Add/add1.vb" id="Snippet1"::: ]]> @@ -1811,7 +1811,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/IntPtr/op_Addition/addition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/op_Addition/addition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/addition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/op_Addition/addition1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -2431,7 +2431,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/IntPtr/op_Addition/op_subtraction1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/op_Addition/op_subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.op_addition/vb/op_subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/op_Addition/op_subtraction1.vb" id="Snippet2"::: Languages that do not support custom operators can call the method instead. @@ -3130,7 +3130,7 @@ It is recommended that a function return `1`, `0`, and `-1`, respectively. :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Subtract/subtract1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Subtract/subtract1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.subtract/vb/subtract1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Subtract/subtract1.vb" id="Snippet1"::: ]]> @@ -6837,7 +6837,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Zero/zero4.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Zero/zero4.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero4.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Zero/zero4.vb" id="Snippet2"::: > [!NOTE] > Although is equivalent to `null` for Windows API functions with parameters or return values that can be either pointers or `null`, is not equivalent to `null`. Passing `null` to the `IntPtr.Zero.Equals` method always returns `false`. @@ -6846,7 +6846,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/IntPtr/Zero/zero2.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/IntPtr/Zero/zero2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.intptr.zero/vb/zero2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/IntPtr/Zero/zero2.vb" id="Snippet1"::: ]]> diff --git a/xml/System/InvalidTimeZoneException.xml b/xml/System/InvalidTimeZoneException.xml index e2cf124f717..e6ea198d54e 100644 --- a/xml/System/InvalidTimeZoneException.xml +++ b/xml/System/InvalidTimeZoneException.xml @@ -338,7 +338,7 @@ The following code tries to retrieve a object that represents the Central Standard Time zone. If an occurs in the `RetrieveTimeZone` method call, the exception handler wraps the exception in a new object, which it returns to the caller. The caller's exception handler then displays information about both the outer and inner exceptions. :::code language="csharp" source="~/snippets/csharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Lazy`1.xml b/xml/System/Lazy`1.xml index 65905dae6a9..a08a0b95fdf 100644 --- a/xml/System/Lazy`1.xml +++ b/xml/System/Lazy`1.xml @@ -147,38 +147,38 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetnewlazy"::: The factory method shows the creation of the object, with a placeholder for further initialization: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetfactoryfunc"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetfactoryfunc"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetfactoryfunc"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetfactoryfunc"::: Note that the first two code sections could be combined by using a lambda function, as shown here: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/lambda.cs" id="Snippetinitwithlambda"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/lambda.fs" id="Snippetinitwithlambda"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/lambda.vb" id="Snippetinitwithlambda"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/lambda.vb" id="Snippetinitwithlambda"::: The example pauses, to indicate that an indeterminate period may elapse before lazy initialization occurs. When you press the **Enter** key, the example creates and starts three threads. The `ThreadProc` method that's used by all three threads calls the property. The first time this happens, the `LargeObject` instance is created: :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetvalueprop"::: The constructor of the `LargeObject` class, which includes the last key section of code, displays a message and records the identity of the initializing thread. The output from the program appears at the end of the full code listing. :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetlargector"::: > [!NOTE] > For simplicity, this example uses a global instance of , and all the methods are `static` (`Shared` in Visual Basic). These are not requirements for the use of lazy initialization. :::code language="csharp" source="~/snippets/csharp/System/LazyT/Overview/example.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/Overview/example.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/Overview/example.vb" id="Snippetall"::: ]]> @@ -259,13 +259,13 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetnewlazy"::: The example creates and starts three threads that block on a object, so that the example can release the threads all at once. The `ThreadProc` method that's used by all three threads calls the property to get the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetvalueprop"::: The class provides locking, so that only one thread is allowed to create the `LargeObject` instance. The example demonstrates that the other threads all get the same instance. @@ -274,7 +274,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctor/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example.vb" id="Snippetall"::: ]]> @@ -348,7 +348,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example1.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example1.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorbool/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example1.vb" id="Snippetall"::: ]]> @@ -417,19 +417,19 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetnewlazy"::: The example creates and starts three threads. The `ThreadProc` method that's used by all three threads calls the property to get the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetvalueprop"::: In the constructor of the `LargeObject` class, the third key section of code throws an exception the first time a `LargeObject` instance is created, but thereafter allows instance creation to occur: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetlargector"::: When the example is run, the first thread that tries to create an instance of `LargeObject` fails, and the exception is caught. You might expect that the next thread would successfully create an instance, but the object has cached the exception. Because of this, all three threads throw the exception. @@ -438,7 +438,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example2.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example2.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfunc/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example2.vb" id="Snippetall"::: ]]> @@ -510,19 +510,19 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetnewlazy"::: The example creates and starts three threads that block on a object, so that the example can release the threads all at once. In the `ThreadProc` method that's used by all three threads, calling the property creates the `LargeObject` instance: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetvalueprop"::: Because the constructor for the instance specified , all three threads are allowed to create `LargeObject` instances. The example demonstrates this by displaying console messages in the constructor and in the finalizer of the `LargeObject` class: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetctorfinalizer"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetctorfinalizer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetctorfinalizer"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetctorfinalizer"::: However, the object ensures that only one instance is used by all threads. The output from the example shows that all three threads use the same instance, and also shows that the other two instances can be reclaimed by garbage collection. @@ -531,7 +531,7 @@ :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example5.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example5.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorltsm/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example5.vb" id="Snippetall"::: ]]> @@ -653,19 +653,19 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetnewlazy"::: In the call to the constructor, the `isThreadSafe` parameter is `false`, so the is not thread safe. Because it's not thread safe, the example calls the property three times on the same thread: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetvalueprop"::: In the constructor of the `LargeObject` class, the third key section of code throws an exception the first time a `LargeObject` instance is created, but thereafter allows instance creation to occur: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetlargector"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetlargector"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetlargector"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetlargector"::: When the example is run, the first attempt to create an instance of `LargeObject` fails, and the exception is caught. You might expect that the next attempt would succeed, but the object has cached the exception. Because of this, all three attempts throw the exception. @@ -674,7 +674,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example3.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example3.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncbool/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example3.vb" id="Snippetall"::: ]]> @@ -748,7 +748,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetnewlazy"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetnewlazy"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetnewlazy"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetnewlazy"::: The lazy initializer uses a function to perform the initialization. In this case, a function is required because there is no parameterless constructor for the `LargeObject` class. @@ -756,13 +756,13 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetvalueprop"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetvalueprop"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetvalueprop"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetvalueprop"::: In the third key section of code, the lazy initialization function is called to create the `LargeObject` instance. The function throws an exception the first time it's called: :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetfactoryfunc"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetfactoryfunc"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetfactoryfunc"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetfactoryfunc"::: With any other setting, an unhandled exception in the initialization function would be cached. However, suppresses exception caching. The output from the example demonstrates that a subsequent attempt to initialize the object succeeds. @@ -773,7 +773,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetctorfinalizer"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetctorfinalizer"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetctorfinalizer"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetctorfinalizer"::: The object ensures that only one instance is used by all threads (except the thread where the initialization function throws an exception). The output from the example shows this. @@ -782,7 +782,7 @@ An instance created with this constructor is usable by multiple threads concurre :::code language="csharp" source="~/snippets/csharp/System/LazyT/.ctor/example4.cs" id="Snippetall"::: :::code language="fsharp" source="~/snippets/fsharp/System/LazyT/.ctor/example4.fs" id="Snippetall"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.lazy`1.ctorfuncltsm/vb/example.vb" id="Snippetall"::: + :::code language="vb" source="~/snippets/visualbasic/System/LazyT/.ctor/example4.vb" id="Snippetall"::: ]]> diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 33faeae01b8..8bea436cb0a 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -228,7 +228,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs2.vb" id="Snippet2"::: ]]> @@ -301,7 +301,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs3.vb" id="Snippet3"::: ]]> @@ -376,7 +376,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs4.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs4.vb" id="Snippet4"::: ]]> @@ -451,7 +451,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs5.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs5.vb" id="Snippet5"::: ]]> @@ -576,7 +576,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs6.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs6.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs6.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs6.vb" id="Snippet6"::: ]]> @@ -653,7 +653,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Abs/abs7.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Abs/abs7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Abs/vb/abs7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Abs/abs7.vb" id="Snippet7"::: ]]> @@ -1673,7 +1673,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -1756,7 +1756,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet2"::: ]]> @@ -2702,7 +2702,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Cos/sincos.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Cos/sincos.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinCos/VB/sincos.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Cos/sincos.vb" id="Snippet1"::: ]]> @@ -2777,7 +2777,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Cosh/sinhcosh.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Cosh/sinhcosh.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.SinhCosh/VB/sinhcosh.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Cosh/sinhcosh.vb" id="Snippet1"::: ]]> @@ -3379,7 +3379,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/DivRem/divrem1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/DivRem/divrem1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/DivRem/divrem1.vb" id="Snippet1"::: ]]> @@ -3454,7 +3454,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/DivRem/divrem2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/DivRem/divrem2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.divrem/vb/divrem2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/DivRem/divrem2.vb" id="Snippet2"::: ]]> @@ -3520,7 +3520,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/E/efield.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/E/efield.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.E/VB/efield.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/E/efield.vb" id="Snippet1"::: ]]> @@ -3599,7 +3599,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Exp/exp.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Exp/exp.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Exp/VB/exp.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Exp/exp.vb" id="Snippet1"::: ]]> @@ -3685,7 +3685,7 @@ Dim i2 As Integer = CInt(Math.Ceiling(d2)) ' Result: 7969 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet1"::: ]]> @@ -3769,7 +3769,7 @@ Dim i2 As Integer = CInt(Math.Floor(d2)) ' Result: 7968 :::code language="csharp" source="~/snippets/csharp/System/Math/Ceiling/Ceiling1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Ceiling/Ceiling1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Ceiling/vb/Ceiling1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Ceiling/Ceiling1.vb" id="Snippet2"::: ]]> @@ -3918,7 +3918,7 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * :::code language="csharp" source="~/snippets/csharp/System/Math/IEEERemainder/ieeeremainder1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/IEEERemainder/ieeeremainder1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.ieeeremainder/vb/ieeeremainder1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/IEEERemainder/ieeeremainder1.vb" id="Snippet1"::: ]]> @@ -4327,7 +4327,7 @@ Remainder = (Math.Abs(dividend) - (Math.Abs(divisor) * :::code language="csharp" source="~/snippets/csharp/System/Math/Log10/log10.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Log10/log10.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Log10/VB/log10.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Log10/log10.vb" id="Snippet1"::: ]]> @@ -6344,7 +6344,7 @@ The following example uses the method to calculate the :::code language="csharp" source="~/snippets/csharp/System/Math/Pow/pow1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Pow/pow1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.pow/vb/pow1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Math/Pow/pow1.vb" id="Snippet1"::: ]]> @@ -6514,7 +6514,7 @@ The following example illustrates the bias that can result from consistently rou :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mean1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/mean1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mean1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mean1.vb" id="Snippet2"::: By default, the method uses the round to nearest even convention. The following table lists the overloads of the method and the rounding convention that each uses. @@ -6538,7 +6538,7 @@ The following example illustrates the problem. It repeatedly adds .1 to 11.0 and :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/precision1.cs" interactive="try-dotnet" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/precision1.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision1.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/precision1.vb" id="Snippet7"::: Problems of precision in rounding midpoint values are most likely to arise in the following conditions: @@ -6556,7 +6556,7 @@ Problems of precision in rounding midpoint values are most likely to arise in th :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/precision2.cs" interactive="try-dotnet" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/precision2.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/precision2.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/precision2.vb" id="Snippet8"::: #### Rounding and single-precision floating-point values @@ -6564,7 +6564,7 @@ The method includes overloads that accept arguments :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/single1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/single1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/single1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/single1.vb" id="Snippet1"::: This unexpected result is due to a loss of precision in the conversion of the value to a . Because the resulting value of 16.325000762939453 is not a midpoint value and is greater than 16.325, it is always rounded upward. @@ -6656,7 +6656,7 @@ The following example demonstrates the @@ -6757,7 +6757,7 @@ The following example demonstrates rounding to the nearest integer value. :::code language="csharp" source="~/snippets/csharp/System/Math/Round/round2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Round/round2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Round/round2.vb" id="Snippet1"::: @@ -6834,7 +6834,7 @@ The following example rounds decimal values with two fractional digits to values :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/source.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/source.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/source.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/source.vb" id="Snippet3"::: ]]> @@ -6917,7 +6917,7 @@ The following example displays values returned by the @@ -7010,7 +7010,7 @@ The following example rounds double values with two fractional digits to doubles :::code language="csharp" source="~/snippets/csharp/System/Math/Round/round3.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Round/round3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round/vb/round3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Round/round3.vb" id="Snippet2"::: @@ -7086,7 +7086,7 @@ The following example displays values returned by the @@ -7097,7 +7097,7 @@ The following example displays values returned by the @@ -7181,7 +7181,7 @@ The following example demonstrates how to use the me :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mpr.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Decimal/Round/mpr.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mpr.vb" id="Snippet1"::: ]]> @@ -7266,7 +7266,7 @@ The following example demonstrates how to use the @@ -7279,7 +7279,7 @@ The following example demonstrates how to use the @@ -8103,7 +8103,7 @@ The following example demonstrates how to use the @@ -8239,7 +8239,7 @@ The following example demonstrates how to use the @@ -8324,7 +8324,7 @@ The following example demonstrates how to use the @@ -8475,7 +8475,7 @@ The following example demonstrates how to use the @@ -8595,7 +8595,7 @@ The following example demonstrates how to use the @@ -8674,7 +8674,7 @@ Dim i As Integer = CInt(Math.Truncate(d)) ' Result: 164 :::code language="csharp" source="~/snippets/csharp/System/Math/Truncate/Truncate1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Math/Truncate/Truncate1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Math.Truncate/vb/Truncate1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Math/Truncate/Truncate1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/MidpointRounding.xml b/xml/System/MidpointRounding.xml index 259a49dea89..2b0e9bbcf9c 100644 --- a/xml/System/MidpointRounding.xml +++ b/xml/System/MidpointRounding.xml @@ -70,7 +70,7 @@ The following example demonstrates the method in conjunction with the `MidpointRounding` enumeration: :::code language="csharp" source="~/snippets/csharp/System/Decimal/Round/mpr.cs" interactive="try-dotnet-method" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.math.round.overload/vb/mpr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Decimal/Round/mpr.vb" id="Snippet1"::: ]]> diff --git a/xml/System/NotImplementedException.xml b/xml/System/NotImplementedException.xml index ce0c6715a10..edd5844b176 100644 --- a/xml/System/NotImplementedException.xml +++ b/xml/System/NotImplementedException.xml @@ -77,7 +77,7 @@ The following example throws this exception for a method that has not been devel :::code language="csharp" source="~/snippets/csharp/System/NotImplementedException/Overview/program.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NotImplementedException/Overview/program.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.notimplementedexception/vb/program.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/NotImplementedException/Overview/program.vb" id="Snippet1"::: ]]> diff --git a/xml/System/NullReferenceException.xml b/xml/System/NullReferenceException.xml index 6e51f6417a2..5b253951641 100644 --- a/xml/System/NullReferenceException.xml +++ b/xml/System/NullReferenceException.xml @@ -84,25 +84,25 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example1.vb" id="Snippet1"::: Some compilers issue a warning when they compile this code. Others issue an error, and the compilation fails. To address this problem, instantiate the object so that its value is no longer `null`. The following example does this by calling a type's class constructor. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example1a.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example1a.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example1a.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example1a.vb" id="Snippet2"::: - You forgot to dimension an array before initializing it. In the following example, `values` is declared to be an integer array, but the number of elements that it contains is never specified. The attempt to initialize its values therefore throws a exception. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array3.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array3.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array3.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array3.vb" id="Snippet10"::: You can eliminate the exception by declaring the number of elements in the array before initializing it, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array4.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array4.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array4.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array4.vb" id="Snippet11"::: For more information on declaring and initializing arrays, see [Arrays](/dotnet/csharp/programming-guide/arrays/) and [Arrays](/dotnet/visual-basic/programming-guide/language-features/arrays/). @@ -112,13 +112,13 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/nullreturn2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/nullreturn2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2.vb" id="Snippet4"::: To address this problem, test the method's return value to ensure that it's not `null` before calling any of its members, as the following example does. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/nullreturn2.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/nullreturn2a.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/nullreturn2a.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/nullreturn2a.vb" id="Snippet5"::: - You're using an expression (for example, you chained a list of methods or properties together) to retrieve a value and, although you're checking whether the value is `null`, the runtime still throws a exception. This occurs because one of the intermediate values in the expression returns `null`. As a result, your test for `null` is never evaluated. @@ -126,13 +126,13 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Chain1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Chain1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Chain1.vb" id="Snippet6"::: The exception is thrown because `pages.CurrentPage` returns `null` if no page information is stored in the cache. This exception can be corrected by testing the value of the `CurrentPage` property before retrieving the current `Page` object's `Title` property, as the following example does: :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Chain2.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Chain2.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Chain2.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Chain2.vb" id="Snippet7"::: - You're enumerating the elements of an array that contains reference types, and your attempt to process one of the elements throws a exception. @@ -140,19 +140,19 @@ A exception is thrown when you try to acces :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array1.vb" id="Snippet8"::: This exception occurs if you assume that each element of the array must contain a non-null value, and the value of the array element is in fact `null`. The exception can be eliminated by testing whether the element is `null` before performing any operation on that element, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/Array2.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/Array2.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/Array2.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/Array2.vb" id="Snippet9"::: - A method when it accesses a member of one of its arguments, but that argument is `null`. The `PopulateNames` method in the following example throws the exception at the line `names.Add(arrName);`. :::code language="csharp" source="~/snippets/csharp/System/NullReferenceException/Overview/example2.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullReferenceException/Overview/example2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullreferenceexception.class/vb/example2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullReferenceException/Overview/example2.vb" id="Snippet3"::: To address this issue, make sure that the argument passed to the method is not `null`, or handle the thrown exception in a `try…catch…finally` block. For more information, see [Exceptions](/dotnet/standard/exceptions/). diff --git a/xml/System/Nullable.xml b/xml/System/Nullable.xml index bfcb81f51e2..5ab4d38257d 100644 --- a/xml/System/Nullable.xml +++ b/xml/System/Nullable.xml @@ -284,7 +284,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Nullable/GetUnderlyingType/gut.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Nullable/GetUnderlyingType/gut.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable_GetUnderlyingType/vb/gut.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Nullable/GetUnderlyingType/gut.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Nullable`1.xml b/xml/System/Nullable`1.xml index 1f0ec33bc6d..68227ba2309 100644 --- a/xml/System/Nullable`1.xml +++ b/xml/System/Nullable`1.xml @@ -72,7 +72,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/Overview/tarow.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/Overview/tarow.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.class/vb/tarow.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/NullableT/Overview/tarow.vb" id="Snippet1"::: ]]> @@ -207,7 +207,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/Equals/eq.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/Equals/eq.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.Equals/vb/eq.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/Equals/eq.vb" id="Snippet1"::: ]]> @@ -277,7 +277,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/GetValueOrDefault/gvod.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/GetValueOrDefault/gvod.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.GetValueOrDefault/vb/gvod.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/GetValueOrDefault/gvod.vb" id="Snippet1"::: ]]> @@ -471,7 +471,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/HasValue/hasvalue2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/HasValue/hasvalue2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb" id="Snippet1"::: ]]> @@ -535,7 +535,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/op_Explicit/explicit1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/op_Explicit/explicit1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.conversion/vb/explicit1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/op_Explicit/explicit1.vb" id="Snippet1"::: ]]> @@ -660,7 +660,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/ToString/ts.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/ToString/ts.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullableOfT.ToString/vb/ts.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/ToString/ts.vb" id="Snippet1"::: ]]> @@ -730,7 +730,7 @@ The following code example defines three rows of a table in the Microsoft Pubs s :::code language="csharp" source="~/snippets/csharp/System/NullableT/HasValue/hasvalue2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/NullableT/HasValue/hasvalue2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.nullable~1.hasvalue/vb/hasvalue2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/NullableT/HasValue/hasvalue2.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Object.xml b/xml/System/Object.xml index 5115fad16ee..8f9ba19959d 100644 --- a/xml/System/Object.xml +++ b/xml/System/Object.xml @@ -280,7 +280,7 @@ The following example defines a Point type derived from the :::code language="csharp" source="~/snippets/csharp/System/Object/Equals/equals_static2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/Equals/equals_static2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.equals/vb/equals_static2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/Equals/equals_static2.vb" id="Snippet1"::: ]]> @@ -514,7 +514,7 @@ For an additional example that overrides the me :::code language="csharp" source="~/snippets/csharp/System/Object/GetType/gettype1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/GetType/gettype1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/gettype1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/GetType/gettype1.vb" id="Snippet1"::: > [!NOTE] > To determine whether an object is a specific type, you can use your language's type comparison keyword or construct. For example, you can use the `TypeOf…Is` construct in Visual Basic or the `is` keyword in C#. @@ -523,7 +523,7 @@ For an additional example that overrides the me :::code language="csharp" source="~/snippets/csharp/System/Object/GetType/GetTypeEx2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/GetType/GetTypeEx2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.gettype/vb/GetTypeEx2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/GetType/GetTypeEx2.vb" id="Snippet2"::: The object exposes the metadata associated with the class of the current . @@ -691,7 +691,7 @@ To illustrate the difference between a shallow and a deep copy operation, consid :::code language="csharp" source="~/snippets/csharp/System/Object/ReferenceEquals/referenceequals4.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/ReferenceEquals/referenceequals4.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequals4.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/ReferenceEquals/referenceequals4.vb" id="Snippet1"::: For information on boxing value types, see [Boxing and Unboxing](/dotnet/csharp/programming-guide/types/boxing-and-unboxing). @@ -699,7 +699,7 @@ To illustrate the difference between a shallow and a deep copy operation, consid :::code language="csharp" source="~/snippets/csharp/System/Object/ReferenceEquals/referenceequalsa.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Object/ReferenceEquals/referenceequalsa.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.object.referenceequals/vb/referenceequalsa.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Object/ReferenceEquals/referenceequalsa.vb" id="Snippet2"::: For more information about string interning, see . diff --git a/xml/System/ObjectDisposedException.xml b/xml/System/ObjectDisposedException.xml index a3fb0ed061c..11370d1b13a 100644 --- a/xml/System/ObjectDisposedException.xml +++ b/xml/System/ObjectDisposedException.xml @@ -74,7 +74,7 @@ :::code language="csharp" source="~/snippets/csharp/System/ObjectDisposedException/Overview/dispose1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObjectDisposedException/Overview/dispose1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.objectdisposedexception/vb/dispose1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObjectDisposedException/Overview/dispose1.vb" id="Snippet1"::: - You've called an object's `Close` method, and you're trying to access an instance member that gets or sets the object's state. Often, the `Close` method provides a type's public implementation of the method. The same is true for `CloseAsync` and ``. diff --git a/xml/System/ObsoleteAttribute.xml b/xml/System/ObsoleteAttribute.xml index 0e988812759..17cbde0a428 100644 --- a/xml/System/ObsoleteAttribute.xml +++ b/xml/System/ObsoleteAttribute.xml @@ -373,7 +373,7 @@ This property represents the unique ID that can be used to suppress the warnings :::code language="csharp" source="~/snippets/csharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb" id="Snippet1"::: ]]> @@ -430,7 +430,7 @@ This property represents the unique ID that can be used to suppress the warnings :::code language="csharp" source="~/snippets/csharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ObsoleteAttribute/IsError/obsoleteattribute_message.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.obsoleteattribute.message/vb/obsoleteattribute_message.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ObsoleteAttribute/IsError/obsoleteattribute_message.vb" id="Snippet1"::: ]]> diff --git a/xml/System/OperatingSystem.xml b/xml/System/OperatingSystem.xml index b39dc3f722b..7395f05386b 100644 --- a/xml/System/OperatingSystem.xml +++ b/xml/System/OperatingSystem.xml @@ -96,7 +96,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Overview/osinfo1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Overview/osinfo1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.environment.osversion/vb/osinfo1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Overview/osinfo1.vb" id="Snippet1"::: ]]> @@ -208,7 +208,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Clone/clone.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Clone/clone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Clone/VB/clone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Clone/clone.vb" id="Snippet1"::: ]]> @@ -1126,7 +1126,7 @@ :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Platform/plat_ver.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Platform/plat_ver.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb" id="Snippet1"::: ]]> @@ -1250,7 +1250,7 @@ For a list of Windows operating system versions and their corresponding version :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/ToString/ctor_tostr.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/ToString/ctor_tostr.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Ctor_ToString/VB/ctor_tostr.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/ToString/ctor_tostr.vb" id="Snippet1"::: ]]> @@ -1312,7 +1312,7 @@ For a list of Windows operating system versions and their corresponding version :::code language="csharp" source="~/snippets/csharp/System/OperatingSystem/Platform/plat_ver.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OperatingSystem/Platform/plat_ver.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.OperatingSystem.Platform_Version/VB/plat_ver.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OperatingSystem/Platform/plat_ver.vb" id="Snippet1"::: ]]> diff --git a/xml/System/OutOfMemoryException.xml b/xml/System/OutOfMemoryException.xml index bed0bf6119e..0fa8b2ed5d7 100644 --- a/xml/System/OutOfMemoryException.xml +++ b/xml/System/OutOfMemoryException.xml @@ -92,7 +92,7 @@ An exception has two major causes: :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/failfast1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/failfast1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/failfast1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/failfast1.vb" id="Snippet2"::: Some of the conditions under which the exception is thrown and the actions you can take to eliminate it include the following: @@ -102,7 +102,7 @@ You are attempting to increase the length of a :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/sb_example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/sb_example1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/sb_example1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/sb_example1.vb" id="Snippet1"::: You can do either of the following to address the error: @@ -142,13 +142,13 @@ The following example gets a array that consists of 200 million floating-point v :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/data1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/data1.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data1.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/data1.vb" id="Snippet3"::: The following example eliminates the exception by processing the incoming data without storing the entire data set in memory, serializing the data to a file if necessary to permit further processing (these lines are commented out in the example, since in this case they produce a file whose size is greater than 1GB), and returning the calculated mean and the number of cases to the calling routine. :::code language="csharp" source="~/snippets/csharp/System/OutOfMemoryException/Overview/data2.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/OutOfMemoryException/Overview/data2.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.outofmemoryexception/vb/data2.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/OutOfMemoryException/Overview/data2.vb" id="Snippet4"::: **You are repeatedly concatenating large strings.** diff --git a/xml/System/OverflowException.xml b/xml/System/OverflowException.xml index 05bc96351e7..e3387628170 100644 --- a/xml/System/OverflowException.xml +++ b/xml/System/OverflowException.xml @@ -74,13 +74,13 @@ :::code language="csharp" source="~/snippets/csharp/System/OverflowException/Overview/arithmetic1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/OverflowException/Overview/arithmetic1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb" id="Snippet1"::: - A casting or conversion operation attempts to perform a narrowing conversion, and the value of the source data type is outside the range of the target data type. The following example illustrates the that is thrown by the attempt to convert a large unsigned byte value to a signed byte value. :::code language="csharp" source="~/snippets/csharp/System/OverflowException/Overview/arithmetic1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/OverflowException/Overview/arithmetic1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.overflowexception/vb/arithmetic1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/OverflowException/Overview/arithmetic1.vb" id="Snippet2"::: In each case, the result of the operation is a value that is less than the `MinValue` property or greater than the `MaxValue` property of the data type that results from the operation. diff --git a/xml/System/ParamArrayAttribute.xml b/xml/System/ParamArrayAttribute.xml index fecfa12314b..1655685d4f1 100644 --- a/xml/System/ParamArrayAttribute.xml +++ b/xml/System/ParamArrayAttribute.xml @@ -85,13 +85,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ParamArrayAttribute/Overview/Example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ParamArrayAttribute/Overview/Example.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb" id="Snippet1"::: The following example illustrates three different calls to the `Temperature.Display` method. In the first, the method is passed an array of format strings. In the second, the method is passed four individual format strings as arguments. In the third, the method is called with no arguments. As the output from the example illustrates, the Visual Basic and C# compilers translate this into a call to the `Display` method with an empty string array. :::code language="csharp" source="~/snippets/csharp/System/ParamArrayAttribute/Overview/Example.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ParamArrayAttribute/Overview/Example.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.ParamArrayAttribute/vb/Example.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ParamArrayAttribute/Overview/Example.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Predicate`1.xml b/xml/System/Predicate`1.xml index a8d8c70ffe7..655c0c15863 100644 --- a/xml/System/Predicate`1.xml +++ b/xml/System/Predicate`1.xml @@ -84,7 +84,7 @@ :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicate1.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicate1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicate1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicate1.vb" id="Snippet3"::: @@ -93,13 +93,13 @@ :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicateex2.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicateex2.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex2.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicateex2.vb" id="Snippet4"::: The following example is identical to the previous example, except that it uses a lambda expression to represent the delegate. Each element of the `points` array is passed to the lambda expression until the expression finds an element that meets the search criteria. In this case, the lambda expression returns `true` if the product of the X and Y fields is greater than 100,000. :::code language="csharp" source="~/snippets/csharp/System/PredicateT/Overview/predicateex1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/PredicateT/Overview/predicateex1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Predicate`1/vb/predicateex1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/PredicateT/Overview/predicateex1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Random.xml b/xml/System/Random.xml index 7056e477d1f..ee6681609de 100644 --- a/xml/System/Random.xml +++ b/xml/System/Random.xml @@ -79,13 +79,13 @@ The following example creates a single random number generator and calls its @@ -168,7 +168,7 @@ The following example uses the parameterless constructor to instantiate three @@ -228,7 +228,7 @@ The following example uses the parameterless constructor to instantiate three object that you use to generate all the random numbers in your application. This yields slightly better performance, since instantiating a random number generator is fairly expensive. @@ -239,7 +239,7 @@ The following example uses the parameterless constructor to instantiate three @@ -603,12 +603,12 @@ The following example uses the parameterless constructor to instantiate three to generate a sequence of random numbers whose distribution differs from the uniform distribution generated by the method of the base class. It overrides the method to provide the distribution of random numbers, and overrides the method to use series of random numbers. :::code language="csharp" source="~/snippets/csharp/System/Random/Next/sample.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Next/sample.vb" id="Snippet1"::: ]]> @@ -679,13 +679,13 @@ The following example uses the parameterless constructor to instantiate three property is supplied as a the `maxValue` parameter. :::code language="csharp" source="~/snippets/csharp/System/Random/Overview/next1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Next/FS/next1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Overview/next1.vb" id="Snippet3"::: ]]> @@ -759,13 +759,13 @@ The following example uses the parameterless constructor to instantiate three property is supplied as a the `maxValue` parameter. :::code language="csharp" source="~/snippets/csharp/System/Random/Overview/next4.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Next/FS/next4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Next/VB/next4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Overview/next4.vb" id="Snippet4"::: ]]> @@ -969,13 +969,13 @@ Each element of the span of bytes is set to a random number greater than or equa :::code language="csharp" source="~/snippets/csharp/System/Random/.ctor/ctor.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Ctor/FS/ctor.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Ctor/VB/ctor.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/.ctor/ctor.vb" id="Snippet1"::: The following example calls the method to generate 100 random numbers and displays their frequency distribution. :::code language="csharp" source="~/snippets/csharp/System/Random/NextDouble/nextdouble1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.random.nextdouble/fs/nextdouble1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.random.nextdouble/vb/nextdouble1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/NextDouble/nextdouble1.vb" id="Snippet2"::: ]]> @@ -1200,7 +1200,7 @@ Each element of the span of bytes is set to a random number greater than or equa :::code language="csharp" source="~/snippets/csharp/System/Random/Next/sample.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/VS_Snippets_CLR_System/system.Random.Sample/FS/sample.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Random.Sample/VB/sample.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Random/Next/sample.vb" id="Snippet1"::: ]]> diff --git a/xml/System/SByte.xml b/xml/System/SByte.xml index adfec975f07..4738155b290 100644 --- a/xml/System/SByte.xml +++ b/xml/System/SByte.xml @@ -1471,7 +1471,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1631,7 +1631,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1731,7 +1731,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex1.vb" id="Snippet1"::: ]]> @@ -1955,7 +1955,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -2083,7 +2083,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parseex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parseex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.sbyte.parse2/vb/parseex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parseex3.vb" id="Snippet3"::: ]]> @@ -2343,7 +2343,7 @@ For this method matches the IEE :::code language="csharp" source="~/snippets/csharp/System/SByte/Parse/parse_1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/Parse/parse_1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.Parse/VB/parse_1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/Parse/parse_1.vb" id="Snippet2"::: ]]> @@ -6155,7 +6155,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6258,7 +6258,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6354,7 +6354,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6462,7 +6462,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/ToString/tostring5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/ToString/tostring5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.ToString/VB/tostring5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/ToString/tostring5.vb" id="Snippet5"::: ]]> @@ -6833,7 +6833,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/TryParse/TryParse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/TryParse/TryParse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/TryParse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/TryParse/TryParse1.vb" id="Snippet1"::: ]]> @@ -7230,7 +7230,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/SByte/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/SByte/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.SByte.TryParse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/SByte/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/Single.xml b/xml/System/Single.xml index 84b78fac0fb..e23cb07506b 100644 --- a/xml/System/Single.xml +++ b/xml/System/Single.xml @@ -1149,7 +1149,7 @@ The following code example demonstrates the me :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet16"::: ]]> @@ -1860,13 +1860,13 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Epsilon/SingleEquals_25051.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Epsilon/SingleEquals_25051.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb" id="Snippet3"::: Rather than comparing for equality, one recommended technique involves defining an acceptable margin of difference between two values (such as .01% of one of the values). If the absolute value of the difference between the two values is less than or equal to that margin, the difference is likely to be due to differences in precision and, therefore, the values are likely to be equal. The following example uses this technique to compare .33333 and 1/3, the two values that the previous code example found to be unequal. :::code language="csharp" source="~/snippets/csharp/System/Single/Epsilon/SingleEquals_25051.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Epsilon/SingleEquals_25051.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Epsilon/vb/SingleEquals_25051.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/SingleEquals_25051.vb" id="Snippet4"::: In this case, the values are equal. @@ -1882,7 +1882,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet17"::: ]]> @@ -1891,7 +1891,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1951,7 +1951,7 @@ This is known as Euler's number and is approximately 2.7182818284590452354. :::code language="csharp" source="~/snippets/csharp/System/Single/Equals/equalsoverl.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/equalsoverl.vb" id="Snippet2"::: @@ -2655,7 +2655,7 @@ A return value of `false` does not imply that @@ -2789,7 +2789,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet8"::: ]]> @@ -2910,7 +2910,7 @@ This method correctly handles floating-point values and so `2.0` and `3.0` will :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet13"::: ]]> @@ -3130,7 +3130,7 @@ A return value of `false` does not imply that @@ -3871,7 +3871,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/MaxValue/maxvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/MaxValue/maxvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.maxvalue/vb/maxvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/MaxValue/maxvalueex.vb" id="Snippet1"::: @@ -3880,7 +3880,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet4"::: ]]> @@ -4171,7 +4171,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/MinValue/minvalueex.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/MinValue/minvalueex.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.minvalue/vb/minvalueex.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/MinValue/minvalueex.vb" id="Snippet1"::: @@ -4180,7 +4180,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet5"::: ]]> @@ -4277,19 +4277,19 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/nan1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/nan1.vb" id="Snippet1"::: In addition, a method call with a value or an operation on a value returns , as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/nan1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/nan1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/nan1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/nan1.vb" id="Snippet2"::: Use the method to determine whether a value is not a number. In general, operators cannot be used to compare with other values, although comparison methods (such as and ) can. The following example illustrates the difference in behavior between comparison operators and methods. :::code language="csharp" source="~/snippets/csharp/System/Single/NaN/single.nan4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/NaN/single.nan4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.nan/vb/single.nan4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/NaN/single.nan4.vb" id="Snippet4"::: @@ -4298,7 +4298,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet7"::: ]]> @@ -4364,7 +4364,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet9"::: ]]> @@ -4868,7 +4868,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse1.vb" id="Snippet2"::: ]]> @@ -5105,7 +5105,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse2.vb" id="Snippet3"::: ]]> @@ -5496,7 +5496,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/Parse/parse3.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/Parse/parse3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.Parse/VB/parse3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Parse/parse3.vb" id="Snippet4"::: ]]> @@ -5613,7 +5613,7 @@ Pi is approximately 3.1415926535897932385. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet10"::: ]]> @@ -9374,13 +9374,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet1"::: The following code example illustrates the use of the method along with the method. :::code language="csharp" source="~/snippets/csharp/System/Single/CompareTo/singlesample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/CompareTo/singlesample.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single/VB/singlesample.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/Equals/singlesample.vb" id="Snippet3"::: ]]> @@ -9500,7 +9500,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet2"::: ]]> @@ -9604,13 +9604,13 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString7.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString7.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString7.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString7.vb" id="Snippet7"::: The following example displays several values using each of the supported standard numeric format specifiers together with two custom numeric format strings. One of those custom format strings illustrates how to pad a value with leading zeros. In converting the numeric values to strings, the example uses the formatting conventions of the en-US culture. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet3"::: ]]> @@ -9720,7 +9720,7 @@ Tau is approximately 6.2831853071795864769. :::code language="csharp" source="~/snippets/csharp/System/Single/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/ToString/ToString1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Single.ToString/VB/ToString1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/ToString/ToString1.vb" id="Snippet4"::: ]]> @@ -10090,7 +10090,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and :::code language="csharp" source="~/snippets/csharp/System/Single/TryParse/tryparse1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -10482,7 +10482,7 @@ If `s` is out of range of the data type, the method throws :::code language="csharp" source="~/snippets/csharp/System/Single/TryParse/tryparse1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Single/TryParse/tryparse1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.single.tryparse/vb/tryparse1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Single/TryParse/tryparse1.vb" id="Snippet2"::: ]]> diff --git a/xml/System/StackOverflowException.xml b/xml/System/StackOverflowException.xml index 6daf88e0e72..c7f0313df24 100644 --- a/xml/System/StackOverflowException.xml +++ b/xml/System/StackOverflowException.xml @@ -79,7 +79,7 @@ You can't catch a `StackOverflowException` object with a `try`/`catch` block, an :::code language="csharp" source="~/snippets/csharp/System/StackOverflowException/Overview/example1a.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StackOverflowException/Overview/example1a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.stackoverflowexception.class/vb/example1a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StackOverflowException/Overview/example1a.vb" id="Snippet1"::: ]]> diff --git a/xml/System/String.xml b/xml/System/String.xml index 9226df9fb58..ffe65f2eca6 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -821,7 +821,7 @@ In C#, the property is an indexer. In Visual Basic :::code language="csharp" source="~/snippets/csharp/System/String/Chars/chars1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Chars/chars1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.chars/vb/chars1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Chars/chars1.vb" id="Snippet1"::: ## Examples The following example demonstrates how you can use this indexer in a routine to validate a string. @@ -1017,20 +1017,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet10"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet11"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet11"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet11"::: ## Examples The following example calls the method to compare three sets of strings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare02.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare02.fs" id="Snippet18"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb" id="Snippet18"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare02.vb" id="Snippet18"::: In the following example, the `ReverseStringComparer` class demonstrates how you can evaluate two strings with the method. @@ -1045,7 +1045,7 @@ In the following example, the `ReverseStringComparer` class demonstrates how you :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare21.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare21.fs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare21.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare21.vb" id="Snippet21"::: To recognize ignorable characters in a string comparison, call the method and supply a value of either or for the `comparisonType` parameter. @@ -1147,20 +1147,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet12"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet13"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet13"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet13"::: ## Examples The following example demonstrates that the method is equivalent to using or when comparing strings. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare02.cs" interactive="try-dotnet-method" id="Snippet18"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare02.fs" id="Snippet18"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare02.vb" id="Snippet18"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare02.vb" id="Snippet18"::: ]]> @@ -1169,7 +1169,7 @@ The following example demonstrates that the method and supply a value of either or for the parameter. @@ -1267,20 +1267,20 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet16"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet16"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet16"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet16"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet17"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet17"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet17"::: ## Examples The following example compares three versions of the letter "I". The results are affected by the choice of culture, whether case is ignored, and whether an ordinal comparison is performed. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/cmpcmp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/cmpcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.CompareCmp/vb/cmpcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/cmpcmp.vb" id="Snippet1"::: ]]> @@ -1387,13 +1387,13 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet14"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet14"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet14"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet15"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet15"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet15"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet15"::: ## Examples The following example demonstrates how culture can affect a comparison. In Czech - Czech Republic culture, "ch" is a single character that is greater than "d". However, in English - United States culture, "ch" consists of two characters, and "c" is less than "d". @@ -1409,7 +1409,7 @@ The following example demonstrates how culture can affect a comparison. In Czech :::code language="csharp" source="~/snippets/csharp/System/String/Compare/compare23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/compare23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/compare23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/compare23.vb" id="Snippet23"::: To recognize ignorable characters in a string comparison, call the method and supply a value of either or for the parameter. @@ -1512,7 +1512,7 @@ The following example compares two strings in three different ways: Use linguist :::code language="csharp" source="~/snippets/csharp/System/String/Compare/Example.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/Example.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/Example.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/Example.vb" id="Snippet1"::: ]]> @@ -1622,13 +1622,13 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet2"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet3"::: ## Examples The following example compares two substrings. @@ -1756,13 +1756,13 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet4"::: The path name needs to be compared in an invariant manner. The correct code to do this is as follows. :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet5"::: ## Examples The following example performs two comparisons of two substrings that only differ in case. The first comparison ignores case and the second comparison considers case. @@ -1893,13 +1893,13 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet8"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet8"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet8"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet9"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet9"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet9"::: ## Examples The following example compares two substrings. @@ -2028,13 +2028,13 @@ Unexpected results can occur when comparisons are affected by culture-specific c :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet6"::: Compare the path name to "file" using an ordinal comparison. The correct code to do this is as follows: :::code language="csharp" source="~/snippets/csharp/System/String/Compare/remarks.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Compare/remarks.fs" id="Snippet7"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Compare/vb/remarks.vb" id="Snippet7"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Compare/remarks.vb" id="Snippet7"::: ## Examples The following example compares two substrings using different cultures and ignoring the case of the substrings. The choice of culture affects how the letter "I" is compared. @@ -2163,7 +2163,7 @@ The following example uses the @@ -2537,7 +2537,7 @@ The following example uses the method with an :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/compareto1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/compareto1.vb" id="Snippet1"::: To recognize ignorable characters in a string comparison, call the method. @@ -2659,7 +2659,7 @@ The following example demonstrates generic and non-generic versions of the Compa :::code language="csharp" source="~/snippets/csharp/System/String/CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/CompareTo/compareto2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.compareto/vb/compareto2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/CompareTo/compareto2.vb" id="Snippet2"::: To recognize ignorable characters in a string comparison, call the method. @@ -2760,14 +2760,14 @@ If `values` is an empty `IEnumerable(Of String)`, the method returns object of type , which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat1.vb" id="Snippet2"::: ]]> @@ -3495,7 +3495,7 @@ The following example uses the method to concaten :::code language="csharp" source="~/snippets/csharp/System/String/Concat/Concat6.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/Concat6.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/Concat6.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/Concat6.vb" id="Snippet6"::: ]]> @@ -3569,7 +3569,7 @@ The following example illustrates the use of the @@ -3698,7 +3698,7 @@ The following example defines an array of four-letter words and stores their ind :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat4.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat4.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat4.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat4.vb" id="Snippet1"::: ]]> @@ -3781,7 +3781,7 @@ The following example defines a very simple `Animal` class that contains the nam :::code language="csharp" source="~/snippets/csharp/System/String/Concat/concat3.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Concat/concat3.fs" id="Snippet4"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.concat/vb/concat3.vb" id="Snippet4"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Concat/concat3.vb" id="Snippet4"::: ]]> @@ -3903,8 +3903,8 @@ To perform a culture-sensitive or ordinal case-insensitive comparison: :::code language="fsharp" source="~/snippets/fsharp/System/String/Contains/ContainsExt1.fs" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/String/Contains/ContainsExt1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Contains/ContainsExt1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Contains/vb/ContainsExt1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Contains/ContainsExt1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Contains/ContainsExt1.vb" id="Snippet2"::: If you are interested in the position of the substring `value` in the current instance, you can call the method to get the starting position of its first occurrence, or you can call the method to get the starting position of its last occurrence. The example includes a call to the method if a substring is found in a string instance. @@ -4583,7 +4583,7 @@ The following example indicates whether each string in an array ends with a peri :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/EndsWith1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/EndsWith1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.EndsWith/vb/EndsWith1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/EndsWith1.vb" id="Snippet1"::: The following example defines a `StripEndTags` method that uses the method to remove HTML end tags from the end of a line. Note that the `StripEndTags` method is called recursively to ensure that multiple HTML end tags at the end of the line are removed. @@ -4671,7 +4671,7 @@ The following example determines whether a string ends with a particular substri :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/ewcmp.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/ewcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.EndsWithCmp/vb/ewcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/ewcmp.vb" id="Snippet1"::: ]]> @@ -4750,7 +4750,7 @@ The following example determines whether a string occurs at the end of another s :::code language="csharp" source="~/snippets/csharp/System/String/EndsWith/ewci.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/EndsWith/ewci.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.EndsWithCI/vb/ewci.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/EndsWith/ewci.vb" id="Snippet1"::: ]]> @@ -4976,7 +4976,7 @@ The following example demonstrates the method. It :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equalsex1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equalsex1.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equalsex1.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equalsex1.vb" id="Snippet2"::: ]]> @@ -5130,7 +5130,7 @@ The following example creates a string array that consists of an uppercase "I", :::code language="csharp" source="~/snippets/csharp/System/String/Equals/eqcmp.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/eqcmp.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/eqcmp.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/eqcmp.vb" id="Snippet1"::: ]]> @@ -5207,7 +5207,7 @@ The following example compares three sets of strings by using each member of the :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals_ex3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals_ex3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals_ex3.vb" id="Snippet3"::: ]]> @@ -5316,7 +5316,7 @@ The following example uses the @@ -5422,13 +5422,13 @@ This example creates a string that contains data on the high and low temperature :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/format5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/format5.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format5.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/format5.vb" id="Snippet5"::: You can also pass the objects to be formatted as an array rather than as an argument list. :::code language="csharp" source="~/snippets/csharp/System/FormatException/Overview/format_paramarray1.cs" interactive="try-dotnet" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/FormatException/Overview/format_paramarray1.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Format/vb/format_paramarray1.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/FormatException/Overview/format_paramarray1.vb" id="Snippet10"::: ]]> @@ -5699,7 +5699,7 @@ This example uses the @@ -6000,7 +6000,7 @@ This example uses the @@ -6185,7 +6185,7 @@ This example uses the @@ -6547,7 +6547,7 @@ The following example iterates the characters in several strings and displays in :::code language="csharp" source="~/snippets/csharp/System/String/GetEnumerator/getenumerator.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetEnumerator/getenumerator.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetEnumerator/VB/getenumerator.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetEnumerator/getenumerator.vb" id="Snippet1"::: ]]> @@ -6630,7 +6630,7 @@ In .NET Framework desktop apps, you can use the [\ metho :::code language="csharp" source="~/snippets/csharp/System/String/GetHashCode/gethashcode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/GetHashCode/gethashcode.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.GetHashCode/VB/gethashcode.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/GetHashCode/gethashcode.vb" id="Snippet1"::: ]]> @@ -6994,7 +6994,7 @@ The following example demonstrates how you can search a for :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/indexof_c.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/indexof_c.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexof_c.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/indexof_c.vb" id="Snippet5"::: ]]> @@ -7062,14 +7062,14 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable21.cs" id="Snippet21"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable21.fs" id="Snippet21"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable21.vb" id="Snippet21"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable21.vb" id="Snippet21"::: ## Examples The following example searches for the "n" in "animal". Because string indexes begin at zero rather than one, the method indicates that the "n" is at position 1. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/simple1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/simple1.fs" id="Snippet12"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/simple1.vb" id="Snippet12"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/simple1.vb" id="Snippet12"::: The following example uses the method to determine the starting position of an animal name in a sentence. It then uses this position to insert an adjective that describes the animal into the sentence. @@ -7286,7 +7286,7 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable22.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable22.fs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable22.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable22.vb" id="Snippet22"::: ## Examples The following example searches for all occurrences of a specified string within a target string. @@ -7381,7 +7381,7 @@ The following example demonstrates three overloads of the @@ -7396,7 +7396,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable26.vb" id="Snippet26"::: @@ -7471,7 +7471,7 @@ The following example demonstrates the method. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/indexofcii.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/indexofcii.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/indexofcii.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/indexofcii.vb" id="Snippet1"::: ]]> @@ -7554,7 +7554,7 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/IndexOf/ignorable23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOf/ignorable23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.IndexOf/VB/ignorable23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable23.vb" id="Snippet23"::: ## Examples The following example finds the index of all occurrences of the string "he" within a substring of another string. Note that the number of characters to be searched must be recalculated for each search iteration. @@ -7655,7 +7655,7 @@ The following example demonstrates three overloads of the @@ -7672,7 +7672,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable25.vb" id="Snippet25"::: @@ -7748,7 +7748,7 @@ The following example demonstrates three overloads of the @@ -7773,7 +7773,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOf/ignorable24.vb" id="Snippet24"::: @@ -7857,7 +7857,7 @@ The following example finds the first vowel in a string. :::code language="csharp" source="~/snippets/csharp/System/String/IndexOfAny/IndexOfAny1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IndexOfAny/IndexOfAny1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.IndexOfAny/vb/IndexOfAny1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IndexOfAny/IndexOfAny1.vb" id="Snippet1"::: ]]> @@ -8122,7 +8122,7 @@ The following example inserts a space character in the fourth character position :::code language="csharp" source="~/snippets/csharp/System/String/Insert/Insert1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Insert/Insert1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Insert/vb/Insert1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Insert/Insert1.vb" id="Snippet1"::: The following console application prompts the users to enter one or more adjectives to describe two animals. It then calls the method to insert the text entered by the user into a string. @@ -8286,7 +8286,7 @@ This method does not return a Boolean value. If you call the method because you :::code language="csharp" source="~/snippets/csharp/System/String/IsInterned/isinternedex1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsInterned/isinternedex1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isinterned/vb/isinternedex1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsInterned/isinternedex1.vb" id="Snippet1"::: > [!NOTE] > You can override the use of the intern pool when you use [Ngen.exe (Native Image Generator)](/dotnet/framework/tools/ngen-exe-native-image-generator) to install an assembly to the native image cache on a local computer. For more information, see Performance Considerations in the Remarks section for the property. @@ -8586,7 +8586,7 @@ The following example examines three strings and determines whether each string :::code language="csharp" source="~/snippets/csharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace.vb" id="Snippet2"::: White-space characters are defined by the Unicode standard. The method interprets any character that returns a value of `true` when it is passed to the method as a white-space character. @@ -8595,7 +8595,7 @@ The following example creates a string array, and then passes each element of th :::code language="csharp" source="~/snippets/csharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.isnullorwhitespace/vb/isnullorwhitespace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/IsNullOrWhiteSpace/isnullorwhitespace1.vb" id="Snippet1"::: ]]> @@ -8915,14 +8915,14 @@ If `separator` is `null`, an empty string ( object of type , which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Join/join3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join3.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join3.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join3.vb" id="Snippet3"::: ]]> @@ -9024,7 +9024,7 @@ The following example uses the Sieve of Eratosthenes algorithm to calculate the :::code language="csharp" source="~/snippets/csharp/System/String/Join/join1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join1.vb" id="Snippet1"::: ]]> @@ -9036,7 +9036,7 @@ The following example uses the Sieve of Eratosthenes algorithm to calculate the :::code language="csharp" source="~/snippets/csharp/System/String/Join/joinfix1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/joinfix1.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/joinfix1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/joinfix1.vb" id="Snippet6"::: @@ -9572,14 +9572,14 @@ This method is particular useful with Language-Integrated Query (LINQ) query exp :::code language="csharp" source="~/snippets/csharp/System/String/Join/join5.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join5.fs" id="Snippet5"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join5.vb" id="Snippet5"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join5.vb" id="Snippet5"::: ## Examples The following example uses the Sieve of Eratosthenes algorithm to calculate the prime numbers that are less than or equal to 100. It assigns the result to a object of type integer, which it then passes to the method. :::code language="csharp" source="~/snippets/csharp/System/String/Join/join6.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Join/join6.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.join/vb/join2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Join/join2.vb" id="Snippet2"::: ]]> @@ -9669,7 +9669,7 @@ The following example defines an `ExtractFilename` method that uses the @@ -9748,14 +9748,14 @@ In the following example, the "), the example uses the method to locate the start of the end tag. :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof_example2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof_example2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof_example2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof_example2.vb" id="Snippet2"::: ]]> @@ -9905,7 +9905,7 @@ Character sets include ignorable characters, which are characters that are not c :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof22.cs" id="Snippet22"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof22.fs" id="Snippet22"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof22.vb" id="Snippet22"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof22.vb" id="Snippet22"::: ## Examples The following example finds the index of all occurrences of a string in target string, working from the end of the target string to the start of the target string. @@ -10009,7 +10009,7 @@ The following example demonstrates three overloads of the @@ -10024,7 +10024,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof26.vb" id="Snippet26"::: @@ -10181,7 +10181,7 @@ In the following example, the method is used :::code language="csharp" source="~/snippets/csharp/System/String/LastIndexOf/lastindexof23.cs" id="Snippet23"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/LastIndexOf/lastindexof23.fs" id="Snippet23"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.LastIndexOf/vb/lastindexof23.vb" id="Snippet23"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof23.vb" id="Snippet23"::: ## Examples The following example finds the index of all occurrences of a string in substring, working from the end of the substring to the start of the substring. @@ -10289,7 +10289,7 @@ The following example demonstrates three overloads of the @@ -10309,7 +10309,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof25.vb" id="Snippet25"::: @@ -10389,7 +10389,7 @@ The following example demonstrates three overloads of the @@ -10426,7 +10426,7 @@ In the following example, the +:::code language="vb" source="~/snippets/visualbasic/System/String/LastIndexOf/lastindexof24.vb" id="Snippet24"::: @@ -10744,7 +10744,7 @@ In some languages, such as C and C++, a null character indicates the end of a st :::code language="csharp" source="~/snippets/csharp/System/String/Overview/System.String.Class.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Overview/System.String.Class.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Class/vb/System.String.Class.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Length/System.String.Class.vb" id="Snippet1"::: ## Examples The following example demonstrates the property. @@ -11709,7 +11709,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace2.vb" id="Snippet2"::: ## Examples The following example creates a comma separated value list by substituting commas for the blanks between a series of numbers. @@ -11811,7 +11811,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ## Examples The following example demonstrates how you can use the method to correct a spelling error. @@ -11899,7 +11899,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ]]> @@ -11983,7 +11983,7 @@ Because this method returns the modified string, you can chain together successi :::code language="csharp" source="~/snippets/csharp/System/String/Replace/replace1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Replace/replace1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.replace/vb/replace1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Replace/replace1.vb" id="Snippet1"::: ]]> @@ -13355,13 +13355,13 @@ The following example searches for the string "the" at the beginning of a longer :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/StartsWith2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/StartsWith2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/StartsWith2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/StartsWith2.vb" id="Snippet2"::: The following example determines whether a string starts with a particular substring. It initializes a two-dimensional string array. The first element in the second dimension contains a string, and the second element contains the string to search for at the start of the first string. The results are affected by the choice of culture, whether case is ignored, and whether an ordinal comparison is performed. Note that when the string instance contains a ligature, culture-sensitive comparisons with its consecutive characters successfully match. :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/startswith1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/startswith1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.startswith/vb/startswith1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/startswith1.vb" id="Snippet1"::: ]]> @@ -13440,7 +13440,7 @@ The following example determines whether a string occurs at the beginning of ano :::code language="csharp" source="~/snippets/csharp/System/String/StartsWith/swci.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/StartsWith/swci.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.StartsWithCI/vb/swci.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/StartsWith/swci.vb" id="Snippet1"::: ]]> @@ -13532,13 +13532,13 @@ The following example demonstrates obtaining a substring from a string. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring10.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring10.fs" id="Snippet10"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring10.vb" id="Snippet10"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring10.vb" id="Snippet10"::: The following example uses the method to separate key/value pairs that are delimited by an equals (`=`) character. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring1.vb" id="Snippet1"::: The method is used to get the position of the equals character in the string. The call to the method extracts the key name, which starts from the first character in the string and extends for the number of characters returned by the call to the method. The call to the method then extracts the value assigned to the key. It starts at one character position beyond the equals character and extends to the end of the string. @@ -13633,13 +13633,13 @@ If the substring should extend from `startIndex` to a specified character sequen :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring2.vb" id="Snippet2"::: - If you've searched for multiple characters that are to mark the end of the substring, the `length` parameter equals `endIndex` + `endMatchLength` - `startIndex`, where `endIndex` is the return value of the or method, and `endMatchLength` is the length of the character sequence that marks the end of the substring. The following example extracts a block of text that contains an XML `` element. :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring3.vb" id="Snippet3"::: - If the character or character sequence is not included in the end of the substring, the `length` parameter equals `endIndex` - `startIndex`, where `endIndex` is the return value of the or method. @@ -13650,7 +13650,7 @@ The following example illustrates a simple call to the method in the following three cases to isolate substrings within a string. In two cases the substrings are used in comparisons, and in the third case an exception is thrown because invalid parameters are specified. @@ -13668,7 +13668,7 @@ The following example uses the method to separ :::code language="csharp" source="~/snippets/csharp/System/String/Substring/Substring1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Substring/Substring1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.String.Substring/vb/Substring1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Substring/Substring1.vb" id="Snippet1"::: The method is used to get the position of the equals character in the string. The call to the method extracts the key name, which starts from the first character in the string and extends for the number of characters returned by the call to the method. The call to the method then extracts the value assigned to the key. It starts at one character position beyond the equals character and extends to the end of the string. @@ -15172,7 +15172,7 @@ The following example calls the method to ex :::code language="csharp" source="~/snippets/csharp/System/String/ToCharArray/ToCharArray1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToCharArray/ToCharArray1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tochararray/vb/ToCharArray1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToCharArray/ToCharArray1.vb" id="Snippet1"::: ]]> @@ -15512,7 +15512,7 @@ The following example defines a string array that contains a single word in a nu :::code language="csharp" source="~/snippets/csharp/System/String/ToLowerInvariant/tolowerinvariant.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/ToLowerInvariant/tolowerinvariant.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.tolowerinvariant/vb/tolowerinvariant.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/ToLowerInvariant/tolowerinvariant.vb" id="Snippet1"::: ]]> @@ -15997,7 +15997,7 @@ The following example uses the @@ -16146,7 +16146,7 @@ The following example uses the `Trim(System.Char[])` method to remove space, ast :::code language="csharp" source="~/snippets/csharp/System/String/Trim/Trim1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Trim/Trim1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.Trim/vb/Trim1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/Trim/Trim1.vb" id="Snippet1"::: ]]> @@ -16338,7 +16338,7 @@ The following example demonstrates how you can use the `TrimEnd(System.Char[])` :::code language="csharp" source="~/snippets/csharp/System/String/TrimEnd/sample2.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimEnd/sample2.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimEnd/vb/Sample2.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimEnd/Sample2.vb" id="Snippet2"::: ]]> @@ -16530,19 +16530,19 @@ The following example demonstrates the basic functionality of the method to trim white space and comment characters from lines of source code. The `StripComments` method wraps a call to and passes it a character array that contains a space and the comment character, which is an apostrophe ( ' ) in Visual Basic and a slash ( / ) in C# or F#. The method is also called to remove leading white space when evaluating whether a string is a comment. :::code language="csharp" source="~/snippets/csharp/System/String/TrimStart/sample.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimStart/sample.fs" id="Snippet2"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb" id="Snippet2"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimStart/sample.vb" id="Snippet2"::: The following example then illustrates a call to the `StripComments` method. :::code language="csharp" source="~/snippets/csharp/System/String/TrimStart/sample.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/TrimStart/sample.fs" id="Snippet3"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.String.TrimStart/vb/sample.vb" id="Snippet3"::: +:::code language="vb" source="~/snippets/visualbasic/System/String/TrimStart/sample.vb" id="Snippet3"::: ]]> diff --git a/xml/System/StringComparer.xml b/xml/System/StringComparer.xml index e9bc1525870..55502d782bd 100644 --- a/xml/System/StringComparer.xml +++ b/xml/System/StringComparer.xml @@ -92,7 +92,7 @@ The following example demonstrates the properties and the @@ -366,7 +366,7 @@ The following example demonstrates the properties and the @@ -480,7 +480,7 @@ The following example demonstrates the properties and the object in a local variable rather than retrieve the value of the property multiple times. @@ -491,7 +491,7 @@ The following example demonstrates the properties and the @@ -557,7 +557,7 @@ The following example demonstrates the properties and the object in a local variable rather than retrieve the value of the property multiple times. @@ -943,7 +943,7 @@ The following example demonstrates the properties and the @@ -1180,7 +1180,7 @@ A "well-known ordinal comparer" describes a comparer that behaves identically to :::code language="csharp" source="~/snippets/csharp/System/StringComparer/Overview/omni.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StringComparer/Overview/omni.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StringComparer/Overview/omni.vb" id="Snippet1"::: ]]> @@ -1245,7 +1245,7 @@ A "well-known ordinal comparer" describes a comparer that behaves identically to :::code language="csharp" source="~/snippets/csharp/System/StringComparer/Overview/omni.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/StringComparer/Overview/omni.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.StringComparer/vb/omni.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/StringComparer/Overview/omni.vb" id="Snippet1"::: ]]> diff --git a/xml/System/StringComparison.xml b/xml/System/StringComparison.xml index 76ee64b934e..b35168edb90 100644 --- a/xml/System/StringComparison.xml +++ b/xml/System/StringComparison.xml @@ -80,7 +80,7 @@ :::code language="csharp" source="~/snippets/csharp/System/String/Equals/equals_ex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/String/Equals/equals_ex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.string.equals/vb/equals_ex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/String/Equals/equals_ex3.vb" id="Snippet3"::: ]]> diff --git a/xml/System/ThreadStaticAttribute.xml b/xml/System/ThreadStaticAttribute.xml index 2d7b617ed15..31b7e15d337 100644 --- a/xml/System/ThreadStaticAttribute.xml +++ b/xml/System/ThreadStaticAttribute.xml @@ -86,7 +86,7 @@ The following example code demonstrates how to use the `ThreadStaticAttribute` t :::code language="csharp" source="~/snippets/csharp/System/ThreadStaticAttribute/Overview/threadsafe2a.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ThreadStaticAttribute/Overview/threadsafe2a.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.threadstaticattribute/vb/threadsafe2a.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ThreadStaticAttribute/Overview/threadsafe2a.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TimeSpan.xml b/xml/System/TimeSpan.xml index 58732798833..b3d3233bdc0 100644 --- a/xml/System/TimeSpan.xml +++ b/xml/System/TimeSpan.xml @@ -124,7 +124,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Overview/structure1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Overview/structure1.fs" id="Snippet1"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.class/vb/structure1.vb" id="Snippet1"::: +:::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Overview/structure1.vb" id="Snippet1"::: :::code language="powershell" source="~/snippets/powershell/VS_Snippets_CLR_System/system.timespan.class/ps/structure1.ps1"::: ]]> @@ -201,7 +201,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctorl.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctorl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctorl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctorl.vb" id="Snippet1"::: ]]> @@ -273,7 +273,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriii.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriii.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriii.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriii.vb" id="Snippet2"::: ]]> @@ -342,7 +342,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriiii.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriiii.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiii.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiii.vb" id="Snippet3"::: ]]> @@ -413,7 +413,7 @@ The following example instantiates a object that represen :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/.ctor/ctoriiiii.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/.ctor/ctoriiiii.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Ctor/VB/ctoriiiii.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/.ctor/ctoriiiii.vb" id="Snippet4"::: ]]> @@ -531,7 +531,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Add/add1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Add/add1.vb" id="Snippet1"::: ]]> @@ -613,7 +613,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Compare/compare1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Compare/compare1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.compare/vb/compare1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Compare/compare1.vb" id="Snippet1"::: ]]> @@ -724,7 +724,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/cto_eq_obj.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -877,7 +877,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -1020,7 +1020,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -1104,7 +1104,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/cto_eq_obj.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/cto_eq_obj.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/cto_eq_obj.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/cto_eq_obj.vb" id="Snippet1"::: ]]> @@ -1240,7 +1240,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/CompareTo/comp_equal.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/CompareTo/comp_equal.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Compare_Equals/VB/comp_equal.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/CompareTo/comp_equal.vb" id="Snippet2"::: ]]> @@ -1303,7 +1303,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet2"::: @@ -1312,7 +1312,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromdays.cs" interactive="try-dotnet" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromdays.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromdays.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromdays.vb" id="Snippet6"::: ]]> @@ -1465,7 +1465,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet3"::: @@ -1474,7 +1474,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromhours.cs" interactive="try-dotnet" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromhours.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromhours.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromhours.vb" id="Snippet5"::: ]]> @@ -1704,7 +1704,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet4"::: @@ -1713,7 +1713,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/frommillisec.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/frommillisec.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/frommillisec.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/frommillisec.vb" id="Snippet2"::: ]]> @@ -1859,7 +1859,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet1"::: @@ -1868,7 +1868,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromminutes.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromminutes.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromminutes.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromminutes.vb" id="Snippet4"::: ]]> @@ -2017,7 +2017,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.FromMinutes/vb/System.TimeSpan.FromMinutes.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/System.TimeSpan.FromMinutes.vb" id="Snippet5"::: @@ -2026,7 +2026,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromseconds.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromseconds.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromseconds.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromseconds.vb" id="Snippet3"::: ]]> @@ -2184,7 +2184,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/FromDays/fromticks.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/FromDays/fromticks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.From/VB/fromticks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/FromDays/fromticks.vb" id="Snippet1"::: ]]> @@ -2252,7 +2252,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/GetHashCode/hashcode.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/GetHashCode/hashcode.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.GetHashCode/VB/hashcode.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/GetHashCode/hashcode.vb" id="Snippet1"::: ]]> @@ -2315,7 +2315,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2409,7 +2409,7 @@ The specified `days`, `hours`, `minutes`, `seconds`, `milliseconds`, and `micros :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -2653,7 +2653,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2834,7 +2834,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -2956,7 +2956,7 @@ The property represents whole microseconds, :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -3132,7 +3132,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -3195,7 +3195,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Addition/operators1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Addition/operators1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/operators1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Addition/operators1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -3352,7 +3352,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3424,7 +3424,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3495,7 +3495,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3566,7 +3566,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3637,7 +3637,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3708,7 +3708,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Equality/relationalops.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Equality/relationalops.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.RelationalOps/VB/relationalops.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Equality/relationalops.vb" id="Snippet1"::: ]]> @@ -3862,7 +3862,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/op_Addition/Subtraction1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/op_Addition/Subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.operators/vb/Subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/op_Addition/Subtraction1.vb" id="Snippet2"::: ]]> @@ -3923,7 +3923,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -3984,7 +3984,7 @@ The value of this constant is 100. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Duration/dura_nega_una.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Duration/dura_nega_una.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Dura_Nega_Unary/VB/dura_nega_una.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Duration/dura_nega_una.vb" id="Snippet1"::: ]]> @@ -4323,7 +4323,7 @@ The following example defines an array of @@ -4434,7 +4434,7 @@ The following example defines an array of @@ -4670,7 +4670,7 @@ The following example defines an array of @@ -4787,7 +4787,7 @@ The following example defines an array of @@ -4864,7 +4864,7 @@ The following example defines an array of @@ -5130,7 +5130,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/Days/properties.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/Days/properties.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Properties/VB/properties.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/Days/properties.vb" id="Snippet1"::: ]]> @@ -5197,7 +5197,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5263,7 +5263,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5367,7 +5367,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5433,7 +5433,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5499,7 +5499,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/MaxValue/fields.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/MaxValue/fields.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.Fields/VB/fields.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/MaxValue/fields.vb" id="Snippet1"::: ]]> @@ -5591,7 +5591,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/ToString1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/ToString1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/ToString1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/ToString1.vb" id="Snippet1"::: ]]> @@ -5683,7 +5683,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/tostring3.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -5781,7 +5781,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeSpan.ToString/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -5847,7 +5847,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalDays/totaldays.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalDays/totaldays.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totaldays/vb/totaldays.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalDays/totaldays.vb" id="Snippet1"::: ]]> @@ -5915,7 +5915,7 @@ The value of this constant is 10. :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalHours/totalhours.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalHours/totalhours.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalhours/vb/totalhours.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalHours/totalhours.vb" id="Snippet1"::: ]]> @@ -6025,7 +6025,7 @@ The property represents whole and fract :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalMilliseconds/totalmilliseconds.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalMilliseconds/totalmilliseconds.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalmilliseconds/vb/totalmilliseconds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalMilliseconds/totalmilliseconds.vb" id="Snippet1"::: ]]> @@ -6093,7 +6093,7 @@ The property represents whole and fract :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalMinutes/totalminutes.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalMinutes/totalminutes.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalminutes/vb/totalminutes.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalMinutes/totalminutes.vb" id="Snippet1"::: ]]> @@ -6209,7 +6209,7 @@ The property represents whole and fracti :::code language="csharp" source="~/snippets/csharp/System/TimeSpan/TotalSeconds/totalseconds.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeSpan/TotalSeconds/totalseconds.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timespan.totalseconds/vb/totalseconds.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeSpan/TotalSeconds/totalseconds.vb" id="Snippet1"::: ]]> @@ -6830,7 +6830,7 @@ The following example defines an array of @@ -6939,7 +6939,7 @@ The following example defines an array of @@ -7178,7 +7178,7 @@ The following example defines an array of @@ -7291,7 +7291,7 @@ The following example defines an array of @@ -7353,7 +7353,7 @@ The following example defines an array of diff --git a/xml/System/TimeZoneInfo+AdjustmentRule.xml b/xml/System/TimeZoneInfo+AdjustmentRule.xml index 8e5ab6b376b..3cdf4567b44 100644 --- a/xml/System/TimeZoneInfo+AdjustmentRule.xml +++ b/xml/System/TimeZoneInfo+AdjustmentRule.xml @@ -87,7 +87,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet3"::: The following is a small portion of the output that is generated by the example. The exact output will vary depending on the operating system and the date on which the example is run. @@ -262,7 +262,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb" id="Snippet1"::: ]]> @@ -468,7 +468,7 @@ dateVariable.Date :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.TimeZoneInfo.AdjustmentRule.DateStart/vb/DateStart1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/DateEnd/DateStart1.vb" id="Snippet1"::: ]]> @@ -740,7 +740,7 @@ TimeZoneTime = BaseUtcOffset + DaylightDelta + UtcTime :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.AdjustmentRule.Class/vb/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+AdjustmentRule/Overview/System.TimeZone2.AdjustmentRule.Class.vb" id="Snippet2"::: This code displays the following output to the console: diff --git a/xml/System/TimeZoneInfo+TransitionTime.xml b/xml/System/TimeZoneInfo+TransitionTime.xml index 21bb2fa540a..86adf807012 100644 --- a/xml/System/TimeZoneInfo+TransitionTime.xml +++ b/xml/System/TimeZoneInfo+TransitionTime.xml @@ -162,7 +162,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: ]]> @@ -247,7 +247,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet2"::: ]]> @@ -329,7 +329,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet3"::: ]]> @@ -390,7 +390,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> @@ -472,7 +472,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet7"::: ]]> @@ -653,7 +653,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/example1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/example1.vb" id="Snippet5"::: ]]> @@ -714,7 +714,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> @@ -1015,7 +1015,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet6"::: ]]> @@ -1086,7 +1086,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.TransitionTime.Class/vb/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo+TransitionTime/CreateFixedDateRule/System.TimeZone2.TransitionTime.Class.vb" id="Snippet4"::: ]]> diff --git a/xml/System/TimeZoneInfo.xml b/xml/System/TimeZoneInfo.xml index 4500a790e9c..07442d4fd5e 100644 --- a/xml/System/TimeZoneInfo.xml +++ b/xml/System/TimeZoneInfo.xml @@ -193,7 +193,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet1"::: ]]> @@ -252,7 +252,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.BestPractices/vb/System.TimeZone2.BestPractices.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ClearCachedData/System.TimeZone2.BestPractices.vb" id="Snippet1"::: ]]> @@ -357,7 +357,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/converttime1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/converttime1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime1.vb" id="Snippet1"::: ]]> @@ -435,7 +435,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/converttime2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/converttime2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.converttime/vb/converttime2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/converttime2.vb" id="Snippet2"::: ]]> @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb" id="Snippet9"::: ]]> @@ -803,7 +803,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb" id="Snippet3"::: ]]> @@ -896,7 +896,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Concepts/VB/TimeZone2Concepts.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTime/TimeZone2Concepts.vb" id="Snippet8"::: ]]> @@ -987,7 +987,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/System.TimeZone2.Conversions.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/System.TimeZone2.Conversions.vb" id="Snippet1"::: ]]> @@ -1061,7 +1061,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Conversions/vb/convertdt2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/ConvertTimeBySystemTimeZoneId/convertdt2.vb" id="Snippet2"::: ]]> @@ -1183,7 +1183,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet1"::: ]]> @@ -1314,7 +1314,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet2"::: ]]> @@ -1464,7 +1464,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.CreateTimeZone/vb/System.TimeZone2.CreateTimeZone.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/CreateCustomTimeZone/System.TimeZone2.CreateTimeZone.vb" id="Snippet3"::: ]]> @@ -1559,7 +1559,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.IsDaylightSavingTime/vb/IsDaylightSavingTime.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/DaylightName/IsDaylightSavingTime.vb" id="Snippet1"::: ]]> @@ -1629,7 +1629,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/ShowTimeZoneNames1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/ShowTimeZoneNames1.vb" id="Snippet2"::: ]]> @@ -1718,7 +1718,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.timezoneinfo.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -1813,7 +1813,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet7"::: ]]> @@ -1882,7 +1882,7 @@ The following example uses the @@ -1952,7 +1952,7 @@ The following example uses the @@ -2023,7 +2023,7 @@ The following example uses the @@ -2115,13 +2115,13 @@ The following example uses the @@ -2333,7 +2333,7 @@ The following example uses the @@ -2458,7 +2458,7 @@ The following example uses the @@ -2615,7 +2615,7 @@ The following example uses the @@ -2682,7 +2682,7 @@ The following example uses the @@ -2776,7 +2776,7 @@ The following example uses the @@ -2931,7 +2931,7 @@ The following example uses the if the value of the `dateTime` parameter's property is ; otherwise, the method returns `false`. @@ -2944,7 +2944,7 @@ The following example uses the @@ -3085,7 +3085,7 @@ The following example uses the @@ -3172,7 +3172,7 @@ The following example uses the @@ -3240,7 +3240,7 @@ The following example uses the @@ -3304,7 +3304,7 @@ The following example uses the @@ -3480,7 +3480,7 @@ The following example uses the @@ -3858,7 +3858,7 @@ If the application is running on a Windows OS version that lacks the ICU library :::code language="csharp" source="~/snippets/csharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZone2.Class/VB/TimeZone2_Examples.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/TimeZoneInfo/BaseUtcOffset/TimeZone2_Examples.vb" id="Snippet3"::: ]]> diff --git a/xml/System/TimeZoneNotFoundException.xml b/xml/System/TimeZoneNotFoundException.xml index 9ecff7bab99..c9ccdc40181 100644 --- a/xml/System/TimeZoneNotFoundException.xml +++ b/xml/System/TimeZoneNotFoundException.xml @@ -317,7 +317,7 @@ :::code language="csharp" source="~/snippets/csharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TimeZoneNotFoundException.Class/vb/TimeZoneNotFoundException.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/InvalidTimeZoneException/.ctor/TimeZoneNotFoundException.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple.xml b/xml/System/Tuple.xml index 0e83fcb9819..86aa4afaa69 100644 --- a/xml/System/Tuple.xml +++ b/xml/System/Tuple.xml @@ -75,13 +75,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example1.vb" id="Snippet1"::: Creating the same tuple object by using a helper method is more straightforward, as the following example shows. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.class/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example1.vb" id="Snippet2"::: The helper methods directly support the creation of tuple objects that have from one to eight components (that is, singletons through octuples). Although there is no practical limit to the number of components a tuple may have, helper methods are not available to create a tuple with nine or more components. To create such a tuple, you must call the constructor. @@ -95,7 +95,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: ]]> @@ -185,13 +185,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet1"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet2"::: ]]> @@ -272,13 +272,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet3"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet4"::: ]]> @@ -370,13 +370,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet5"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet6"::: ]]> @@ -479,13 +479,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet7"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet8"::: ]]> @@ -599,13 +599,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet9"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet10"::: ]]> @@ -730,13 +730,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet11"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet12"::: ]]> @@ -872,13 +872,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet13"::: This code is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet14"::: ]]> @@ -1033,13 +1033,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: This is equivalent to the following example, which uses the class constructor instead of the factory creation method. Note that instantiating a object in this way involves considerably more code, because you must declare a nested object as the object's eighth component to produce an octuple. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/ctor8.cs" id="Snippet20"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/ctor8.fs" id="Snippet20"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/ctor8.vb" id="Snippet20"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/ctor8.vb" id="Snippet20"::: ]]> diff --git a/xml/System/Tuple`1.xml b/xml/System/Tuple`1.xml index 2dbc34b0f67..4299fafd608 100644 --- a/xml/System/Tuple`1.xml +++ b/xml/System/Tuple`1.xml @@ -154,13 +154,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet1"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet2"::: ]]> @@ -244,7 +244,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -359,7 +359,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Item1/item1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -529,7 +529,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -682,7 +682,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -852,7 +852,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`1.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`2.xml b/xml/System/Tuple`2.xml index 17e15692049..988fceaa671 100644 --- a/xml/System/Tuple`2.xml +++ b/xml/System/Tuple`2.xml @@ -115,13 +115,13 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the following example uses a object to return the quotient and the remainder that result from integer division. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: - To pass multiple values to a method through a single parameter. For example, the method has a single parameter that lets you supply one value to the method that the thread executes at startup. If you supply a object as the method argument, you can supply the thread's startup routine with two items of data. @@ -187,13 +187,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet3"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" interactive="try-dotnet-method" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet4"::: ]]> @@ -271,7 +271,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Equals/equals1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -378,7 +378,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: ]]> @@ -441,7 +441,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Overview/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Overview/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Overview/item1.vb" id="Snippet1"::: ]]> @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -613,7 +613,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -766,7 +766,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -936,7 +936,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`2.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`3.xml b/xml/System/Tuple`3.xml index 2a0a6e8320a..31d66e0dedd 100644 --- a/xml/System/Tuple`3.xml +++ b/xml/System/Tuple`3.xml @@ -124,7 +124,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its summary test score statistics in a object. @@ -194,13 +194,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet5"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet6"::: ]]> @@ -278,7 +278,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -385,7 +385,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -448,7 +448,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -511,7 +511,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Overview/example1.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -683,7 +683,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -835,7 +835,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1005,7 +1005,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`3.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`4.xml b/xml/System/Tuple`4.xml index 926ac2ab3af..24aa1405369 100644 --- a/xml/System/Tuple`4.xml +++ b/xml/System/Tuple`4.xml @@ -133,7 +133,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Overview/example1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the name of the pitcher, in an array of objects. @@ -205,13 +205,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet7"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet7"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet7"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet7"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet8"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet8"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet8"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet8"::: ]]> @@ -289,7 +289,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -396,7 +396,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -459,7 +459,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -522,7 +522,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -585,7 +585,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Item1/item1.vb" id="Snippet1"::: ]]> @@ -676,7 +676,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -756,7 +756,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/Equals/equals2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -908,7 +908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1078,7 +1078,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`4.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`5.xml b/xml/System/Tuple`5.xml index fb3a1f603bd..0771264a228 100644 --- a/xml/System/Tuple`5.xml +++ b/xml/System/Tuple`5.xml @@ -142,7 +142,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the name of the player, in an array of objects. @@ -216,13 +216,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet9"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet9"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet9"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet9"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet10"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet10"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet10"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet10"::: ]]> @@ -300,7 +300,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -407,7 +407,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -470,7 +470,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -533,7 +533,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -596,7 +596,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -659,7 +659,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Item1/item1.vb" id="Snippet1"::: ]]> @@ -748,7 +748,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -828,7 +828,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -980,7 +980,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1150,7 +1150,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`5.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`6.xml b/xml/System/Tuple`6.xml index 23557f9ba86..07ff928e6d3 100644 --- a/xml/System/Tuple`6.xml +++ b/xml/System/Tuple`6.xml @@ -151,7 +151,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the city name, in a object. @@ -227,13 +227,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet11"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet11"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet11"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet11"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet12"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet12"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet12"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet12"::: ]]> @@ -311,7 +311,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -418,7 +418,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -481,7 +481,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -544,7 +544,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -607,7 +607,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -670,7 +670,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -733,7 +733,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Item1/item1.vb" id="Snippet1"::: ]]> @@ -830,7 +830,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -910,7 +910,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -1062,7 +1062,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1231,7 +1231,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`6.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`7.xml b/xml/System/Tuple`7.xml index df87edda1e5..f28b5265bb2 100644 --- a/xml/System/Tuple`7.xml +++ b/xml/System/Tuple`7.xml @@ -160,7 +160,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.class/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Overview/example1.vb" id="Snippet1"::: - To return multiple values from a method without the use of `out` parameters (in C#) or `ByRef` parameters (in Visual Basic). For example, the previous example returns its computed statistics, along with the city name, in a object. @@ -238,13 +238,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet13"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet13"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet13"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet13"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/create1.cs" id="Snippet14"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/create1.fs" id="Snippet14"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/create1.vb" id="Snippet14"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/create1.vb" id="Snippet14"::: ]]> @@ -322,7 +322,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -429,7 +429,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -492,7 +492,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -555,7 +555,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -618,7 +618,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -681,7 +681,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -744,7 +744,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -807,7 +807,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Item1/item1.vb" id="Snippet1"::: ]]> @@ -904,7 +904,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -985,7 +985,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.equals/vb/equals2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/Equals/equals2.vb" id="Snippet2"::: ]]> @@ -1137,7 +1137,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1306,7 +1306,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`7.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Tuple`8.xml b/xml/System/Tuple`8.xml index 1d99aaca0d6..a5dbd743ce7 100644 --- a/xml/System/Tuple`8.xml +++ b/xml/System/Tuple`8.xml @@ -156,13 +156,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" interactive="try-dotnet-method" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: You can also instantiate an n-tuple object with eight or more components by calling the constructor. The following example uses the constructor to create an 8-tuple that is equivalent to the tuple created in the previous example. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb" id="Snippet1"::: > [!NOTE] > To create an n-tuple with nine or more components, you must call the constructor. The static factory methods of the class do not support the creation of `Tuple` objects with more than eight components. @@ -173,7 +173,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example.vb" id="Snippet19"::: You can retrieve the value of the tuple's first seven components by using the read-only , , , , , , and instance properties. Any additional components are nested and can be retrieved from the property. In the previous example, the through properties retrieve the first through seventh components of the tuple. The eighth through fourteenth components are contained in the tuple that is nested at the second level, and are represented by the `Rest.Item1` through `Rest.Item7` properties. The fifteenth through seventeenth components are contained in the tuple that is nested at the third level, and are represented by the `Rest.Rest.Item1` though `Rest.Rest.Item3` properties. @@ -261,13 +261,13 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/createntuple.cs" id="Snippet17"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/createntuple.fs" id="Snippet17"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/createntuple.vb" id="Snippet17"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/createntuple.vb" id="Snippet17"::: This is equivalent to the following call to the class constructor. :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.class/vb/octuple1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Overview/octuple1.vb" id="Snippet1"::: However, the static method cannot be used to create a tuple object with more than eight components. @@ -288,7 +288,7 @@ :::code language="csharp" source="~/snippets/csharp/System/Tuple/Overview/example.cs" id="Snippet19"::: :::code language="fsharp" source="~/snippets/fsharp/System/Tuple/Overview/example.fs" id="Snippet19"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple.create/vb/example.vb" id="Snippet19"::: + :::code language="vb" source="~/snippets/visualbasic/System/Tuple/Overview/example.vb" id="Snippet19"::: ]]> @@ -369,7 +369,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -476,7 +476,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -539,7 +539,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -602,7 +602,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -665,7 +665,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -728,7 +728,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -791,7 +791,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -854,7 +854,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -908,7 +908,7 @@ You can dynamically determine the number of components in a nested `Tuple` object that is returned by the property by extracting the digit from its type name. The following example provides an illustration. - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/rest.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/rest.vb" id="Snippet2"::: @@ -917,7 +917,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.item1/vb/item1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/Item1/item1.vb" id="Snippet1"::: ]]> @@ -1014,7 +1014,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto2.vb" id="Snippet2"::: ]]> @@ -1237,7 +1237,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.compareto/vb/compareto1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/System.Collections.IStructuralComparable.CompareTo/compareto1.vb" id="Snippet1"::: ]]> @@ -1410,7 +1410,7 @@ :::code language="csharp" source="~/snippets/csharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.tuple`8.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TupleT1,T2,T3,T4,T5,T6,T7,TRest/ToString/tostring1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/Type.xml b/xml/System/Type.xml index 3dffbdf216a..6eda49986a2 100644 --- a/xml/System/Type.xml +++ b/xml/System/Type.xml @@ -101,7 +101,7 @@ The code example uses the to invoke the This type is thread safe. @@ -367,7 +367,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/AssemblyQualifiedName/fullname1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/AssemblyQualifiedName/fullname1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb" id="Snippet1"::: ]]> @@ -439,7 +439,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 The following example uses the property. :::code language="csharp" source="~/snippets/csharp/System/Type/Attributes/attributes1.cs" interactive="try-dotnet" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.attributes/vb/attributes1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Attributes/attributes1.vb" id="Snippet1"::: ]]> @@ -507,7 +507,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/BaseType/remarks.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/BaseType/remarks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/BaseType/remarks.vb" id="Snippet1"::: For the constructed type `C` (`C(Of Integer)` in Visual Basic), the property returns `B`. @@ -528,7 +528,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/BaseType/basetype3.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/BaseType/basetype3.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.basetype/vb/basetype3.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/BaseType/basetype3.vb" id="Snippet2"::: ]]> @@ -597,7 +597,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/ContainsGenericParameters/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/ContainsGenericParameters/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.HasUnboundGenericParameters/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/ContainsGenericParameters/source.vb" id="Snippet1"::: ]]> @@ -754,7 +754,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/DeclaringType/remarks.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/DeclaringType/remarks.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.declaringtype/vb/remarks.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/DeclaringType/remarks.vb" id="Snippet1"::: If the current represents a type parameter in the definition of a generic type or generic method, the and properties identify the generic type definition or generic method definition where the generic type parameter was originally defined: @@ -1040,7 +1040,7 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3 :::code language="csharp" source="~/snippets/csharp/System/Type/Equals/EqualsEx1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/Equals/EqualsEx1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.Equals/vb/EqualsEx1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/Equals/EqualsEx1.vb" id="Snippet1"::: Two things are particularly worth noting about the example: @@ -1605,7 +1605,7 @@ The `filter` argument can be a custom delegate of type object represents an array type, a pointer type, or a `byref` type that is based on a generic type parameter. @@ -1623,7 +1623,7 @@ The `filter` argument can be a custom delegate of type property returns `true`), but the type is not a generic type definition (that is, the property returns `false` @@ -1631,7 +1631,7 @@ The `filter` argument can be a custom delegate of type that is not `null`, you can use the method to get the generic type definition, as the example illustrates. @@ -1650,7 +1650,7 @@ The `filter` argument can be a custom delegate of type @@ -1713,7 +1713,7 @@ The `filter` argument can be a custom delegate of type @@ -1783,7 +1783,7 @@ The `filter` argument can be a custom delegate of type for `GetSomething`, and from that you can obtain the return type. When you examine the type parameters of the return type, returns 0 for both. The position of `V` is 0 because `V` is the first type parameter in the type parameter list for class `A`. The position of `X` is 0 because `X` is the first type parameter in the type parameter list for `GetSomething`. @@ -1797,7 +1797,7 @@ The `filter` argument can be a custom delegate of type @@ -4282,7 +4282,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericParameter/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericParameter/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericParameter/source.vb" id="Snippet2"::: ]]> @@ -4346,7 +4346,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GenericParameterAttributes/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GenericParameterAttributes/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericParameterConstraints/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GenericParameterAttributes/source.vb" id="Snippet1"::: ]]> @@ -4422,7 +4422,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetGenericTypeDefinition/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetGenericTypeDefinition/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.GetGenericTypeDefinition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetGenericTypeDefinition/source.vb" id="Snippet1"::: ]]> @@ -4791,7 +4791,7 @@ In .NET 6 and earlier versions, the method does :::code language="csharp" source="~/snippets/csharp/System/Type/GetInterfaceMap/interfacemapping1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetInterfaceMap/interfacemapping1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.getinterfacemap/vb/interfacemapping1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetInterfaceMap/interfacemapping1.vb" id="Snippet1"::: ]]> @@ -5622,7 +5622,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethodWithOverloads2.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethodWithOverloads2.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads2.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads2.vb" id="Snippet3"::: You can do one of the following to retrieve a specific method: @@ -5755,7 +5755,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethodWithOverloads1.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethodWithOverloads1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethodWithOverloads1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethodWithOverloads1.vb" id="Snippet2"::: You can do one of the following to retrieve a specific method: @@ -5893,7 +5893,7 @@ This method can be used to find a constructed generic member given a member from :::code language="csharp" source="~/snippets/csharp/System/Type/GetMethod/GetMethod1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetMethod/GetMethod1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/System.Type.GetMethod/vb/GetMethod1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetMethod/GetMethod1.vb" id="Snippet1"::: The example defines a `GetAddMethod` method that retrieves the appropriate object. To provide the `types` argument for an open generic type, it calls the method. To provide the `types` argument for a closed generic type, it retrieves the value of the property. @@ -10147,7 +10147,7 @@ Calling this method overload is the same as calling the @@ -10294,7 +10294,7 @@ Calling this method overload is the same as calling the @@ -10303,7 +10303,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10396,7 +10396,7 @@ Calling this method overload is the same as calling the @@ -10405,7 +10405,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10489,7 +10489,7 @@ Calling this method overload is the same as calling the @@ -10498,7 +10498,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -10591,7 +10591,7 @@ Calling this method overload is the same as calling the @@ -10600,7 +10600,7 @@ Calling this method overload is the same as calling the should only be used to retrieve the GUID of an unmanaged COM object, and the resulting object that is passed to the method must represent an unmanaged COM object. @@ -12092,7 +12092,7 @@ Calling this method overload is the same as calling the @@ -12243,7 +12243,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsArray/isarray2.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsArray/isarray2.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isarray/vb/isarray2.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsArray/isarray2.vb" id="Snippet1"::: ]]> @@ -12390,13 +12390,13 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb" id="Snippet3"::: This method thus ensures that a line of code like the following will execute at runtime without throwing an exception or a similar exception: :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom3.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom3.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom3.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom3.vb" id="Snippet4"::: This method can be overridden by a derived class. @@ -12407,7 +12407,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/isassignablefrom_ex1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/isassignablefrom_ex1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/isassignablefrom_ex1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/isassignablefrom_ex1.vb" id="Snippet1"::: @@ -12422,7 +12422,7 @@ GetType(Array).IsAssignableFrom(type) :::code language="csharp" source="~/snippets/csharp/System/Type/IsAssignableFrom/IsAssignableFrom2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsAssignableFrom/IsAssignableFrom2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsAssignableFrom/IsAssignableFrom2.vb" id="Snippet2"::: ]]> @@ -13536,7 +13536,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/GetGenericArguments/source.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/GetGenericArguments/source.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericParameter/VB/source.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetGenericArguments/source.vb" id="Snippet2"::: ]]> @@ -13610,7 +13610,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericType/remarks.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericType/remarks.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericType/remarks.vb" id="Snippet2"::: The following table shows examples that use and build on the classes `Base`, `Derived`, and `G`. When the C++ and C# code is the same, only one entry is shown. @@ -13630,7 +13630,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericType/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericType/source.vb" id="Snippet1"::: ]]> @@ -13695,7 +13695,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance :::code language="csharp" source="~/snippets/csharp/System/Type/IsGenericParameter/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsGenericParameter/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericTypeDefinition/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsGenericParameter/source.vb" id="Snippet1"::: ]]> @@ -14206,7 +14206,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14274,7 +14274,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14342,7 +14342,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14407,7 +14407,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14474,7 +14474,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14537,7 +14537,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -14606,7 +14606,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance The following example creates an outer class with a number of nested classes that have various types of visibility. It then retrieves the value of a number of visibility-related properties for the parent type and each of its nested types. :::code language="csharp" source="~/snippets/csharp/System/Type/IsNested/isnestedfamilyandassembly1.cs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isnestedfamandassem/vb/isnestedfamilyandassembly1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsNested/isnestedfamilyandassembly1.vb" id="Snippet1"::: ]]> @@ -15522,7 +15522,7 @@ A signature type is a restricted type that can be passed to the represents a type parameter in the definition of a generic type or generic method, it derives from its class constraint or from if it has no class constraint. @@ -15951,7 +15951,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/IsVisible/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/IsVisible/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsVisible/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/IsVisible/source.vb" id="Snippet1"::: ]]> @@ -15976,7 +15976,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -16197,7 +16197,7 @@ If the value of this property is `true` for an array type, it can be used to cre :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -16459,7 +16459,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/MakeByRefType/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/MakeByRefType/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.MakeXxxType/VB/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/MakeByRefType/source.vb" id="Snippet1"::: ]]> @@ -17412,7 +17412,7 @@ The following example uses the method to c :::code language="csharp" source="~/snippets/csharp/System/Type/AssemblyQualifiedName/fullname1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Type/AssemblyQualifiedName/fullname1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.type.tostring/vb/fullname1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/AssemblyQualifiedName/fullname1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/TypeCode.xml b/xml/System/TypeCode.xml index 79e2c45adf7..325dabd4e59 100644 --- a/xml/System/TypeCode.xml +++ b/xml/System/TypeCode.xml @@ -71,7 +71,7 @@ The following code example demonstrates how the enumeration can be used. In a decision block inside the WriteObjectInfo method, the of an parameter is examined, and an appropriate message is written to the console. :::code language="csharp" source="~/snippets/csharp/System/Type/GetTypeCode/iconvertible.cs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.TypeCode/VB/iconvertible.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/Type/GetTypeCode/iconvertible.vb" id="Snippet2"::: ]]> diff --git a/xml/System/TypedReference.xml b/xml/System/TypedReference.xml index 1117a0f44a2..9178bf6039c 100644 --- a/xml/System/TypedReference.xml +++ b/xml/System/TypedReference.xml @@ -73,7 +73,7 @@ :::code language="cpp" source="~/snippets/cpp/VS_Snippets_CLR_System/system.typedreference/cpp/source.cpp" id="Snippet1"::: :::code language="csharp" source="~/snippets/csharp/System/TypedReference/Overview/source.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/TypedReference/Overview/source.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.typedreference/vb/source.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/TypedReference/Overview/source.vb" id="Snippet1"::: ]]> diff --git a/xml/System/UInt16.xml b/xml/System/UInt16.xml index e816f8e0892..0301c00e2de 100644 --- a/xml/System/UInt16.xml +++ b/xml/System/UInt16.xml @@ -801,7 +801,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -867,7 +867,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt16/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1280,7 +1280,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/MaxValue/MaxValue.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/MaxValue/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1391,7 +1391,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/MaxValue/MaxValue.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/MaxValue/MaxValue.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt16.MaxValue/vb/MaxValue.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/MaxValue/MaxValue.vb" id="Snippet1"::: ]]> @@ -1492,7 +1492,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex5.cs" id="Snippet5"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex5.fs" id="Snippet5"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex5.vb" id="Snippet5"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex5.vb" id="Snippet5"::: ]]> @@ -1720,7 +1720,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex2.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex2.fs" id="Snippet6"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex2.vb" id="Snippet6"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex2.vb" id="Snippet6"::: ]]> @@ -1846,7 +1846,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex3.vb" id="Snippet3"::: ]]> @@ -2104,7 +2104,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt16/Parse/parseex4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6129,7 +6129,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6223,7 +6223,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6324,7 +6324,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6436,7 +6436,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/ToString/tostring4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6810,7 +6810,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse11.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7232,7 +7232,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint16.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UInt32.xml b/xml/System/UInt32.xml index 4a3d0717877..9c0033ef897 100644 --- a/xml/System/UInt32.xml +++ b/xml/System/UInt32.xml @@ -841,7 +841,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb" id="Snippet1"::: @@ -908,7 +908,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt32/Equals/equalsoverl.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Equals/equalsoverl.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.equals/vb/equalsoverl.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Equals/equalsoverl.vb" id="Snippet1"::: @@ -1333,7 +1333,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/MaxValue/MaxValue1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt32.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1545,7 +1545,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parse1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1769,7 +1769,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parseex2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -2153,7 +2153,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt32/Parse/parseex4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6185,7 +6185,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6279,7 +6279,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6380,7 +6380,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring3.cs" interactive="try-dotnet" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6496,7 +6496,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt32/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt32/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt32/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6870,7 +6870,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse11.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse11.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7275,7 +7275,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt16/TryParse/tryparse21.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt16/TryParse/tryparse21.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint32.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt16/TryParse/tryparse21.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UInt64.xml b/xml/System/UInt64.xml index b00ae85f433..4f282187ca1 100644 --- a/xml/System/UInt64.xml +++ b/xml/System/UInt64.xml @@ -824,7 +824,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equals1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equals1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equals1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equals1.vb" id="Snippet1"::: ]]> @@ -833,7 +833,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equalsoverl.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb" id="Snippet2"::: @@ -909,7 +909,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UInt64/Equals/equalsoverl.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Equals/equalsoverl.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.equals/vb/equalsoverl.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Equals/equalsoverl.vb" id="Snippet2"::: @@ -1322,7 +1322,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/MaxValue/MaxValue1.cs" interactive="try-dotnet-method" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1433,7 +1433,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/MaxValue/MaxValue1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/MaxValue/MaxValue1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.UInt64.MaxValue/vb/MaxValue1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/MaxValue/MaxValue1.vb" id="Snippet1"::: ]]> @@ -1534,7 +1534,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1756,7 +1756,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parseex2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parseex2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parseex2.vb" id="Snippet2"::: ]]> @@ -2136,7 +2136,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UInt64/Parse/parseex4.cs" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/Parse/parseex4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.parse/vb/parseex4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/Parse/parseex4.vb" id="Snippet4"::: ]]> @@ -6157,7 +6157,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring1.vb" id="Snippet1"::: ]]> @@ -6251,7 +6251,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring2.cs" interactive="try-dotnet" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring2.vb" id="Snippet2"::: ]]> @@ -6352,7 +6352,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring3.cs" id="Snippet3"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring3.fs" id="Snippet3"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring3.vb" id="Snippet3"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring3.vb" id="Snippet3"::: ]]> @@ -6464,7 +6464,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/ToString/tostring4.cs" interactive="try-dotnet" id="Snippet4"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/ToString/tostring4.fs" id="Snippet4"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tostring/vb/tostring4.vb" id="Snippet4"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/ToString/tostring4.vb" id="Snippet4"::: ]]> @@ -6837,7 +6837,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/TryParse/tryparse1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/TryParse/tryparse1.vb" id="Snippet1"::: ]]> @@ -7242,7 +7242,7 @@ This member is an explicit interface member implementation. It can be used only :::code language="csharp" source="~/snippets/csharp/System/UInt64/TryParse/tryparse2.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UInt64/TryParse/tryparse2.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uint64.tryparse/vb/tryparse2.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UInt64/TryParse/tryparse2.vb" id="Snippet2"::: ]]> diff --git a/xml/System/UIntPtr.xml b/xml/System/UIntPtr.xml index f369bf6e92a..c39ff02921d 100644 --- a/xml/System/UIntPtr.xml +++ b/xml/System/UIntPtr.xml @@ -532,7 +532,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/Add/add1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/Add/add1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.add/vb/add1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/Add/add1.vb" id="Snippet1"::: ]]> @@ -1476,7 +1476,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/op_Addition/op_addition1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/op_Addition/op_addition1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_addition1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/op_Addition/op_addition1.vb" id="Snippet1"::: Languages that do not support custom operators can call the method instead. @@ -2019,7 +2019,7 @@ For this method matches the IEEE 754:2 :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/op_Addition/op_subtraction1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/op_Addition/op_subtraction1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.op_addition/vb/op_subtraction1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/op_Addition/op_subtraction1.vb" id="Snippet2"::: Languages that do not support custom operators can call the method instead. @@ -2700,7 +2700,7 @@ It is recommended that a function return `1`, `0`, and `-1`, respectively. :::code language="csharp" source="~/snippets/csharp/System/UIntPtr/Subtract/subtract1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UIntPtr/Subtract/subtract1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.uintptr.subtract/vb/subtract1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UIntPtr/Subtract/subtract1.vb" id="Snippet1"::: ]]> diff --git a/xml/System/UnauthorizedAccessException.xml b/xml/System/UnauthorizedAccessException.xml index d07f868429b..0f8d359835e 100644 --- a/xml/System/UnauthorizedAccessException.xml +++ b/xml/System/UnauthorizedAccessException.xml @@ -85,7 +85,7 @@ :::code language="csharp" source="~/snippets/csharp/System/UnauthorizedAccessException/Overview/withio.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/UnauthorizedAccessException/Overview/withio.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.unauthorizedaccessexception/vb/withio.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/UnauthorizedAccessException/Overview/withio.vb" id="Snippet1"::: ]]> diff --git a/xml/System/ValueType.xml b/xml/System/ValueType.xml index f26efe8b250..ec02e36052c 100644 --- a/xml/System/ValueType.xml +++ b/xml/System/ValueType.xml @@ -78,13 +78,13 @@ :::code language="csharp" source="~/snippets/csharp/System/ValueType/Overview/example1.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/ValueType/Overview/example1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/ValueType/Overview/example1.vb" id="Snippet1"::: The following example illustrates calls to the methods of the `Utility` class. :::code language="csharp" source="~/snippets/csharp/System/ValueType/Overview/example1.cs" id="Snippet2"::: :::code language="fsharp" source="~/snippets/fsharp/System/ValueType/Overview/example1.fs" id="Snippet2"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.valuetype.structure/vb/example1.vb" id="Snippet2"::: + :::code language="vb" source="~/snippets/visualbasic/System/ValueType/Overview/example1.vb" id="Snippet2"::: ]]> @@ -349,7 +349,7 @@ The following example demonstrates how the class, which overrides . diff --git a/xml/System/Version.xml b/xml/System/Version.xml index c24bac8ea6f..e1fe6d8b678 100644 --- a/xml/System/Version.xml +++ b/xml/System/Version.xml @@ -119,7 +119,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/Overview/example1.cs" id="Snippet6"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/Overview/example1.fs" id="Snippet6"::: -:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Version.Class/vb/example1.vb" id="Snippet6"::: +:::code language="vb" source="~/snippets/visualbasic/System/Version/Overview/example1.vb" id="Snippet6"::: ]]> @@ -446,7 +446,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -509,7 +509,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -957,7 +957,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1071,7 +1071,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1133,7 +1133,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1193,7 +1193,7 @@ The following example uses the :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -1707,7 +1707,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/Parse/parse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/Parse/parse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.parse/vb/parse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/Parse/parse1.vb" id="Snippet1"::: ]]> @@ -1777,7 +1777,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/.ctor/rev.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/.ctor/rev.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.revision/vb/rev.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/.ctor/rev.vb" id="Snippet1"::: ]]> @@ -2541,7 +2541,7 @@ where `major`, `minor`, `build`, and `revision` are the string representations o :::code language="csharp" source="~/snippets/csharp/System/Version/TryParse/tryparse1.cs" interactive="try-dotnet" id="Snippet1"::: :::code language="fsharp" source="~/snippets/fsharp/System/Version/TryParse/tryparse1.fs" id="Snippet1"::: - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.version.tryparse/vb/tryparse1.vb" id="Snippet1"::: + :::code language="vb" source="~/snippets/visualbasic/System/Version/TryParse/tryparse1.vb" id="Snippet1"::: ]]>