|
34 | 34 | ## Examples |
35 | 35 | The following example demonstrates how to declare and use a `FixedLengthString`. |
36 | 36 | |
37 | | -``` |
| 37 | +```vb |
38 | 38 | Private Sub DemoFixedLengthString() |
39 | 39 | ' Declare a string that has a length of 7 characters and assign the |
40 | 40 | ' initial string. The additional 5 positions will be padded with |
@@ -94,7 +94,7 @@ End Sub |
94 | 94 | ## Examples |
95 | 95 | The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>. |
96 | 96 | |
97 | | -``` |
| 97 | +```vb |
98 | 98 | Private Sub DemoFixedLengthString() |
99 | 99 | ' Declare a string that has a length of 7 characters. |
100 | 100 | Dim fixedString As New FixedLengthString(7) |
@@ -144,7 +144,7 @@ End Sub |
144 | 144 | ## Examples |
145 | 145 | The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>. |
146 | 146 | |
147 | | -``` |
| 147 | +```vb |
148 | 148 | Private Sub DemoFixedLengthString() |
149 | 149 | ' Declare a string that has a length of 7 characters and assign the |
150 | 150 | ' initial string. The additional 5 positions will be padded with |
@@ -246,7 +246,7 @@ End Sub |
246 | 246 | ## Examples |
247 | 247 | The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>. |
248 | 248 | |
249 | | -``` |
| 249 | +```vb |
250 | 250 | Private Sub DemoFixedLengthString() |
251 | 251 | ' Declare a string that has a length of 7 characters and assign the |
252 | 252 | ' initial string. The additional 5 positions will be padded with |
@@ -295,7 +295,7 @@ End Sub |
295 | 295 | ## Examples |
296 | 296 | The following example demonstrates how to declare and use a <xref:Microsoft.VisualBasic.Compatibility.VB6.FixedLengthString>. |
297 | 297 | |
298 | | -``` |
| 298 | +```vb |
299 | 299 | Private Sub DemoFixedLengthString() |
300 | 300 | ' Declare a string that has a length of 7 characters and assign the |
301 | 301 | ' initial string. The additional 5 positions will be padded with |
|
0 commit comments