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 または componentIDnull または空の文字列 ("") です。

注釈

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

適用対象