LicenseContext.GetSavedLicenseKey(Type, Assembly) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当在派生类中被重写时,从指定的资源程序集中为指定类型返回已保存的许可证密钥。
public:
 virtual System::String ^ GetSavedLicenseKey(Type ^ type, System::Reflection::Assembly ^ resourceAssembly);public virtual string GetSavedLicenseKey (Type type, System.Reflection.Assembly resourceAssembly);public virtual string? GetSavedLicenseKey (Type type, System.Reflection.Assembly? resourceAssembly);abstract member GetSavedLicenseKey : Type * System.Reflection.Assembly -> string
override this.GetSavedLicenseKey : Type * System.Reflection.Assembly -> stringPublic Overridable Function GetSavedLicenseKey (type As Type, resourceAssembly As Assembly) As String参数
返回
指定类型的 LicenseKey。 该方法返回 null,除非您将其重写。
继承者说明
重写此方法和 SetSavedLicenseKey(Type, String) 方法以实现保存的许可证密钥。 
              resourceAssembly如果 参数为 null,则可以从执行 Assembly的主 节点检索资源。