Compartilhar via


DomainClassInfo.FindDomainProperty(String, Boolean) Method

Definition

Finds a domain property defined in this domain class.

public:
 Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ FindDomainProperty(System::String ^ propertyName, bool includeBaseClasses);
public Microsoft.VisualStudio.Modeling.DomainPropertyInfo FindDomainProperty (string propertyName, bool includeBaseClasses);
member this.FindDomainProperty : string * bool -> Microsoft.VisualStudio.Modeling.DomainPropertyInfo
Public Function FindDomainProperty (propertyName As String, includeBaseClasses As Boolean) As DomainPropertyInfo

Parameters

propertyName
String

Property name to look for.

includeBaseClasses
Boolean

Whether to search base classes as well.

Returns

DomainPropertyInfo if found and null otherwise.

Exceptions

Applies to