VbStrConv VbStrConv VbStrConv VbStrConv Enum

Definition

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.

public enum class VbStrConv
[System.Flags]
public enum VbStrConv
type VbStrConv = 
Public Enum VbStrConv
Inheritance
Attributes

Fields

Hiragana Hiragana Hiragana 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 vbHiragana.

Katakana Katakana Katakana 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 vbKatakana.

LinguisticCasing LinguisticCasing LinguisticCasing LinguisticCasing 1024

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

Lowercase Lowercase Lowercase Lowercase 2

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

LowerCase LowerCase LowerCase LowerCase 2
Narrow Narrow Narrow 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 vbNarrow.

None None None None 0

Performs no conversion.

ProperCase ProperCase ProperCase ProperCase 3

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

SimplifiedChinese SimplifiedChinese SimplifiedChinese SimplifiedChinese 256

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

TraditionalChinese TraditionalChinese TraditionalChinese TraditionalChinese 512

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

Uppercase Uppercase Uppercase Uppercase 1

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

UpperCase UpperCase UpperCase UpperCase 1
Wide Wide Wide 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 vbWide. The conversion may use Normalization Form C even if an input character is already full-width. For example, the string "は゛" (which is already full-width) is normalized to "ば". See Unicode normalization forms.

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.

Applies to

See also