IVsDataObjectChangeEventsBroker.RaiseObjectChanged メソッド (Int32, String, array<Object[], IDictionary<String, Object>, array<Object , IDictionary<String, Object>)

ObjectChanged イベントを発生させるか、指定したグループのイベントにイベントを追加します。

名前空間:  Microsoft.VisualStudio.Data.Services
アセンブリ:  Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)

構文

'宣言
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>
)

パラメーター

  • groupId
    型 : System.Int32
    イベントのグループ ID を表す数値。イベントのグループを回避し、すぐにイベントを発生させる 0 を指定します。
  • typeName
    型 : System.String
    イベントを発生させるデータ オブジェクトの型の名前。
  • identifier
    型 : array<System.Object[]
    古いデータ オブジェクトを区別する識別子のコンポーネントが格納された配列。
  • newIdentifier
    型 : array<System.Object[]
    新しいデータ オブジェクトを区別する識別子のコンポーネントが格納された配列。

例外

例外 条件
ArgumentOutOfRangeException

groupId のパラメーターは、未満で、または既存のイベントのグループの数より大きい場合と異なります。します。

ArgumentException

無効なグループ ID。グループ ID は検証できません。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

IVsDataObjectChangeEventsBroker インターフェイス

RaiseObjectChanged オーバーロード

Microsoft.VisualStudio.Data.Services 名前空間