Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the TrackingPropertyDescriptor class.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
modelElement As ModelElement, _
domainProperty As DomainPropertyInfo, _
trackingProperty As DomainPropertyInfo, _
attributes As Attribute() _
)
public TrackingPropertyDescriptor(
ModelElement modelElement,
DomainPropertyInfo domainProperty,
DomainPropertyInfo trackingProperty,
Attribute[] attributes
)
public:
TrackingPropertyDescriptor(
ModelElement^ modelElement,
DomainPropertyInfo^ domainProperty,
DomainPropertyInfo^ trackingProperty,
array<Attribute^>^ attributes
)
new :
modelElement:ModelElement *
domainProperty:DomainPropertyInfo *
trackingProperty:DomainPropertyInfo *
attributes:Attribute[] -> TrackingPropertyDescriptor
public function TrackingPropertyDescriptor(
modelElement : ModelElement,
domainProperty : DomainPropertyInfo,
trackingProperty : DomainPropertyInfo,
attributes : Attribute[]
)
Parameters
modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe model element that has this domain property; or null to not associate this domain property with a model element.
domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfoThe metadata for the described domain property.
trackingProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfoThe domain-property metadata that indicates whether the described property is tracking or has been updated by the user.
attributes
Type: array<Attribute[]The attributes to associate with the domain property.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The domainProperty or trackingProperty parameter is 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.
See Also
Reference
TrackingPropertyDescriptor Class