VbStrConv Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates which type of conversion to perform when calling the StrConv
function.
This enumeration supports a bitwise combination of its member values.
public enum class VbStrConv
[System.Flags]
public enum VbStrConv
[<System.Flags>]
type VbStrConv =
Public Enum VbStrConv
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | Performs no conversion. |
Uppercase | 1 | Converts the string to uppercase characters. This member is equivalent to the Visual Basic constant |
UpperCase | 1 | Converts the string to uppercase characters. This member is equivalent to the Visual Basic constant |
Lowercase | 2 | Converts the string to lowercase characters. This member is equivalent to the Visual Basic constant |
LowerCase | 2 | Converts the string to lowercase characters. This member is equivalent to the Visual Basic constant |
ProperCase | 3 | Converts the first letter of every word in the string to uppercase. This member is equivalent to the Visual Basic constant |
Wide | 4 | Converts narrow (single-byte) characters in the string to wide (double-byte) characters. Applies to Asian locales. This member is equivalent to the Visual Basic constant |
Narrow | 8 | Converts wide (double-byte) characters in the string to narrow (single-byte) characters. Applies to Asian locales. This member is equivalent to the Visual Basic constant |
Katakana | 16 | Converts Hiragana characters in the string to Katakana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant |
Hiragana | 32 | Converts Katakana characters in the string to Hiragana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant |
SimplifiedChinese | 256 | Converts the string to Simplified Chinese characters. This member is equivalent to the Visual Basic constant |
TraditionalChinese | 512 | Converts the string to Traditional Chinese characters. This member is equivalent to the Visual Basic constant |
LinguisticCasing | 1024 | Converts the string from file system rules for casing to linguistic rules. This member is equivalent to the Visual Basic constant |
Remarks
When you call the StrConv
function, you can use the following enumeration members in your code in place of the actual values. The Conversion
argument takes the VbStrConv
enumeration members.