Partager via


IVsProjectSecrets.GetInvalidCharactersFrom(String) Method

Definition

Gets the set of distinct characters from the proposed secret name that would be disallowed.

public:
 System::Collections::Generic::IReadOnlyCollection<char> ^ GetInvalidCharactersFrom(System::String ^ name);
public System.Collections.Generic.IReadOnlyCollection<char> GetInvalidCharactersFrom (string name);
abstract member GetInvalidCharactersFrom : string -> System.Collections.Generic.IReadOnlyCollection<char>
Public Function GetInvalidCharactersFrom (name As String) As IReadOnlyCollection(Of Char)

Parameters

name
String

The candidate name for the secret. Must not be null, but may be empty.

Returns

The set of characters found in name that are reserved and not allowed for use.

Exceptions

Thrown if name is null.

Applies to