Skip to content

Commit 79f2385

Browse files
CopilotBillWagner
andcommitted
Complete CType terminology updates in language reference and procedures
Co-authored-by: BillWagner <[email protected]>
1 parent 29f026b commit 79f2385

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

docs/visual-basic/language-reference/data-types/boolean-data-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ End If
6060
- [Conversion Summary](../keywords/conversion-summary.md)
6161
- [Efficient Use of Data Types](../../programming-guide/language-features/data-types/efficient-use-of-data-types.md)
6262
- [Troubleshooting Data Types](../../programming-guide/language-features/data-types/troubleshooting-data-types.md)
63-
- [CType Function](../functions/ctype-function.md)
63+
- [CType Operator](../functions/ctype-function.md)

docs/visual-basic/language-reference/error-messages/latebound-overload-resolution-cannot-be-applied.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ Each of the preceding lines of code explicitly casts the `Object` variable `o1`
6565

6666
- [Procedure Overloading](../../programming-guide/language-features/procedures/procedure-overloading.md)
6767
- [Overload Resolution](../../programming-guide/language-features/procedures/overload-resolution.md)
68-
- [CType Function](../functions/ctype-function.md)
68+
- [CType Operator](../functions/ctype-function.md)

docs/visual-basic/language-reference/functions/conversion-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ms.assetid: 8a8fb553-a8ac-424e-8103-26eea25eaa71
3434
- [CShort Function](type-conversion-functions.md)
3535
- [CSng Function](type-conversion-functions.md)
3636
- [CStr Function](type-conversion-functions.md)
37-
- [CType Function](ctype-function.md)
37+
- [CType Operator](ctype-function.md)
3838
- [CUInt Function](type-conversion-functions.md)
3939
- [CULng Function](type-conversion-functions.md)
4040
- [CUShort Function](type-conversion-functions.md)

docs/visual-basic/language-reference/modifiers/narrowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ Indicates that a conversion operator (`CType`) converts a class or structure to
3434
- [Widening](widening.md)
3535
- [Widening and Narrowing Conversions](../../programming-guide/language-features/data-types/widening-and-narrowing-conversions.md)
3636
- [How to: Define an Operator](../../programming-guide/language-features/procedures/how-to-define-an-operator.md)
37-
- [CType Function](../functions/ctype-function.md)
37+
- [CType Operator](../functions/ctype-function.md)
3838
- [Option Strict Statement](../statements/option-strict-statement.md)

docs/visual-basic/language-reference/modifiers/widening.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ Indicates that a conversion operator (`CType`) converts a class or structure to
3636
- [Narrowing](narrowing.md)
3737
- [Widening and Narrowing Conversions](../../programming-guide/language-features/data-types/widening-and-narrowing-conversions.md)
3838
- [How to: Define an Operator](../../programming-guide/language-features/procedures/how-to-define-an-operator.md)
39-
- [CType Function](../functions/ctype-function.md)
39+
- [CType Operator](../functions/ctype-function.md)
4040
- [Option Strict Statement](../statements/option-strict-statement.md)
4141
- [How to: Define a Conversion Operator](../../programming-guide/language-features/procedures/how-to-define-a-conversion-operator.md)

docs/visual-basic/programming-guide/language-features/procedures/how-to-call-an-operator-procedure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.assetid: 0dce42cc-f0b0-4c14-9f62-018b21f33497
1515
---
1616
# How to: Call an Operator Procedure (Visual Basic)
1717

18-
You call an operator procedure by using the operator symbol in an expression. In the case of a conversion operator, you call the [CType Function](../../../language-reference/functions/ctype-function.md) to convert a value from one data type to another.
18+
You call an operator procedure by using the operator symbol in an expression. In the case of a conversion operator, you call the [CType Operator](../../../language-reference/functions/ctype-function.md) to convert a value from one data type to another.
1919

2020
You do not call operator procedures explicitly. You just use the operator, or the `CType` function, in an assignment statement or an expression, the same way you ordinarily use an operator. Visual Basic makes the call to the operator procedure.
2121

docs/visual-basic/programming-guide/language-features/procedures/operator-procedures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Public Shared [Widening | Narrowing] Operator operatorsymbol ( operand1 [, oper
5151
End Operator
5252
```
5353

54-
You use the `Widening` or `Narrowing` keyword only on a type conversion operator. The operator symbol is always [CType Function](../../../language-reference/functions/ctype-function.md) for a type conversion operator.
54+
You use the `Widening` or `Narrowing` keyword only on a type conversion operator. The operator symbol is always [CType Operator](../../../language-reference/functions/ctype-function.md) for a type conversion operator.
5555

5656
You declare two operands to define a binary operator, and you declare one operand to define a unary operator, including a type conversion operator. All operands must be declared `ByVal`.
5757

docs/visual-basic/programming-guide/language-features/procedures/troubleshooting-procedures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The following items, even though they pertain to the parameter list, are not com
7777

7878
You cannot overload a procedure by varying only one or more of the preceding items.
7979

80-
**Correct approach:** To be able to define a procedure overload, you must vary the signature. Because you must use the same name, you must vary the number, order, or data types of the parameters. In a generic procedure, you can vary the number of type parameters. In a conversion operator ([CType Function](../../../language-reference/functions/ctype-function.md)), you can vary the return type.
80+
**Correct approach:** To be able to define a procedure overload, you must vary the signature. Because you must use the same name, you must vary the number, order, or data types of the parameters. In a generic procedure, you can vary the number of type parameters. In a conversion operator ([CType Operator](../../../language-reference/functions/ctype-function.md)), you can vary the return type.
8181

8282
### Overload resolution with Optional and ParamArray arguments
8383

0 commit comments

Comments
 (0)