Partager via


StringValue.FromString Method

Returns a new StringValue object created from String.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function FromString ( _
    value As String _
) As StringValue
'Usage
Dim value As String
Dim returnValue As StringValue

returnValue = StringValue.FromString(value)
public static StringValue FromString(
    string value
)

Parameters

  • value
    Type: System.String
    A String value to create a new StringValue object from.

Return Value

Type: DocumentFormat.OpenXml.StringValue
A StringValue that corresponds to the value parameter.

See Also

Reference

StringValue Class

StringValue Members

DocumentFormat.OpenXml Namespace