DesigntimeLicenseContext.SetSavedLicenseKey(Type, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定一個儲存的授權金鑰。
public:
override void SetSavedLicenseKey(Type ^ type, System::String ^ key);
public override void SetSavedLicenseKey(Type type, string key);
override this.SetSavedLicenseKey : Type * string -> unit
Public Overrides Sub SetSavedLicenseKey (type As Type, key As String)
參數
- type
- Type
授權金鑰的類型。
- key
- String
授權金鑰。
備註
此方法將指定的授權金鑰設定為此授權上下文。