Home > @microsoft/api-extractor-model > ApiItem > getScopedNameWithinPackage

ApiItem.getScopedNameWithinPackage() method

This returns a scoped name such as "Namespace1.Namespace2.MyClass.myMember()". It does not include the package name or entry point.

Signature:

getScopedNameWithinPackage(): string;

Returns:

string

Remarks

If called on an ApiEntrypoint, ApiPackage, or ApiModel item, the result is an empty string.