ServiceManager.GetEnumerator 方法

当在派生类中重写时,检索此 ServiceManager 的已发布服务的枚举器。

命名空间:  Microsoft.Windows.Design
程序集:  Microsoft.Windows.Design.Extensibility(在 Microsoft.Windows.Design.Extensibility.dll 中)

语法

声明
Public MustOverride Function GetEnumerator As IEnumerator(Of Type)
public abstract IEnumerator<Type> GetEnumerator()
public:
virtual IEnumerator<Type^>^ GetEnumerator() abstract
abstract GetEnumerator : unit -> IEnumerator<Type> 
public abstract function GetEnumerator() : IEnumerator<Type>

返回值

类型:System.Collections.Generic.IEnumerator<Type>
已发布服务的枚举。

实现

IEnumerable<T>.GetEnumerator()

.NET Framework 安全性

请参见

参考

ServiceManager 类

Microsoft.Windows.Design 命名空间

EditingContext

ContextItem

Publish

其他资源

WPF 设计器扩展性