Dela via


ServiceManager.GetEnumerator Method

When overridden in a derived class, retrieves an enumerator of the published services of this ServiceManager.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of Type)
'Usage
Dim instance As ServiceManager 
Dim returnValue As IEnumerator(Of Type)

returnValue = instance.GetEnumerator()
public abstract IEnumerator<Type> GetEnumerator()
public:
virtual IEnumerator<Type^>^ GetEnumerator() abstract
public abstract function GetEnumerator() : IEnumerator<Type>

Return Value

Type: System.Collections.Generic.IEnumerator<Type>
An enumeration of published services.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

ServiceManager Class

ServiceManager Members

Microsoft.Windows.Design Namespace

EditingContext

ContextItem

Publish

Other Resources

WPF Designer Extensibility