DesigntimeLicenseContext.GetSavedLicenseKey(Type, Assembly) 方法

定义

获取已保存的许可证密钥。

public:
 override System::String ^ GetSavedLicenseKey(Type ^ type, System::Reflection::Assembly ^ resourceAssembly);
public override string GetSavedLicenseKey (Type type, System.Reflection.Assembly resourceAssembly);
public override string? GetSavedLicenseKey (Type type, System.Reflection.Assembly? resourceAssembly);
override this.GetSavedLicenseKey : Type * System.Reflection.Assembly -> string
Public Overrides Function GetSavedLicenseKey (type As Type, resourceAssembly As Assembly) As String

参数

type
Type

许可证密钥的类型。

resourceAssembly
Assembly

要从其中获取密钥的程序集。

返回

匹配指定类型且已保存的许可证密钥。

适用于

另请参阅