Export (0) Print
Expand All

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 class VbStrConv

Member nameDescription
HiraganaConverts Katakana characters in the string to Hiragana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant vbHiragana.
KatakanaConverts Hiragana characters in the string to Katakana characters. Applies to Japanese locale only. This member is equivalent to the Visual Basic constant vbKatakana.
LinguisticCasingConverts the string from file system rules for casing to linguistic rules. This member is equivalent to the Visual Basic constant vbLinguisticCasing.
LowercaseConverts the string to lowercase characters. This member is equivalent to the Visual Basic constant vbLowerCase.
NarrowConverts 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.
NonePerforms no conversion.
ProperCaseConverts the first letter of every word in the string to uppercase. This member is equivalent to the Visual Basic constant vbProperCase.
SimplifiedChineseConverts the string to Simplified Chinese characters. This member is equivalent to the Visual Basic constant vbSimplifiedChinese.
TraditionalChineseConverts the string to Traditional Chinese characters. This member is equivalent to the Visual Basic constant vbTraditionalChinese.
UppercaseConverts the string to uppercase characters. This member is equivalent to the Visual Basic constant vbUpperCase.
WideConverts 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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft