共用方式為


EventSinkCollection.IEnumerable.GetEnumerator Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Microsoft Internal Only.

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

'宣告
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'用途
Dim instance As EventSinkCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator 
private override GetEnumerator : unit -> IEnumerator 
JScript does not support explicit interface implementations.

Return Value

Type: System.Collections.IEnumerator
Returns an IEnumerator.

Implements

IEnumerable.GetEnumerator()

Remarks

This method is used internally.

.NET Framework Security

See Also

Reference

EventSinkCollection Class

EventSinkCollection Members

Microsoft.VisualStudio.Shell Namespace