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.StringValuePublic Shared Widening Operator CType (value As String) As StringValueParameters
- 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 -> stringstatic member op_Implicit : DocumentFormat.OpenXml.StringValue -> stringPublic Shared Widening Operator CType (xmlAttribute As StringValue) As StringPublic Shared Widening Operator CType (value As StringValue) As StringParameters
- xmlAttributevalue
- StringValue
Returns
The converted value. Returns nullwhen value is null.