private string GetName() { string name = null; ErrorHandler.ThrowOnFailure(_pane.GetName(ref name)); return(name); }
public int GetName(ref string pbstrPaneName) { var result = target.GetName(ref pbstrPaneName); if (ErrorHandler.Failed(result)) { throw new Win32Exception(result); } return(result); }