CustomPropertyDescriptor Constructor (Store, array<RoleAssignment[], array<PropertyAssignment )
Constructor
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Sub New ( _
store As Store, _
roleAssignments As RoleAssignment(), _
propertyAssignments As PropertyAssignment() _
)
public CustomPropertyDescriptor(
Store store,
RoleAssignment[] roleAssignments,
PropertyAssignment[] propertyAssignments
)
public:
CustomPropertyDescriptor(
Store^ store,
array<RoleAssignment^>^ roleAssignments,
array<PropertyAssignment^>^ propertyAssignments
)
new :
store:Store *
roleAssignments:RoleAssignment[] *
propertyAssignments:PropertyAssignment[] -> CustomPropertyDescriptor
public function CustomPropertyDescriptor(
store : Store,
roleAssignments : RoleAssignment[],
propertyAssignments : PropertyAssignment[]
)
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
Store where new link is to be created.
- roleAssignments
Type: array<Microsoft.VisualStudio.Modeling.RoleAssignment[]
List of relationship role assignments.
- propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
List of properties assignments to set on the new link.
.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
CustomPropertyDescriptor Class