Metodo IVsDataObjectChangeEventsBroker.RaiseObjectChanged (Int32, String, array<Object[], IDictionary<String, Object>, array<Object[], IDictionary<String, Object>)
Genera l'evento ObjectChanged o aggiungere l'evento al gruppo di eventi specificato.
Spazio dei nomi: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Sintassi
'Dichiarazione
Sub RaiseObjectChanged ( _
groupId As Integer, _
typeName As String, _
identifier As Object(), _
propertyValues As IDictionary(Of String, Object), _
newIdentifier As Object(), _
newPropertyValues As IDictionary(Of String, Object) _
)
void RaiseObjectChanged(
int groupId,
string typeName,
Object[] identifier,
IDictionary<string, Object> propertyValues,
Object[] newIdentifier,
IDictionary<string, Object> newPropertyValues
)
void RaiseObjectChanged(
int groupId,
String^ typeName,
array<Object^>^ identifier,
IDictionary<String^, Object^>^ propertyValues,
array<Object^>^ newIdentifier,
IDictionary<String^, Object^>^ newPropertyValues
)
abstract RaiseObjectChanged :
groupId:int *
typeName:string *
identifier:Object[] *
propertyValues:IDictionary<string, Object> *
newIdentifier:Object[] *
newPropertyValues:IDictionary<string, Object> -> unit
function RaiseObjectChanged(
groupId : int,
typeName : String,
identifier : Object[],
propertyValues : IDictionary<String, Object>,
newIdentifier : Object[],
newPropertyValues : IDictionary<String, Object>
)
Parametri
groupId
Tipo: Int32Un valore numerico che rappresenta l'identificatore del gruppo di eventi. Specificare 0 per evitare i gruppi di eventi e generare l'evento immediatamente.
typeName
Tipo: StringIl nome del tipo di oggetto dati per il quale generare l'evento.
identifier
Tipo: array<Object[]Una matrice contenente le parti dell'identificatore che identificano in modo univoco l'oggetto dati non aggiornati.
propertyValues
Tipo: IDictionary<String, Object>I valori delle proprietà obsoleti oggetto dati modificati.
newIdentifier
Tipo: array<Object[]Una matrice contenente le parti dell'identificatore che identificano in modo univoco il nuovo oggetto dati.
newPropertyValues
Tipo: IDictionary<String, Object>I nuovi valori di proprietà dell'oggetto dati modificati.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentOutOfRangeException | Il parametro groupId è minore di zero, o è diverso da zero e maggiore del numero dei gruppi di eventi esistenti. |
ArgumentException | ID gruppo utente non valida. L'id gruppo utente non può essere convalidato. |
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.