Microsoft.VisualStudio.Project.NodeProperties.GetComponentName C# (CSharp) Method

GetComponentName() public method

Get the Caption of the Hierarchy Node instance. If Caption is null or empty we delegate to base
public GetComponentName ( ) : string
return string
        public override string GetComponentName()
        {
            string caption = this.Node.Caption;
            if(string.IsNullOrEmpty(caption))
            {
                return base.GetComponentName();
            }
            else
            {
                return caption;
            }
        }