Language

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

定義

指定したプロパティを追加し、そのプロパティを指定した要素に関連付けます。

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

パラメーター

name
String

プロパティの名前。

componentID
String

ターゲット コンポーネントの ID。

例外

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

注釈

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

適用対象