Share via


ObjectPath.ContainsProperty(Object, String) Method

Definition

Detects if property exists on object.

public static bool ContainsProperty (object obj, string name);
static member ContainsProperty : obj * string -> bool
Public Shared Function ContainsProperty (obj As Object, name As String) As Boolean

Parameters

obj
Object

object.

name
String

name of the property.

Returns

true if found.

Applies to