共用方式為


RegisteredScript.Key 屬性

定義

取得索引鍵,可以與 Type 值一起識別指令碼。

public:
 property System::String ^ Key { System::String ^ get(); };
public string Key { get; }
member this.Key : string
Public ReadOnly Property Key As String

屬性值

String

索引鍵的值。 這個值可以是 null 或空的。

備註

用戶端腳本是以其索引鍵和其類型來唯一識別。 只有一個具有指定索引鍵/類型配對的腳本可以向頁面註冊。

適用於