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 클라이언트 스크립트로 변환 되는 속성의 내부 사전에 지정 된 속성을 추가 합니다.

적용 대상