CodeStruct2.RemoveInterface(Object) 方法

定义

从实现的接口的列表中删除一个接口。

public:
 void RemoveInterface(System::Object ^ Element);
public:
 void RemoveInterface(Platform::Object ^ Element);
void RemoveInterface(winrt::Windows::Foundation::IInspectable const & Element);
[System.Runtime.InteropServices.DispId(71)]
public void RemoveInterface (object Element);
[<System.Runtime.InteropServices.DispId(71)>]
abstract member RemoveInterface : obj -> unit
Public Sub RemoveInterface (Element As Object)

参数

Element
Object

必需。 CodeElement集合中的一个或的名称。

实现

属性

注解

RemoveInterface 从集合中移除代码元素 ImplementedInterfaces 。 元素可以是 CodeElement 集合中的对象,也可以是集合中唯一元素的名称。

备注

在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。

适用于