Initializes a new instance of the PropertyAssignment class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
domainPropertyId As Guid, _
value As Object _
)
'使用
Dim domainPropertyId As Guid
Dim value As Object
Dim instance As New PropertyAssignment(domainPropertyId, _
value)
public PropertyAssignment(
Guid domainPropertyId,
Object value
)
public:
PropertyAssignment(
Guid domainPropertyId,
Object^ value
)
public function PropertyAssignment(
domainPropertyId : Guid,
value : Object
)
Parameters
domainPropertyId
Type: System.GuidID of the domain property to be assigned.
value
Type: System.ObjectThe value to assign to the property.
Permissions
- 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.