Assembly.HostContext Assembly.HostContext Assembly.HostContext Assembly.HostContext Property

定义

获取用于加载程序集的主机上下文。Gets the host context with which the assembly was loaded.

public:
 virtual property long HostContext { long get(); };
[System.Runtime.InteropServices.ComVisible(false)]
public virtual long HostContext { get; }
member this.HostContext : int64
Public Overridable ReadOnly Property HostContext As Long

属性值

一个 Int64 值,指示用于加载程序集的主机上下文(如果有)。An Int64 value that indicates the host context with which the assembly was loaded, if any.

适用于