Share via


PropertyAssignment Class

Represents a property assignment pair that consists of property ID and a property value.

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

Syntax

'Declaration
Public NotInheritable Class PropertyAssignment
'Usage
Dim instance As PropertyAssignment
public sealed class PropertyAssignment
public ref class PropertyAssignment sealed
public final class PropertyAssignment

Remarks

This classis used in element constructors to initialize the properties of the element at creation time.

Constructors that accept an array of property assignments allow property values to be assigned when the model element or a subclass is created.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.PropertyAssignment

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PropertyAssignment Members

Microsoft.VisualStudio.Modeling Namespace

Other Resources

Domain Classes in the Generated API

Walkthrough: Creating a Generated API

Providing Custom Constructors