ScriptComponentDescriptor.AddProperty(String, Object) 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 value.
public:
void AddProperty(System::String ^ name, System::Object ^ value);
public void AddProperty (string name, object value);
member this.AddProperty : string * obj -> unit
Public Sub AddProperty (name As String, value As Object)
Parameters
- name
- String
The name of the property.
- value
- Object
The value of the property.
Exceptions
name
is null
or an empty string ("").
Remarks
This method adds the property and value to the internal dictionary of properties that are converted to client script by the GetScript method.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.