Share via


DataObjectChangeEvents.RaiseObjectChanged Method (Int32, String, array<Object[], array<Object )

Raises an ObjectChanged event within a specific event group for an object whose identifier was modified during the change.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustOverride Sub RaiseObjectChanged ( _
    groupId As Integer, _
    typeName As String, _
    identifier As Object(), _
    newIdentifier As Object() _
)
public abstract void RaiseObjectChanged(
    int groupId,
    string typeName,
    Object[] identifier,
    Object[] newIdentifier
)
public:
virtual void RaiseObjectChanged(
    int groupId, 
    String^ typeName, 
    array<Object^>^ identifier, 
    array<Object^>^ newIdentifier
) abstract
abstract RaiseObjectChanged : 
        groupId:int * 
        typeName:string * 
        identifier:Object[] * 
        newIdentifier:Object[] -> unit 
public abstract function RaiseObjectChanged(
    groupId : int, 
    typeName : String, 
    identifier : Object[], 
    newIdentifier : Object[]
)

Parameters

  • groupId
    Type: System.Int32
    The ID of a group in which the event should be raised, or zero to indicate no group.
  • typeName
    Type: System.String
    The name of the type of object that was changed.
  • identifier
    Type: array<System.Object[]
    The identifier of the object that was changed.
  • newIdentifier
    Type: array<System.Object[]
    The new identifier of the object after it was changed.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The groupId parameter is less than or equal to zero or is greater than the current number of allocated groups.

ArgumentException

The groupId parameter is invalid.

.NET Framework Security

See Also

Reference

DataObjectChangeEvents Class

RaiseObjectChanged Overload

Microsoft.VisualStudio.Data Namespace