ObjectPath.ContainsProperty(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.