DomainClassInfo.FindDomainProperty Method
Finds a domain property that is defined in this domain class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function FindDomainProperty ( _
propertyName As String, _
includeBaseClasses As Boolean _
) As DomainPropertyInfo
public DomainPropertyInfo FindDomainProperty(
string propertyName,
bool includeBaseClasses
)
public:
DomainPropertyInfo^ FindDomainProperty(
String^ propertyName,
bool includeBaseClasses
)
member FindDomainProperty :
propertyName:string *
includeBaseClasses:bool -> DomainPropertyInfo
public function FindDomainProperty(
propertyName : String,
includeBaseClasses : boolean
) : DomainPropertyInfo
Parameters
propertyName
Type: System.StringThe property name to look for.
includeBaseClasses
Type: System.BooleanSpecifies whether to include base classes in the search.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
A DomainPropertyInfo object.
Remarks
A DomainPropertyInfo is returned if found; otherwise, nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.