VbStrConv Enumeration

VbStrConv Enumeration

 

Indicates which type of conversion to perform when calling the StrConv function.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

[FlagsAttribute]
public enum VbStrConv

Member nameDescription
Hiragana

Converts Katakana characters in the string to Hiragana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant vbHiragana.

Katakana

Converts Hiragana characters in the string to Katakana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant vbKatakana.

LinguisticCasing

Converts the string from file system rules for casing to linguistic rules. This member is equivalent to the Visual Basic constant vbLinguisticCasing.

Lowercase

Converts the string to lowercase characters. This member is equivalent to the Visual Basic constant vbLowerCase.

Narrow

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 vbNarrow.

None

Performs no conversion.

ProperCase

Converts the first letter of every word in the string to uppercase. This member is equivalent to the Visual Basic constant vbProperCase.

SimplifiedChinese

Converts the string to Simplified Chinese characters. This member is equivalent to the Visual Basic constant vbSimplifiedChinese.

TraditionalChinese

Converts the string to Traditional Chinese characters. This member is equivalent to the Visual Basic constant vbTraditionalChinese.

Uppercase

Converts the string to uppercase characters. This member is equivalent to the Visual Basic constant vbUpperCase.

Wide

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 vbWide.

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft