StringValue.Implicit Operator
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
Implicit(String to StringValue) |
Implicitly converts the specified String value to a StringValue object. |
Implicit(StringValue to String) |
Implicitly converts the specified value to a String value. |
Implicit(String to StringValue)
Implicitly converts the specified String value to a StringValue object.
public static implicit operator DocumentFormat.OpenXml.StringValue (string value);
public static implicit operator DocumentFormat.OpenXml.StringValue (string? value);
static member op_Implicit : string -> DocumentFormat.OpenXml.StringValue
Public Shared Widening Operator CType (value As String) As StringValue
Parameters
- value
- String
The specified value.
Returns
A new StringValue instance with the value.
Applies to
Implicit(StringValue to String)
Implicitly converts the specified value to a String value.
public static implicit operator string (DocumentFormat.OpenXml.StringValue xmlAttribute);
public static implicit operator string? (DocumentFormat.OpenXml.StringValue? value);
static member op_Implicit : DocumentFormat.OpenXml.StringValue -> string
static member op_Implicit : DocumentFormat.OpenXml.StringValue -> string
Public Shared Widening Operator CType (xmlAttribute As StringValue) As String
Public Shared Widening Operator CType (value As StringValue) As String
Parameters
- xmlAttributevalue
- StringValue
Returns
The converted value. Returns null
when value
is null
.