Assembly.HostContext 属性

定义

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

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

属性值

Int64

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

属性

适用于