共用方式為


StringValue.Implicit Operator

Definition

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 nullwhen value is null.

Applies to