Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets Property.
Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetProperty ( _
    element As PropertyPath, _
    newProperty As DomainProperty _
)
public static void SetProperty(
    PropertyPath element,
    DomainProperty newProperty
)
public:
static void SetProperty(
    PropertyPath^ element, 
    DomainProperty^ newProperty
)
static member SetProperty : 
        element:PropertyPath * 
        newProperty:DomainProperty -> unit
public static function SetProperty(
    element : PropertyPath, 
    newProperty : DomainProperty
)
Parameters
- newProperty
 Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty
.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.