System.Linq.Expressions.Strings.PropertyNotDefinedForType C# (CSharp) Method

PropertyNotDefinedForType() static private method

A string like "Property '{0}' is not defined for type '{1}'"
static private PropertyNotDefinedForType ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string PropertyNotDefinedForType(object p0, object p1) => SR.Format(SR.PropertyNotDefinedForType, p0, p1);

Usage Example

 internal static Exception PropertyNotDefinedForType(object p0, object p1)
 {
     return(new ArgumentException(Strings.PropertyNotDefinedForType(p0, p1)));
 }
Strings