ScriptComponentDescriptor.AddComponentProperty(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified property, and associates that property with the specified element.
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)
Parameters
- name
- String
The name of the property.
- componentID
- String
The ID of the target component.
Exceptions
name
or componentID
is null
or an empty string ("").
Remarks
This method adds the specified property to the internal dictionary of properties that are used by the control and converted to client script by the GetScript method.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.