PropertyPathReferencesProperty.SetProperty 方法

定义

设置属性。

public:
 static void SetProperty(Microsoft::VisualStudio::Modeling::DslDefinition::PropertyPath ^ element, Microsoft::VisualStudio::Modeling::DslDefinition::DomainProperty ^ newProperty);
[System.Diagnostics.DebuggerStepThrough]
public static void SetProperty (Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPath element, Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty newProperty);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetProperty : Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPath * Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty -> unit
Public Shared Sub SetProperty (element As PropertyPath, newProperty As DomainProperty)

参数

element
PropertyPath
newProperty
DomainProperty
属性

适用于