OpenApiString Constructors
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
OpenApiString(String) |
Initializes the OpenApiString class. |
OpenApiString(String, Boolean) |
Initializes the OpenApiString class. |
OpenApiString(String, Boolean, Boolean) |
Initializes the OpenApiString class. |
OpenApiString(String)
Initializes the OpenApiString class.
public OpenApiString (string value);
new Microsoft.OpenApi.Any.OpenApiString : string -> Microsoft.OpenApi.Any.OpenApiString
Public Sub New (value As String)
Parameters
- value
- String
Applies to
OpenApiString(String, Boolean)
Initializes the OpenApiString class.
public OpenApiString (string value, bool isExplicit);
new Microsoft.OpenApi.Any.OpenApiString : string * bool -> Microsoft.OpenApi.Any.OpenApiString
Public Sub New (value As String, isExplicit As Boolean)
Parameters
- value
- String
- isExplicit
- Boolean
Used to indicate if a string is quoted.
Applies to
OpenApiString(String, Boolean, Boolean)
Initializes the OpenApiString class.
public OpenApiString (string value, bool isExplicit, bool isRawString);
new Microsoft.OpenApi.Any.OpenApiString : string * bool * bool -> Microsoft.OpenApi.Any.OpenApiString
Public Sub New (value As String, isExplicit As Boolean, isRawString As Boolean)
Parameters
- value
- String
- isExplicit
- Boolean
Used to indicate if a string is quoted.
- isRawString
- Boolean
Used to indicate to the writer that the value should be written without encoding.