다음을 통해 공유


String 멤버

텍스트를 일련의 유니코드 문자로 나타냅니다.

다음 표에서는 String 형식에 의해 노출되는 멤버를 보여 줍니다.

Public 생성자

  이름 설명
Public method Supported by the .NET Compact Framework String 오버로드되었습니다. String 클래스의 새 인스턴스를 초기화합니다.

위쪽

Public 필드

  이름 설명
Public field Static Supported by the .NET Compact Framework Empty 빈 문자열을 나타냅니다. 이 필드는 읽기 전용입니다.

위쪽

Public 속성

  이름 설명
Public property Supported by the .NET Compact Framework Chars 이 인스턴트에서 특정 위치에 있는 문자를 가져옵니다.
Public property Supported by the .NET Compact Framework Length 이 인스턴스의 문자 수를 가져옵니다.

위쪽

Public 메서드

  이름 설명
Public method Supported by the .NET Compact Framework Clone String의 이 인스턴스에 대한 참조를 반환합니다.
Public method Static Supported by the .NET Compact Framework Compare 오버로드되었습니다. 지정된 두 String 개체를 비교합니다.
Public method Static CompareOrdinal 오버로드되었습니다. 각 문자열에서 해당하는 Char 개체의 숫자 값을 계산해서 두 String 개체를 비교합니다.
Public method CompareTo 오버로드되었습니다. 이 인스턴스를 지정한 개체나 String과 비교하고 상대 값의 표시를 반환합니다.
Public method Static Supported by the .NET Compact Framework Concat 오버로드되었습니다. String의 인스턴스를 하나 이상 연결하거나 Object의 인스턴스 값에 해당하는 String 표현을 하나 이상 연결합니다.
Public method Contains 이 문자열 내에서 지정한 String 개체가 발생하는지 여부를 나타내는 값을 반환합니다.
Public method Static Supported by the .NET Compact Framework Copy 지정된 String과 동일한 값을 갖는 String의 새 인스턴스를 만듭니다.
Public method Supported by the .NET Compact Framework CopyTo 이 인스턴스의 지정한 위치에 있는 지정한 수의 문자를 유니코드 문자 배열의 특정 위치에 복사합니다.
Public method Supported by the .NET Compact Framework EndsWith 오버로드되었습니다. String 인스턴스의 끝이 지정한 문자열과 일치하는지 여부를 확인합니다.
Public method Supported by the .NET Compact Framework Equals 오버로드되었습니다. 재정의되었습니다. 두 String 개체의 값이 같은지 여부를 확인합니다.
Public method Static Supported by the .NET Compact Framework Format 오버로드되었습니다. 지정된 String의 형식 항목을 해당 개체의 값에 맞는 텍스트로 바꿉니다.
Public method GetEnumerator 이 문자열의 개별 문자에서 반복될 수 있는 개체를 검색합니다.
Public method Supported by the .NET Compact Framework GetHashCode 재정의되었습니다. 해당 문자열에 대한 해시 코드를 반환합니다.
Public method Supported by the .NET Compact Framework GetType  현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public method Supported by the .NET Compact Framework GetTypeCode String 클래스에 대한 TypeCode를 반환합니다.
Public method Supported by the .NET Compact Framework IndexOf 오버로드되었습니다. 이 문자열에서 맨 처음 발견되는 String 또는 하나 이상의 문자의 인덱스를 보고합니다.
Public method Supported by the .NET Compact Framework IndexOfAny 오버로드되었습니다. 지정된 유니코드 문자 배열에 있는 문자 중에서 이 인스턴스에서 맨 처음 발견되는 문자의 인덱스를 보고합니다.
Public method Supported by the .NET Compact Framework Insert String의 지정된 인스턴스를 이 인스턴스의 지정된 인덱스 위치에 삽입합니다.
Public method Static Supported by the .NET Compact Framework Intern 지정된 String에 대한 시스템의 참조를 검색합니다.
Public method Static Supported by the .NET Compact Framework IsInterned 지정된 String에 대한 참조를 검색합니다.
Public method IsNormalized 오버로드되었습니다. 이 문자열의 형식이 특정 유니코드 정규화 형식인지 여부를 나타냅니다.
Public method Static Supported by the .NET Compact Framework IsNullOrEmpty 지정한 String 개체가 Null 참조(Visual Basic의 경우 Nothing)이거나 Empty 문자열인지 여부를 나타냅니다.
Public method Static Supported by the .NET Compact Framework Join 오버로드되었습니다. 지정된 String 배열의 각 요소 사이에 있는 지정된 구분 기호 String을 연결하여 하나의 연결된 문자열로 만듭니다.
Public method Supported by the .NET Compact Framework LastIndexOf 오버로드되었습니다. 이 인스턴스에서 맨 마지막으로 발견되는 유니코드 문자의 인덱스 위치 또는 이 인스턴스 내에 있는 String의 인덱스 위치를 보고합니다.
Public method Supported by the .NET Compact Framework LastIndexOfAny 오버로드되었습니다. 지정된 유니코드 문자 배열에 있는 하나 이상의 문자 중에서 맨 마지막으로 발견되는 문자의 인덱스 위치를 보고합니다.
Public method Normalize 오버로드되었습니다. 이진 표현의 형식이 특정 유니코드 정규화 형식인 새 문자열을 반환합니다.
Public method Static Supported by the .NET Compact Framework op_Equality 지정된 두 String 개체의 값이 같은지 여부를 확인합니다.
Public method Static Supported by the .NET Compact Framework op_Inequality 지정된 두 String 개체의 값이 다른지 여부를 확인합니다.
Public method Supported by the .NET Compact Framework PadLeft 오버로드되었습니다. 이 인스턴스의 문자를 오른쪽으로 맞추고 지정한 길이만큼 왼쪽의 안쪽 여백을 공백 또는 유니코드 문자로 채웁니다.
Public method Supported by the .NET Compact Framework PadRight 오버로드되었습니다. 이 문자열의 문자를 왼쪽으로 맞추고 지정한 길이만큼 오른쪽의 안쪽 여백을 공백 또는 유니코드 문자로 채웁니다.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  지정한 Object 인스턴스가 동일한지 여부를 확인합니다. (Object에서 상속됨)
Public method Supported by the .NET Compact Framework Remove 오버로드되었습니다. 이 인스턴스에서 지정한 수의 문자를 삭제합니다.
Public method Supported by the .NET Compact Framework Replace 오버로드되었습니다. 이 인스턴스에서 발견되는 지정된 유니코드 문자 또는 String을 지정된 다른 유니코드 문자 또는 String으로 모두 바꿉니다.
Public method Supported by the .NET Compact Framework Split 오버로드되었습니다. 지정한 Char 또는 String 배열의 요소에 의해 구분된 이 인스턴스의 부분 문자열이 포함된 String 배열을 반환합니다.
Public method Supported by the .NET Compact Framework StartsWith 오버로드되었습니다. String 인스턴스의 시작 부분이 지정한 문자열과 일치하는지 여부를 확인합니다.
Public method Supported by the .NET Compact Framework Substring 오버로드되었습니다. 이 인스턴스에서 부분 문자열을 검색합니다.
Public method Supported by the .NET Compact Framework ToCharArray 오버로드되었습니다. 이 인스턴스의 문자를 유니코드 문자 배열에 복사합니다.
Public method Supported by the .NET Compact Framework ToLower 오버로드되었습니다. 소문자로 변환된 이 String의 복사본을 반환합니다.
Public method ToLowerInvariant 고정 culture의 대/소문자 규칙을 사용하여 소문자로 변환된 이 String 개체의 복사본을 반환합니다.
Public method Supported by the .NET Compact Framework ToString 오버로드되었습니다. 재정의되었습니다. 이 인스턴스의 값을 String으로 변환합니다.
Public method Supported by the .NET Compact Framework ToUpper 오버로드되었습니다. 대문자로 변환된 이 String의 복사본을 반환합니다.
Public method Supported by the .NET Compact Framework ToUpperInvariant 고정 culture의 대/소문자 규칙을 사용하여 대문자로 변환된 이 String 개체의 복사본을 반환합니다.
Public method Supported by the .NET Compact Framework Trim 오버로드되었습니다. 지정된 모든 문자를 이 인스턴스의 처음과 끝에서 모두 제거합니다.
Public method Supported by the .NET Compact Framework TrimEnd 배열에 지정된 문자를 이 인스턴스의 끝에서 모두 제거합니다.
Public method Supported by the .NET Compact Framework TrimStart 배열에 지정된 문자를 이 인스턴스의 시작에서 모두 제거합니다.

