Microsoft.VisualStudio.Project.DocumentManager.GetOwnerCaption C# (CSharp) Method

GetOwnerCaption() protected method

protected GetOwnerCaption ( ) : string
return string
        protected string GetOwnerCaption()
        {
            Debug.Assert(this.node != null, "No node has been initialized for the document manager");

            object pvar;
            ErrorHandler.ThrowOnFailure(this.node.GetProperty(this.node.Id, (int)__VSHPROPID.VSHPROPID_Caption, out pvar));

            return (pvar as string);
        }