In This Article

ISimpleName Interface

Provides the base requirements of a simple name with optional type arguments, which is a component of an IQualifiedName.

public interface ISimpleName

Properties

HasTypeArguments

Gets whether the identifier has at least one type argument.

bool HasTypeArguments { get; }

Property Value

System.Boolean:

true if the identifier has at least one type argument; otherwise, false.

Text

Gets the text value of the identifier.

string Text { get; }

Property Value

System.String:

The text value of the identifier.

TypeArguments

Gets the collection of optional generic type arguments for the identifier.

IList<IQualifiedName> TypeArguments { get; }

Property Value

System.Collections.Generic.IList<IQualifiedName>:

The collection of optional generic type arguments for the identifier.

Methods

Clone()

Returns a deep clone of the object.

ISimpleName Clone()

Returns

ISimpleName:

The object that was created.