Condividi tramite


DomainClassInfo.FindDomainProperty Method

Finds a domain property that is defined in this domain class.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
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.String
    The property name to look for.
  • includeBaseClasses
    Type: System.Boolean
    Specifies 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

See Also

Reference

DomainClassInfo Class

Microsoft.VisualStudio.Modeling Namespace