日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class StringExtensions

    String Extensions.

    Inheritance
    Object
    StringExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public static class StringExtensions

    Methods

    DecodeFrom64(String)

    Decodes string from base 64 ASCII.

    Declaration
    public static string DecodeFrom64(this string encodedData)
    Parameters
    Type Name Description
    String encodedData

    String to decode.

    Returns
    Type Description
    String

    Decoded string.

    EncodeTo64(String)

    Encodes the string to base 64 ASCII.

    Declaration
    public static string EncodeTo64(this string toEncode)
    Parameters
    Type Name Description
    String toEncode

    String to encode.

    Returns
    Type Description
    String

    Encoded string.

    NormalizeSeparators(String)

    Ensures directory separator chars in provided string are platform independent. Given path might use \ or / but not all platforms support both.

    Declaration
    public static string NormalizeSeparators(this string path)
    Parameters
    Type Name Description
    String path
    Returns
    Type Description
    String

    ToProperCase(String)

    Capitalize the first character and add a space before each capitalized letter (except the first character).

    Declaration
    public static string ToProperCase(this string value)
    Parameters
    Type Name Description
    String value
    Returns
    Type Description
    String
    Back to top Generated by DocFX