public string GetPropertyValue(string propertyName) { var command = string.Format("{0}.{1};", DocumentReference, propertyName); if (propertyName == Document.ERROR_PROPERTY_NAME) { return(ClientPort.WriteAndReadIgnoreError(command)); } return(ClientPort.WriteAndRead(command)); }