Bagikan melalui


VbStrConv Enumeration

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

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.

Members

Member

Constant

Description

UpperCase

vbUpperCase

Converts the string to uppercase characters.

LowerCase

vbLowerCase

Converts the string to lowercase characters.

ProperCase

vbProperCase

Converts the first letter of every word in the string to uppercase.

Wide

vbWide

Converts narrow (single-byte) characters in the string to wide (double-byte) characters. Applies to Asian locales.

Narrow

vbNarrow

Converts wide (double-byte) characters in the string to narrow (single-byte) characters. Applies to Asian locales.

None

 

Performs no conversion.

Katakana

vbKatakana

Converts Hiragana characters in the string to Katakana characters. Applies to Japanese locale only.

Hiragana

vbHiragana

Converts Katakana characters in the string to Hiragana characters. Applies to Japanese locale only.

SimplifiedChinese

vbSimplifiedChinese

Converts the string to Simplified Chinese characters.

TraditionalChinese

vbTraditionalChinese

Converts the string to Traditional Chinese characters.

LinguisticCasing

vbLinguisticCasing

Converts the string from file system rules for casing to linguistic rules.

Smart Device Developer Notes

This enumeration is not supported.

Requirements

Namespace: Microsoft.VisualBasic

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Tasks

How to: Refer to an Enumeration Member

Concepts

Intrinsic Constants and Enumerations

When to Use an Enumeration

Reference

StrConv Function

Other Resources

Introduction to Strings in Visual Basic