System.SR.Format C# (CSharp) Method

Format() static private method

static private Format ( string resourceFormat, object p1, object p2, object p3 ) : string
resourceFormat string
p1 object
p2 object
p3 object
return string
        internal static string Format(string resourceFormat, object p1, object p2, object p3)
        {
            if (UsingResourceKeys())
            {
                return string.Join(", ", resourceFormat, p1, p2, p3);
            }

            return string.Format(resourceFormat, p1, p2, p3);
        }
    }

Same methods

SR::Format ( string resourceFormat ) : string

Usage Example

示例#1
0
 private static Exception CreateArgumentOutOfRangeException_PrecisionTooLarge()
 {
     return(new ArgumentOutOfRangeException("precision", SR.Format(SR.Argument_PrecisionTooLarge, StandardFormat.MaxPrecision)));
 }
All Usage Examples Of System.SR::Format