DataObjectChangeEvents.RaiseObjectChanged 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.
Overloads
RaiseObjectChanged(String, Object[]) |
Raises a standalone ObjectChanged event, specifying the type name and identifier. |
RaiseObjectChanged(Int32, String, Object[]) |
Raises the ObjectChanged event within a specified event group. |
RaiseObjectChanged(String, Object[], Object[]) |
Raises a standalone ObjectChanged event for an object whose identifier was modified during the change. |
RaiseObjectChanged(Int32, String, Object[], Object[]) |
Raises an ObjectChanged event within a specific event group for an object whose identifier was modified during the change. |
RaiseObjectChanged(String, Object[])
Raises a standalone ObjectChanged event, specifying the type name and identifier.
public:
void RaiseObjectChanged(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectChanged (string typeName, object[] identifier);
member this.RaiseObjectChanged : string * obj[] -> unit
Public Sub RaiseObjectChanged (typeName As String, identifier As Object())
Parameters
- typeName
- String
The name of the type of object that was changed.
- identifier
- Object[]
The identifier of the object that was changed.
Applies to
RaiseObjectChanged(Int32, String, Object[])
Raises the ObjectChanged event within a specified event group.
public:
void RaiseObjectChanged(int groupId, System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectChanged (int groupId, string typeName, object[] identifier);
member this.RaiseObjectChanged : int * string * obj[] -> unit
Public Sub RaiseObjectChanged (groupId As Integer, typeName As String, identifier As Object())
Parameters
- groupId
- Int32
The ID of the event group in which the event should be raised, or zero to indicate no group.
- typeName
- String
The name of the type of object that was changed.
- identifier
- Object[]
The identifier of the object that was changed.
Exceptions
The groupId
parameter is less than or equal to zero or is greater than the current number of allocated groups.
The groupId
parameter is invalid.
Applies to
RaiseObjectChanged(String, Object[], Object[])
Raises a standalone ObjectChanged event for an object whose identifier was modified during the change.
public:
void RaiseObjectChanged(System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::Object ^> ^ newIdentifier);
public void RaiseObjectChanged (string typeName, object[] identifier, object[] newIdentifier);
member this.RaiseObjectChanged : string * obj[] * obj[] -> unit
Public Sub RaiseObjectChanged (typeName As String, identifier As Object(), newIdentifier As Object())
Parameters
- typeName
- String
The name of the type of object that was changed.
- identifier
- Object[]
The identifier of the object that was changed.
- newIdentifier
- Object[]
The new identifier of the object after it was changed.
Applies to
RaiseObjectChanged(Int32, String, Object[], Object[])
Raises an ObjectChanged event within a specific event group for an object whose identifier was modified during the change.
public:
abstract void RaiseObjectChanged(int groupId, System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::Object ^> ^ newIdentifier);
public abstract void RaiseObjectChanged (int groupId, string typeName, object[] identifier, object[] newIdentifier);
abstract member RaiseObjectChanged : int * string * obj[] * obj[] -> unit
Public MustOverride Sub RaiseObjectChanged (groupId As Integer, typeName As String, identifier As Object(), newIdentifier As Object())
Parameters
- groupId
- Int32
The ID of a group in which the event should be raised, or zero to indicate no group.
- typeName
- String
The name of the type of object that was changed.
- identifier
- Object[]
The identifier of the object that was changed.
- newIdentifier
- Object[]
The new identifier of the object after it was changed.
Exceptions
The groupId
parameter is less than or equal to zero or is greater than the current number of allocated groups.
The groupId
parameter is invalid.