ScriptComponentDescriptor.AddElementProperty(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 component.
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)
Parameters
- name
- String
The name of the property.
- elementID
- String
The ID of the target element.
Exceptions
name
or component
is null
or an empty string ("").
Remarks
This method adds the specified property to the internal dictionary of properties that are converted to client script by the GetScript method.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.