PropertyPathReferencesProperty.SetProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置属性。
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
- 属性