private string GetName()
        {
            string name = null;

            ErrorHandler.ThrowOnFailure(_pane.GetName(ref name));
            return(name);
        }
Exemple #2
0
        public int GetName(ref string pbstrPaneName)
        {
            var result = target.GetName(ref pbstrPaneName);

            if (ErrorHandler.Failed(result))
            {
                throw new Win32Exception(result);
            }

            return(result);
        }