CSharpProcedural.

ValidateMemberName(string, int, int, bool) Method

Summary

Converts the specified sub-string into a valid member name by skipping any invalid characters or replacing them with underscores.

Syntax

public static string ValidateMemberName(string name, int startIndex, int endIndex, bool replaceWithUnderscores = false)

Parameters

Name Type Description
name string
startIndex int
endIndex int
replaceWithUnderscores bool

Return Value

Type Description
string