Freigeben über


DName.MakeValid(String, Boolean) Method

Definition

Takes a name and makes it into a valid DName. If the name contains all spaces, an underscore is prepended to the name.

public static Microsoft.PowerFx.Core.Utils.DName MakeValid(string strName, out bool fModified);
static member MakeValid : string * bool -> Microsoft.PowerFx.Core.Utils.DName
Public Shared Function MakeValid (strName As String, ByRef fModified As Boolean) As DName

Parameters

strName
String
fModified
Boolean

Whether it had to be changed to be a valid DName.

Returns

Applies to