PropertyPathReferencesProperty.SetProperty Method
Sets Property.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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.