Language

ScriptComponentDescriptor.AddElementProperty(String, String) メソッド

定義

指定したプロパティを追加し、そのプロパティを指定したコンポーネントに関連付けます。

public:
 void AddElementProperty(System::String ^ name, System::String ^ elementID);
public void AddElementProperty(string name, string elementID);
member this.AddElementProperty : string * string -> unit
Public Sub AddElementProperty (name As String, elementID As String)

パラメーター

name
String

プロパティの名前。

elementID
String

ターゲット要素の ID。

例外

name または component が null または空の文字列 ("") です。

注釈

このメソッドは、指定したプロパティを、 GetScript メソッドによってクライアント スクリプトに変換されるプロパティの内部ディクショナリに追加します。

適用対象