IMemberCreationService.UpdateProperty Méthode

Définition

Définit un nouveau nom et un nouveau type sur une propriété sur la classe spécifiée.

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)

Paramètres

className
String

Chaîne qui contient le nom de la classe sur laquelle réside la propriété à mettre à jour.

oldPropertyName
String

Chaîne qui contient le nom existant de la propriété.

oldPropertyType
Type

Associé Type à la propriété existante.

newPropertyName
String

Chaîne qui contient le nouveau nom de la propriété.

newPropertyType
Type

À Type associer à la version mise à jour de la propriété.

attributes
AttributeInfo[]

Tableau AttributeInfo qui contient des informations sur tous les attributs à affecter à la propriété mise à jour.

emitDependencyProperty
Boolean

true pour mettre à jour la propriété émettre une propriété de dépendance ; sinon, false.

isMetaProperty
Boolean

true pour définir la propriété en tant que méta propriété ; sinon, false.

S’applique à