IWrappedMember 接口

定义

定义用于访问对象的方法,成员是依据该对象定义的。Defines methods for accessing the object that a member is defined on.

此 API 支持产品基础结构,不能在代码中直接使用。

public interface class IWrappedMember
public interface IWrappedMember
type IWrappedMember = interface
Public Interface IWrappedMember

注解

每个被包装对象都包含一个成员(字段、属性或方法)的信息,以及作为成员定义依据的实例化对象的副本。Each wrapped object contains the information for one member (field, property, or method), together with a copy of the instantiated object that the member is defined on. 这样,不包含成员的其他对象将能够存储成员,然后返回成员的值,就好像成员是自己的成员一样。This enables other objects that do not contain the member to store it and then return its value as if it were their own.

方法

GetWrappedObject()

此 API 支持产品基础结构,不能在代码中直接使用。

在类中实现时,返回作为成员定义依据的对象。When implemented in a class, returns the object that a member is defined on.

适用于

另请参阅