위쪽

명시적 인터페이스 구현

  이름 설명
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.Generic.IEnumerable<System.Char>.GetEnumerator 현재 String 개체를 반복하는 열거자를 반환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.Collections.IEnumerable.GetEnumerator 현재 String 개체를 반복하는 열거자를 반환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean 현재 String 개체의 값을 부울 값으로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte 현재 String 개체의 값을 8비트 부호 없는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar 길이가 1인 빈 문자열이 아닌 문자열을 Char 개체로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime 현재 String 개체의 값을 날짜와 시간으로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal 현재 String 개체의 값을 10진수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble 현재 String 개체의 값을 배정밀도 부동 소수점 숫자로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 현재 String 개체의 값을 16비트 부호 있는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 현재 String 개체의 값을 32비트 부호 있는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 현재 String 개체의 값을 64비트 부호 있는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte 현재 String 개체의 값을 8비트 부호 있는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle 현재 String 개체의 값을 단정밀도 부동 소수점 숫자로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType 현재 String 개체의 값을 지정한 형식의 개체로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 현재 String 개체의 값을 16비트 부호 없는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 현재 String 개체의 값을 32비트 부호 없는 정수로 변환합니다.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 현재 String 개체의 값을 64비트 부호 없는 정수로 변환합니다.

위쪽

참고 항목

참조

String 클래스
System 네임스페이스
IComparable 인터페이스
ICloneable 인터페이스
IConvertible 인터페이스
IEnumerable
System.Text.StringBuilder
CultureInfo

기타 리소스

형식 지정 개요