IMemberCreationService.UpdateProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a new name and type to a property on the specified class.
public:
void UpdateProperty(System::String ^ className, System::String ^ oldPropertyName, Type ^ oldPropertyType, System::String ^ newPropertyName, Type ^ newPropertyType, cli::array <System::Workflow::ComponentModel::Compiler::AttributeInfo ^> ^ attributes, bool emitDependencyProperty, bool isMetaProperty);
public void UpdateProperty (string className, string oldPropertyName, Type oldPropertyType, string newPropertyName, Type newPropertyType, System.Workflow.ComponentModel.Compiler.AttributeInfo[] attributes, bool emitDependencyProperty, bool isMetaProperty);
abstract member UpdateProperty : string * string * Type * string * Type * System.Workflow.ComponentModel.Compiler.AttributeInfo[] * bool * bool -> unit
Public Sub UpdateProperty (className As String, oldPropertyName As String, oldPropertyType As Type, newPropertyName As String, newPropertyType As Type, attributes As AttributeInfo(), emitDependencyProperty As Boolean, isMetaProperty As Boolean)
Parameters
- className
- String
A string that contains the name of the class on which the property to update resides.
- oldPropertyName
- String
A string that contains the existing name of the property.
- newPropertyName
- String
A string that contains the new name of the property.
- attributes
- AttributeInfo[]
An AttributeInfo array that contains information on all attributes to assign to the updated property.
- emitDependencyProperty
- Boolean
true
to update the property emit a dependency property; otherwise, false
.
- isMetaProperty
- Boolean
true
to set the property as a meta property; otherwise, false
.