EventSinkCollection.Remove Method
Removes the specified event cookie from the collection.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣告
Public Sub Remove ( _
obj As Object _
)
'用途
Dim instance As EventSinkCollection
Dim obj As Object
instance.Remove(obj)
public void Remove(
Object obj
)
public:
void Remove(
Object^ obj
)
member Remove :
obj:Object -> unit
public function Remove(
obj : Object
)
Parameters
- obj
Type: System.Object
The event cookie to be removed.
.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.