Raises a standalone ObjectAdded event, specifying the object type and identifier.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Sub RaiseObjectAdded ( _
typeName As String, _
identifier As Object() _
)
'使用
Dim instance As DataObjectChangeEvents
Dim typeName As String
Dim identifier As Object()
instance.RaiseObjectAdded(typeName, identifier)
public void RaiseObjectAdded(
string typeName,
Object[] identifier
)
public:
void RaiseObjectAdded(
String^ typeName,
array<Object^>^ identifier
)
public function RaiseObjectAdded(
typeName : String,
identifier : Object[]
)
Parameters
typeName
Type: System.StringThe name of the type of object that was added.
identifier
Type: []The identifier of the object that was added.
Permissions
- 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.