IMemberCreationService.UpdateProperty Metodo

Definizione

Imposta un nome e un tipo nuovi su una proprietà nella classe specificata.

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)

Parametri

className
String

Stringa contenente il nome della classe in cui risiede la proprietà da aggiornare.

oldPropertyName
String

Stringa contenente il nome esistente della proprietà.

oldPropertyType
Type

Type associato alla proprietà esistente.

newPropertyName
String

Stringa contenente il nuovo nome della proprietà.

newPropertyType
Type

Type da associare alla versione aggiornata della proprietà.

attributes
AttributeInfo[]

Matrice AttributeInfo contenente informazioni su tutti gli attributi da assegnare alla proprietà aggiornata.

emitDependencyProperty
Boolean

true per aggiornare la proprietà in modo che crei una proprietà di dipendenza; in caso contrario, false.

isMetaProperty
Boolean

true per impostare la proprietà come metaproprietà; in caso contrario, false.

Si applica a