CustomObject.HasProperty(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.
Determines whether a property is present in the CustomObject.
public:
bool HasProperty(System::String ^ property);
public bool HasProperty (string property);
member this.HasProperty : string -> bool
Public Function HasProperty (property As String) As Boolean
Parameters
- property
- String
The name of the property to check.
Returns
true
if the property is present in the CustomObject;
otherwise false
.