C# Class System.Globalization.TextInfo

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
AllocateDefaultCasingTable void*
ChangeCaseSurrogate void
Clone Object
CompareOrdinalIgnoreCase int
CompareOrdinalIgnoreCaseEx int
GetCaseInsensitiveHashCode int
GetHashCodeOrdinalIgnoreCase int
GetNativeTextInfo void*
IDeserializationCallback void
IndexOfStringOrdinalIgnoreCase int
InternalAllocateCasingTable void*
IsLetterCategory bool
IsWordSeparator bool
LastIndexOfStringOrdinalIgnoreCase int
OnDeserialized void
OnDeserialized void
OnDeserializing void
OnSerializing void
ReadOnly TextInfo
SetReadOnlyState void
TextInfo System
TextInfo System
VerifyWritable void
nativeChangeCaseChar char
nativeChangeCaseString String
nativeChangeCaseSurrogate void
nativeCompareOrdinalIgnoreCase int
nativeCompareOrdinalIgnoreCaseEx int
nativeGetCaseInsHash int
nativeGetHashCodeOrdinalIgnoreCase int
nativeGetInvariantTextInfo void*
nativeGetTitleCaseChar char
nativeIndexOfCharOrdinalIgnoreCase int
nativeIndexOfStringOrdinalIgnoreCase int
nativeLastIndexOfCharOrdinalIgnoreCase int
nativeLastIndexOfStringOrdinalIgnoreCase int

Public Methods

Method Description
Equals ( Object obj ) : bool
GetHashCode ( ) : int
ToLower ( String str ) : String
ToLower ( char c ) : char
ToString ( ) : String
ToTitleCase ( String str ) : String
ToUpper ( String str ) : String
ToUpper ( char c ) : char

Private Methods

Method Description
AllocateDefaultCasingTable ( byte ptr ) : void*
ChangeCaseSurrogate ( char highSurrogate, char lowSurrogate, char &resultHighSurrogate, char &resultLowSurrogate, bool isToUpper ) : void
Clone ( ) : Object
CompareOrdinalIgnoreCase ( String str1, String str2 ) : int
CompareOrdinalIgnoreCaseEx ( String strA, int indexA, String strB, int indexB, int length ) : int
GetCaseInsensitiveHashCode ( String str ) : int
GetHashCodeOrdinalIgnoreCase ( String s ) : int
GetNativeTextInfo ( int cultureID ) : void*
IDeserializationCallback ( Object sender ) : void
IndexOfStringOrdinalIgnoreCase ( String source, String value, int startIndex, int count ) : int
InternalAllocateCasingTable ( byte ptr, int exceptionIndex ) : void*
IsLetterCategory ( UnicodeCategory uc ) : bool
IsWordSeparator ( UnicodeCategory category ) : bool
LastIndexOfStringOrdinalIgnoreCase ( String source, String value, int startIndex, int count ) : int
OnDeserialized ( ) : void
OnDeserialized ( StreamingContext ctx ) : void
OnDeserializing ( StreamingContext ctx ) : void
OnSerializing ( StreamingContext ctx ) : void
ReadOnly ( TextInfo textInfo ) : TextInfo
SetReadOnlyState ( bool readOnly ) : void
TextInfo ( ) : System
TextInfo ( CultureTableRecord table ) : System
VerifyWritable ( ) : void
nativeChangeCaseChar ( int win32LangID, void pNativeTextInfo, char ch, bool isToUpper ) : char
nativeChangeCaseString ( int win32LangID, void pNativeTextInfo, String str, bool isToUpper ) : String
nativeChangeCaseSurrogate ( void pNativeTextInfo, char highSurrogate, char lowSurrogate, char resultHighSurrogate, char resultLowSurrogate, bool isToUpper ) : void
nativeCompareOrdinalIgnoreCase ( void pNativeTextInfo, String str1, String str2 ) : int
nativeCompareOrdinalIgnoreCaseEx ( void pNativeTextInfo, String strA, int indexA, String strB, int indexB, int length ) : int
nativeGetCaseInsHash ( String str, void pNativeTextInfo ) : int
nativeGetHashCodeOrdinalIgnoreCase ( void pNativeTextInfo, String s ) : int
nativeGetInvariantTextInfo ( ) : void*
nativeGetTitleCaseChar ( void pNativeTextInfo, char ch ) : char
nativeIndexOfCharOrdinalIgnoreCase ( void pNativeTextInfo, String str, Char value, int startIndex, int count ) : int
nativeIndexOfStringOrdinalIgnoreCase ( void pNativeTextInfo, String str, String value, int startIndex, int count ) : int
nativeLastIndexOfCharOrdinalIgnoreCase ( void pNativeTextInfo, String str, Char value, int startIndex, int count ) : int
nativeLastIndexOfStringOrdinalIgnoreCase ( void pNativeTextInfo, String str, String value, int startIndex, int count ) : int

Method Details

Equals() public method

public Equals ( Object obj ) : bool
obj Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToLower() public method

public ToLower ( String str ) : String
str String
return String

ToLower() public method

public ToLower ( char c ) : char
c char
return char

ToString() public method

public ToString ( ) : String
return String

ToTitleCase() public method

public ToTitleCase ( String str ) : String
str String
return String

ToUpper() public method

public ToUpper ( String str ) : String
str String
return String

ToUpper() public method

public ToUpper ( char c ) : char
c char
return char