ExecutionProperties.Add 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.
Registers a new property.
Overloads
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. |
Add(String, Object)
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
Add(String, Object, Boolean)
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om