AssemblyReferences 类

更新:2007 年 11 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

一个上下文项,用于维护设计器解析类型信息所使用的引用集。

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

语法

声明
Public Class AssemblyReferences _
    Inherits ContextItem
用法
Dim instance As AssemblyReferences
public class AssemblyReferences : ContextItem
public ref class AssemblyReferences : public ContextItem
public class AssemblyReferences extends ContextItem

备注

您可以向编辑上下文添加更多引用,方法是使用其他引用新建一个 AssemblyReferences 对象,并将此值设置到上下文中。实际使用的引用集将为新引用和现有引用的联合。

继承层次结构

System.Object
  Microsoft.Windows.Design.ContextItem
    Microsoft.Windows.Design.AssemblyReferences

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

AssemblyReferences 成员

Microsoft.Windows.Design 命名空间

其他资源

WPF 设计器扩展性