ElementPropertyDescriptor.SetPropertyViaDescriptor Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Sub SetPropertyViaDescriptor ( _
element As ModelElement, _
propertyInfo As DomainPropertyInfo, _
value As Object _
)
'Usage
Dim element As ModelElement
Dim propertyInfo As DomainPropertyInfo
Dim value As Object
ElementPropertyDescriptor.SetPropertyViaDescriptor(element, _
propertyInfo, value)
public static void SetPropertyViaDescriptor(
ModelElement element,
DomainPropertyInfo propertyInfo,
Object value
)
public:
static void SetPropertyViaDescriptor(
ModelElement^ element,
DomainPropertyInfo^ propertyInfo,
Object^ value
)
public static function SetPropertyViaDescriptor(
element : ModelElement,
propertyInfo : DomainPropertyInfo,
value : Object
)
static member SetPropertyViaDescriptor :
element:ModelElement *
propertyInfo:DomainPropertyInfo *
value:Object -> unit
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
- propertyInfo
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
- value
Type: System.Object
.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
ElementPropertyDescriptor Class