ExecutionProperties.Add Method
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.
Registers a new property.
Add(String, Object) |
Registers a new property using the specified name. |
Add(String, Object, Boolean) |
Registers a property using the specified name and child visibility. |
Registers a new property using the specified name.
public:
void Add(System::String ^ name, System::Object ^ property);
public void Add(string name, object property);
member this.Add : string * obj -> unit
Public Sub Add (name As String, property As Object)
Parameters
- name
- String
The name of the property.
- property
- Object
The object that represents the property.
Applies to
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Registers a property using the specified name and child visibility.
public:
void Add(System::String ^ name, System::Object ^ property, bool onlyVisibleToPublicChildren);
public void Add(string name, object property, bool onlyVisibleToPublicChildren);
member this.Add : string * obj * bool -> unit
Public Sub Add (name As String, property As Object, onlyVisibleToPublicChildren As Boolean)
Parameters
- name
- String
The name of the property.
- property
- Object
The object that represents the property.
- onlyVisibleToPublicChildren
- Boolean
A value that determines whether this property is visible to the children of the owning activity.
Applies to
.NET Framework 4.8.1 и други версии
Продукт | Версии |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: