IMemberCreationService.UpdateProperty Metodo

Definizione

Imposta un nuovo nome e un nuovo tipo 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

Oggetto Type associato alla proprietà esistente.

newPropertyName
String

Stringa contenente il nuovo nome della proprietà.

newPropertyType
Type

Oggetto Type da associare alla versione aggiornata della proprietà.

attributes
AttributeInfo[]

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

emitDependencyProperty
Boolean

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

isMetaProperty
Boolean

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

Si applica a