DataObjectChangeEvents.RaiseObjectRemoved Method (Int32, String, array<Object )
Raises the ObjectRemoved event within a specified event group.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Sub RaiseObjectRemoved ( _
groupId As Integer, _
typeName As String, _
identifier As Object() _
)
public abstract void RaiseObjectRemoved(
int groupId,
string typeName,
Object[] identifier
)
public:
virtual void RaiseObjectRemoved(
int groupId,
String^ typeName,
array<Object^>^ identifier
) abstract
abstract RaiseObjectRemoved :
groupId:int *
typeName:string *
identifier:Object[] -> unit
public abstract function RaiseObjectRemoved(
groupId : int,
typeName : String,
identifier : Object[]
)
Parameters
groupId
Type: System.Int32The ID of a group in which the event should be raised, or zero to indicate no group.
typeName
Type: System.StringThe name of the type of object that was removed.
identifier
Type: array<System.Object[]The identifier of the object that was removed.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.