FormContext.RenderedField 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.
Overloads
RenderedField(String) |
Returns a value that indicates whether the specified field has been rendered in the form. |
RenderedField(String, Boolean) |
Sets a value that indicates whether the specified field has been rendered in the form. |
RenderedField(String)
Returns a value that indicates whether the specified field has been rendered in the form.
public bool RenderedField (string fieldName);
member this.RenderedField : string -> bool
Public Function RenderedField (fieldName As String) As Boolean
Parameters
- fieldName
- String
The field name.
Returns
true if the field has been rendered; otherwise, false.
Applies to
RenderedField(String, Boolean)
Sets a value that indicates whether the specified field has been rendered in the form.
public void RenderedField (string fieldName, bool value);
member this.RenderedField : string * bool -> unit
Public Sub RenderedField (fieldName As String, value As Boolean)
Parameters
- fieldName
- String
The field name.
- value
- Boolean
true to specify that the field has been rendered in the form; otherwise, false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for