Microsoft.VisualStudio.Project.Output.get_RootRelativeURL C# (CSharp) Method

get_RootRelativeURL() public method

public get_RootRelativeURL ( string &pbstrRelativePath ) : int
pbstrRelativePath string
return int
        public virtual int get_RootRelativeURL(out string pbstrRelativePath)
        {
            pbstrRelativePath = String.Empty;
            object variant;
            // get the corresponding property

            if(ErrorHandler.Succeeded(this.get_Property("TargetPath", out variant)))
            {
                string var = variant as String;

                if(var != null)
                {
                    pbstrRelativePath = var;
                }
            }

            return VSConstants.S_OK;
        }